Skip to content

BareCI docs

BareCI takes a pull request from its first push to its merge. It runs CI on fast machines of our own, lets agents run any test from their worktree, tests a live preview of the change with AI end-to-end Flows, gathers every reviewer’s findings into one list, and gives every pull request one explained answer to “is this ready to merge?”, posted as a GitHub check the merge queue trusts.

Agents use all of it through MCP and the bareci CLI; people get a dashboard. Setup is one command per repository.

  1. Getting started: bareci init sets a repository up, bareci run runs its tests on a BareCI machine.
  2. The pull request lifecycle: how the modules fit together.
  3. MCP setup: connect an agent.

Each step of the lifecycle is a module. A repository can use any subset; the Gate counts only what is on.

Module What it does
Runners GitHub Actions jobs on fresh machines, hot, warm or cold, under a hard spend cap
Runs Any command from a worktree, uncommitted changes included, on a fresh machine
Tests JUnit results kept, flaky tests flagged, shards balanced by duration
Flows End-to-end tests written as goals, recorded and replayed with no model in CI
Previews The change running at its own URL until its TTL, the next push or the merge
Reviews Every reviewer’s findings in one list, and the loop that answers each one
Gate BareCI: ready, one check with every reason a pull request is not ready
Deploys Deploy jobs on isolated on-demand machines
API budget Many agents on one repository without exhausting GitHub’s API limits

Every page is also Markdown: add .md to its URL (this page is /docs.md), or send Accept: text/markdown. /llms.txt indexes every page, and /llms-full.txt is all of them in one file. See Docs for agents.