aheadloop
Agentic verification infrastructure

Continuous verification for coding agents.

Verify code while agents work, coordinate execution across shared infrastructure, and carry trusted verification evidence into CI. Aheadloop runs your build, tests and linters on every change an agent makes, on your own machine or on workers you run, tells the agent what broke while it is still working, and checks the exact code once more before it says it is done.

Self-hosted · works with Claude Code, Codex and any CLI agent · early alpha

Fig. 1Two loopsIllustrative

Classic loop

verification after the work
agent waitswrite codecommitpushqueueCI runsread logs

With Aheadloop

verification during the work
agentchangecheckfeedbackdone = verifiedthen commit, PR and CI as usual
The outer loop is classic: the agent finishes, pushes, and waits for CI to report on a commit. Aheadloop adds an inner loop around the agent itself, so problems can be caught and fixed before anything is pushed. Your CI stays.
What changes

Same agent, same checks. Different moment.

Classic CIAheadloop
When checks runAfter a commit is pushedOn every change the agent makes
What is checkedA commitThe working copy, uncommitted files included
Who hears about a failureWhoever opens the pipelineThe agent, while it is still working
What “passed” meansThat commit passed, at some pointThis exact content passed, now
With several agentsJobs queue; the CI cannot tell which agent is waitingWaiting agents first, outdated work stopped, identical runs shared
Where it runsHosted or self-hosted runnersYour machine, where the code stays; or a server and workers you run

Aheadloop does not replace CI. It catches problems before the push, and aheadloop ci verify can check the exact commit inside your pipeline; branch protection and required status checks still decide what merges.

Principles
01

Checks follow the work

Every change is snapshotted, uncommitted files included, and verified in the background. No commit, no push, no waiting to start.

02

Agents don’t collide

One queue for every agent, on your machine or on the server. The agent that is blocked goes first, outdated work is dropped, identical checks in flight run once.

03

Done means verified

Before an agent finishes, the exact content is checked. A stale, missing or interrupted result never counts as a pass.

Evidence

Tested, with the tests named.

TestedOracle

passed gates in the local Docker end-to-end tests are re-verified by an independent fresh execution

test/e2e/e2e_test.go · test/e2e/reuse_test.go
Testedkill -9

a daemon killed during a verification restarts with the work marked interrupted, never passed

test/e2e/e2e_test.go
Testedexit 10

aheadloop ci verify refuses a checkout that is not exactly the commit it claims to be

internal/gitsource · internal/engine/ci_test.go
What is tested, and what is not →
Agents

Works with the agent you already use.

Claude Code

project hooks
aheadloop integration install claude-code

Codex

project hooks
aheadloop integration install codex

Any other agent

command line
aheadloop integration install generic
How the integration works →

Verify while your agents work.

Five commands on a machine with Docker.

Get started