Agent Foreman
Coming soon · free · Apache-2.0

Make your coding agent go further.

Agent Foreman hands the busywork to plain code, the builds and tests to your other machines, and the drafts and second opinions to local models and partner agents. Your agent stays in charge: it grades every finding, reads every diff and does the final polish and merge.

See how it works GitHub repo: coming soon

For people who run local LLMs, tinker with local AI, and build in hybrid cloud-and-local setups. Works alongside Claude Code, Codex CLI and other coding agents.

What it is

One binary

A single Go program, command line only. No GUI, no installer service.

No daemon, no port

Its worker and watcher run only when you start them, and it never opens a listening port.

Set up by your agent

Your coding agent reads the README, interviews you about what you've got, writes the config and installs the pieces. Hand-editing is optional.

Free and open

Apache-2.0. An enthusiast project, shared for fun. No account, no telemetry, no cloud of ours.

Three ways your agent goes further

1 · Your hardware

Compiles, test suites, builds and fuzzing run on your other machines over SSH: a spare desktop, an ARM laptop, a home server. Your agent asks for "the service suite"; Agent Foreman puts it on a free machine and hands back the verdict.

2 · Deterministic code

Queues, merges, test routing, review packing, secret scans, ledgers and machine slots are plain code, not model calls. Your agent spends no tokens on bookkeeping.

3 · Partner agents

Local-model drafts, prove-it bug hunts, security reviews and red-teams by other cloud models, and research with citations. Then a review loop, and your agent does the final polish.

How work flows through Agent Foreman Your coding agent sends work to Agent Foreman. Agent Foreman routes it to your machines, local models and partner agents. Results come back to Agent Foreman, which returns verdicts, findings and drafts to your agent for grading, final polish and merge. Your agent grades, polishes, merges Agent Foreman queues, routes, packs Your machines (SSH) Local models Partner agents
Your agent → Agent Foreman → your machines, local models and partner agents → back to your agent for grading, the final polish and the merge.

The toolbox

Names may change before the public release.

Land

Lands commits in a scratch worktree, then builds, vets, tests and writes a verdict. Suites go to whichever machine is free, and a sick host is reported separately from a failing test.

Queue, worker, status

A job queue run by a worker with no listening port. Status shows the queue, the worker, and who holds each machine slot.

Review

Plans, launches and triages outside reviews of a commit range by partner models. A packer builds each review's input with a secret scan and a deny-list, so private files and secrets never leave your machine.

Search

Local code search so your agent burns fewer tokens hunting: a symbol map (definitions and callers), grep, and a small local embedding-plus-reranker model pair.

Local drafting

A quantized local model on a consumer GPU writes tests-only coverage, runs prove-it bug hunts ("write a failing test or report nothing"), and drafts code and fix passes. A static safety gate checks everything before any of it runs, only in the hours and GPU headroom you allow, and it yields when you start a game.

The numbers, from one real setup

Measured on one developer's hybrid setup: a desktop with a 12 GB GPU, a spare x64 box, an ARM laptop, and a few cloud accounts. All of it is work done somewhere other than the primary agent.

Work routed through Agent Foreman, with dates
WhatCountPeriod (2026)
GLM review, red-team and bug-hunt runs on a flat plan of about $151 a year542Sep 22 – Nov 28 (about 98 hours of agent time)
Meta Muse reviews and red-teams317Nov 16 – Dec 1 (about two weeks)
Local-model jobs on one consumer GPU, $0 on any meter409Nov 18 – Dec 1 (294 coverage, 67 prove-it hunts, 47 drafts and fix passes)
Lines of Go tests written by the local model, merged after grading~77,800Nov 5 – Dec 1 (42 commits, 188 test files)
Test-suite runs moved off the dev box to two spare machines over SSH2,732Nov 5 – Dec 1 (about 345 hours of test time)
Local coverage jobs accepted after grading, one measured week70%Nov 17 – 24 (104 of 149; about 88% after a gate fix)
Muse review findings accepted by the grading agent, one measured week83%Nov 17 – 24 (of 76 findings)

The honest small print

  • Delegation isn't free. Writing a brief, reading a report and reviewing a diff cost your primary agent real calls. So Agent Foreman only sends out work whose result is cheap to check: a failing test, a finding with a file and line, a citation.
  • Reviewers miss things, so every reviewer is graded. One day a local model's draft shipped a test file that didn't even parse. Both outside reviewers missed it; a plain test run caught it. That's why your agent always runs the tests, and why security-critical code gets two reviews.
  • No "X% saved" claim. We have no clean counterfactual, so we show counts of work done elsewhere, not a percentage.
  • Your mileage will vary. These numbers come from one setup. Yours depends on your hardware and accounts.

Bring what you've got

Machines

Any machine your agent can reach over SSH with a key becomes a build or test slot.

Cloud agents

Partner models through their API or CLI: for example a bridge to Meta Muse, Codex CLI, or GLM through Z.ai's Anthropic-compatible endpoint.

Local models

Sized to your hardware: several local draft agents if you have the GPUs, or a small embedding-and-reranker pair for search.

The interview

Your agent installs and configures each piece, and smooths over the rough parts: drivers, quantizations, SSH keys, endpoint settings.

Getting started will look something like this. The command is foreman:

# 1. Put the single binary on your PATH, then ask your agent:
"Read the Agent Foreman README and set it up for me."
# 2. Your agent interviews you, writes the config, then:
foreman status

Already have Ruby's foreman? The Ruby gem of the same name (a Procfile manager) also installs a foreman command. If you use it, put Agent Foreman earlier on your PATH or give one of them an alias.

Privacy

Your code stays on your machines, unless a route you set up sends out a packed, secret-scanned fraction of it. No telemetry, no Agent Foreman cloud. Partner outputs are treated as data, never as instructions.

Extensible

It's designed so reviewers, routes and machines are config entries: add a new model or box without touching code.

What it is not

  • Not a hosted service. There's no account and nothing to sign up for.
  • Not an agent itself. It extends the coding agent you already use.
  • No GUI, no background service, no open ports.

Download

Not released yet. The source, the README and binaries will appear on GitHub at launch, each with a SHA-256 checksum next to it.

When it's out: check a download with sha256sum <file> on Linux, shasum -a 256 <file> on macOS, or Get-FileHash <file> in PowerShell, and compare it with the checksum listed here.