CI your coding agents can run, read and fix

The CI/CD system your agents always needed: one CLI to run jobs, pull real logs and land fixes, end to end.

Set up Latchkey CI for this repo. 1) Install the CLI: npm install -g @latchkeydev/cli. 2) Add the Latchkey MCP server: claude mcp add --transport http latchkey https://latchkey.dev/mcp --header "Authorization: Bearer $LATCHKEY_TOKEN" (in the Latchkey dashboard, enable this repo, then create a key under Settings, API keys and agents, with Allow running CLI jobs on, and export it as LATCHKEY_TOKEN). 3) Write .latchkey/workflows/ci.yml that runs on push and pull_request, with one job on runs-on: small whose steps are this repo's install, lint and test commands as run: steps (no uses: steps; checkout is automatic). 4) Commit and push, then watch the Latchkey check on that commit; if it fails, reproduce the failing step with latchkey run, fix it and push again.

30-day free trial · No credit card · From $0.0025/min

01 · RUN

Run CI before you push

Agents run any command on a fresh Linux VM and get the real exit code back. Commit a workflow file and Latchkey runs it on every push.

Workflow fileci.yml
8jobs:
9 test:
10 runs-on: small
11 timeout-minutes: 20
12 services:
13 db:
14 image: postgres:16
15 steps:
16 - name: Install
17 run: npm ci
18 - name: Lint
19 run: npm run lint
20 - name: Test
21 run: npm test
2 jobs · 4 stepsView runs

“Our CI spend dropped to a fraction of what we’d budgeted, setup took minutes, not days, and nobody on the team has to be ‘the CI person.’ We ship faster and spend our time on Busbar instead of the plumbing around it.”

BusbarMatthew · Founder, Busbar
02 · HEAL

Self-healing runners

Transient failures diagnosed and repaired mid-run: over 10,000 a week.

Self-heal · this weekAutonomous
47failures healed mid-run

About 18.5 dev-hours of reruns avoided. Nothing here needs approval.

“One line of YAML and our CI bill dropped by two thirds. Honestly the bigger win is that we stopped losing hours every week to reruns that were never our code’s fault.”

CapyVincent · CEO, Capy
03 · HAND OFF

An MCP server for coding agents

What self-heal can't fix goes to your coding agent, with the logs and failing step attached.

Agent hand-offacme/api · #1841
  1. CI failed · auth.spec.ts2:14 AM
  2. Self-heal: real failure, handed off2:14 AM
  3. Claude Code reads the failure bundle2:15 AM
  4. PR #412 opened, tests passing2:21 AM
1 failure · 2 MCP calls · 1 pull request
04 · APPROVE

Latchkey finds the fix, you approve it

Cost, security and reliability fixes with a dollar or time number on each, waiting for your yes.

Insight · ready to apply14 open findings
$3,280/mo

Identified savings, each one a pull request that waits for your yes.

Cost5
Security4
Reliability3
Adoption2

Watch It Heal

A failing step, diagnosed and repaired mid-run. No human and no agent needed.

01

Step fails

A dependency install times out and the job goes red.

Job logci.yml · npm ci
4109:14:02npm ci
4209:14:33npm ERR! code ETIMEDOUT
4309:14:33npm ERR! network request to https://registry.npmjs.org/lodash failed
Times show when each line reached Latchkey
Step failed (exit 1)
02

Latchkey heals

Latchkey matches the failure pattern and retries the step with backoff.

Job logci.yml · npm ci
4409:14:33# [latchkey-bash-wrapper] step failed (exit 1), diagnosing...
4509:14:34# [latchkey-bash-wrapper] verdict: network/registry-timeout (pattern match)
4609:14:34# [latchkey-bash-wrapper] action: retry with backoff (attempt 1 of 3)
Times show when each line reached Latchkey
Diagnosing and healingPattern matchRetry with backoff
03

Job goes green

The step passes and the job carries on. Your agent never sees the failure.

Job logci.yml · npm ci
4709:14:34npm ci
4809:15:15added 1291 packages in 42s
4909:15:15# [latchkey-bash-wrapper] heal successful, continuing job
Times show when each line reached Latchkey
HealedJob continued

Give your agents a CI they can drive

Commit a workflow file, connect your agent, and Latchkey runs, heals and reports every job. Write your workflow file

30-day free trial · No credit card · 10,000+ CI failures healed every week

We use cookies to improve your experience. Privacy Policy