An agentic software factory that drives Claude Code from an issue specification validated by the operator to a pull request that carries its own proof, on any repository, with a live cockpit to follow and steer each step.
Agent Factory takes an issue whose specification the operator has validated and carries it to a pull request. One agent writes acceptance checks that prove each criterion from the outside. The factory runs them on the base, where they must fail by assertion, then freezes them by hash. Another agent implements the change, and a gate in its Stop hook holds the session until the frozen checks, lint and tests pass. The factory runs the gate again in its own sandbox, an agent in a fresh context reviews the change against the spec and the checks, and the pull request opens with the evidence before and after. The merge happens on the operator’s order. A failure gets two corrections in the same session, then one fresh restart, and after that the issue waits for a person, with the reason. Everything the factory does is an event appended to one SQLite log. The cockpit, the status command and the decisions of the daemons are projections of that log. Agents and check commands run in the operating system’s sandbox, away from credentials and from other projects. The factory reads the subscription’s usage and pauses before a limit. A demonstration plays a working week of two fictional teams with a fake Claude, with no account and no network. Agent Factory is the final version of an idea started in September 2025 with Claude Autopilot, which ran a project’s tasks one after the other through Claude Code with quality gates and a watchdog, and continued in 2026 with Claude Plan Execute. It is published under AGPL-3.0-only.
- Acceptance checks are written by one agent, proven to fail on the base by assertion, then frozen by hash before any code is written
- The implementing agent gets no instruction to verify itself. A gate in its Stop hook holds the session until the frozen checks, lint and tests pass
- The factory runs the gate again in its own sandbox, and an agent in a fresh context reviews the change against the spec and the checks
- A failure gets two corrections in the same session, then one fresh restart, then the issue waits for a person with the reason
- Every action is an event in one SQLite log. The cockpit and every decision of the daemons are projections of it
- Check commands run under sandbox-exec on macOS and bubblewrap on Linux, and agents in Claude Code's own sandbox, set up with the same deny lists
- A fake Claude plays scenario files, so the tests and the demonstration run the whole cycle with no account and no network
- The merge stays with the operator, or with an orchestrator agent within the autonomy the project delegates, each accepted gesture recorded with its actor and reason