# Coding workers

> Drive Claude Code, Codex or Loom's own coder in a git worktree, under Loom's gate.

Loom can run a coding agent as one of its capabilities. A **harness** hands a task to a coder that
edits files in a workspace, usually a git worktree, and reports what changed. No harness commits or
pushes: that stays with the code around it, and with you.

| Harness | What runs |
|---|---|
| **Claude Code** | The `claude` CLI, with Loom's plugin loaded so its session events reach Loom. |
| **Codex** | The `codex` CLI. |
| **Native** | Loom itself: a bundle whose capabilities are read, search, edit and run-tests, each through the gate, turning cycles until the tests that cover the change pass. |

The native coder is the strictest: every file it reads or writes is a proposal that Loom validated,
held to its worktree, and recorded.

## The dev loop

Loom's own development runs on this. A parent agent governs a goal; it spawns a **worker** per task
and a **reviewer** at the end. Each is its own bundle:

- [`bundle.devloop.yaml`](https://github.com/benja0rtzzz/loom/blob/main/tests/bundles/bundle.devloop.yaml): the parent
- [`bundle.devloop-worker.yaml`](https://github.com/benja0rtzzz/loom/blob/main/tests/bundles/bundle.devloop-worker.yaml): a worker
- [`bundle.devloop-reviewer.yaml`](https://github.com/benja0rtzzz/loom/blob/main/tests/bundles/bundle.devloop-reviewer.yaml): a blind reviewer
- [`bundle.native-coder.yaml`](https://github.com/benja0rtzzz/loom/blob/main/tests/bundles/bundle.native-coder.yaml): the native coder

## Keeping sessions

The `claude-cli` and `codex-cli` providers can keep a CLI session between calls
(`inference.session: keep`), so a worker resumes where it left off.