● Pre-merge platform for agent-written code

From first push to merge, built for agents

BareCI runs CI on fast machines of our own, lets agents test from their worktree, tests every change against a live preview with AI Flows, gathers every reviewer’s findings into one list, and gives each pull request one answer to “is this ready to merge?”

$ bareci ready
  1. ✓runnersrequired jobs passed on this head
  2. ✓testsno new flaky tests
  3. ✓previewbuilt for this head
  4. …flowsreplaying flows against the preview
  5. ✗reviews1 open high finding · bareci findings
  6. ·gatenot ready: 1 blocking, 1 pending
An example verdict. Each reason names the command that fixes it.

The problem

Agents write the code. Everything after the commit was built for people.

Friction todayWhat it costs
CI queues on shared runners and installs dependencies on every runMinutes per push, money per minute
Agents can't run the real suite from their worktreeThey skip tests, or wait on CI to learn what a minute would tell them
End-to-end tests are brittle selectors, or absentUI changes merge untested
Reviews arrive from several bots and people, each in its own formatFindings get lost, fixed twice, or argued forever
“Is it ready?” means reading CI, threads, previews and the queue by handAgents poll; pull requests sit green but unmerged

The lifecycle, module by module

Each step is a module. Use any of them.

A repository turns on what it needs; the Gate counts only what is on.

01 / Runners

GitHub Actions jobs on fresh, fast machines

BareCI runs each GitHub Actions job on its own fresh machine with dependencies baked in, hot pickup in about a second and a hard monthly spend cap.

02 / Runs

Run the real suite from any worktree

bareci run sends a worktree, uncommitted changes included, to a fresh machine and streams the output back. No Actions minutes, no laptop CPU.

03 / Tests

Know which tests are flaky, slow, or worth splitting

BareCI keeps JUnit results from every job and run: flaky tests flagged, slowest tests ranked, and shards balanced by recorded duration.

04 / Flows

End-to-end tests written as goals, replayed exactly

Flows are end-to-end tests written as user goals in plain language. A model drives a real browser once; CI replays the recorded actions with no model call.

05 / Previews

Every change running at its own URL

A job keeps its machine and serves the app at its own URL until its TTL, the next push or the merge. Flows test it there and the Gate links it.

06 / Reviews

Every reviewer's findings in one list

BareCI gathers findings from review bots, people and webhooks into one deduplicated list. Agents fix or dispute each, and the answer goes back to the reviewer.

07 / Gate

One answer to “is this ready to merge?”

BareCI: ready is one GitHub check per pull request, green only when every enabled module agrees, listing each reason it is not and the fix.

08 / Deploys

Deploys on isolated, on-demand machines

Deploy jobs run on BareCI's on-demand machines from your default or listed branches only, with secrets handled as on GitHub-hosted runners and OIDC preferred.

09 / API budget

Many agents on one repository, one GitHub quota

Agents polling CI, reviews and the merge queue exhaust GitHub's API limits. BareCI answers from webhooks, so a waiting agent costs GitHub nothing.

Agents first, then people

One API, three clients

The /v1 JSON API, an MCP server and the bareci CLI do the same things. Every answer is structured and names the next action, so an agent never has to read a dashboard to know what to do. People get a dashboard over the same API.

  • Setup in one command: bareci init opens a pull request with everything it changed.
  • Tests before pushing: bareci run runs the worktree on a fresh machine.
  • Docs agents can read: /llms.txt, and every docs page as Markdown.
terminal
bareci init
bareci run -- bun test
git push
bareci ready --wait
bareci findings
bareci findings fix f_3

Safe and bounded by construction

Fresh machines, no credentials, a cap that holds

One machine per job

Every job, run and preview gets a fresh machine that is destroyed afterwards. No state carries over.

Nothing to steal

Machines have no cloud credentials, no SSH and no inbound network. Their one secret is spent before the job starts.

A hard monthly cap

Every organisation sets its own. The bill and the cap come from the same ledger, so they can never disagree.

Questions

What is BareCI?

A pre-merge platform for agent-written code. It takes a pull request from its first push to its merge: CI on fast machines, test runs from an agent's worktree, previews, AI end-to-end Flows, every reviewer's findings in one list, and one answer to whether the pull request is ready to merge.

Do I have to use every module?

No. A repository can use any subset, and the Gate counts only what is enabled.

How do agents use it?

Through an MCP server and the bareci CLI, which call the same JSON API. Every result is structured and names the next action. People get a dashboard over the same API.

How is it set up?

Run bareci init in a repository. It signs you in with a device code, checks the GitHub App, writes .bareci/config.yml and .bareci/image.sh from what it detects, points runs-on: at BareCI with a fallback, and opens a pull request with all of it.

Set up a repository in one command

Run bareci init. It opens a pull request with everything it changed, and bareci doctor checks each step.