# Installation

> Install Loom and connect a model.

Loom never installs anything for you. You need:

- **Python 3.11+** and **[uv](https://docs.astral.sh/uv/)**.
- **A model** for the agents you run (below).

## Install Loom

```sh
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:

```sh
uv run python -m loom.config tests/bundles/bundle.finance.yaml
```

## Choose a model

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. |

```yaml
inference:
  provider: anthropic
  model: claude-haiku-5-5
```

See [Models](/loom-site/guides/models/) for local models, keys and structured output.

## Next

Build your first agent in the [Quickstart](/loom-site/getting-started/quickstart/).