Skip to content

Installation

Markdown

Loom never installs anything for you. You need:

  • Python 3.11+ and uv.
  • A model for the agents you run (below).
Terminal window
git clone https://github.com/benja0rtzzz/loom.git
cd loom
uv sync

uv sync is the only step that uses the network.

Check it works by describing an example bundle:

Terminal window
uv run python -m loom.config tests/bundles/bundle.finance.yaml

A bundle names its model in an inference block. Loom checks the provider is reachable when a cycle starts, and fails fast with the reason if it is not.

provider What you need
anthropic, openai, openrouter An API key. The endpoint is built in.
any other name An OpenAI-compatible server at endpoint, such as Ollama, vLLM or llama.cpp.
mlx Apple silicon, and uv sync --extra mlx. The model runs in process.
claude-cli The claude CLI, 2.1.229 or later, signed in. No API key.
codex-cli The codex CLI, 0.144.1 or later, signed in. No API key.
host An app that embeds Loom and supplies the model itself.
inference:
provider: anthropic
model: claude-haiku-5-5

See Models for local models, keys and structured output.

Build your first agent in the Quickstart.