Install Loom
Loom requires Go 1.26.10 or later. In the directory containing your project’s go.mod, add the graph package.
go get github.com/masterkeysrd/loom/graphStarting from an empty directory? Run your first graph walks through creating a module, executing a node, and checking the result.
Add integrations when you need them
- To call a language model, choose a provider and follow its setup instructions. For example, OpenAI uses an API key and Ollama connects to a model running locally.
- To resume a workflow after a restart, configure a SQLite or PostgreSQL checkpointer.
Work on Loom itself
From the repository root, make install installs Go and documentation dependencies. Use make docs-serve to preview the Astro site and make docs to build it. Use Node.js 24 and npm to match the documentation build in CI.
Run the Go tests with make test and regenerate model profiles with make generate.