Documentation
Anvil docs
Anvil reviews pull requests, runs CI and hosts repositories. Pick a quickstart; each takes about two minutes.
Code reviewGet your first reviewInstall the GitHub app, open a pull request. Done.
$ @anvil reviewCI runnersRun CI on AnvilChange one line, or let Anvil open the pull request.- runs-on: ubuntu-latest+ runs-on: anvil-4cpuAgentsConnect your agentClaude Code, Codex, Cursor or VS Code, signed in through the browser.$ claude mcp add --transport http anvil …/mcpGet started
IntroductionWhat Anvil does, how access works, and how to sign in.Quickstart: code reviewInstall the app, open a pull request, get a review. Two minutes.Quickstart: CI runnersChange runs-on to anvil-4cpu, or let Anvil open the pull request for you.Connect your agentOne command gives Claude Code, Codex, Cursor or VS Code your reviews, CI and workflows.
Guides
Add repositoriesInstall the GitHub app, turn reviews on for hosted repositories, mirror from GitHub, and turn reviews off.Move workflows to Anvil runnersThe pull request that switches runs-on: what changes, matrices, and going back.Host a repository on AnvilCreate, clone and push, issues, pull requests, merges, settings, collaborators and organisations.Use the pull request workspaceLayers, files, findings inline, Apply, summaries, Ask, and reviews that post as you.Block merges with pre-merge checksRules in plain language, judged on every review, and a required Anvil status.Teach Anvil your rulesRules your team teaches Anvil in pull requests, and how they're applied.Let Anvil change codeApply suggestions, @anvil fix, fix ci, tests, docstrings, recipes and CI autofix.Find failing, slow and flaky CIRun history, failure diagnosis, flaky jobs and tests, log search, monitors and runner sizing.Watch CPU and memoryLive CPU and memory of running jobs, compute history, and the public numbers endpoint.Invite your teamInvitations, access requests, collaborators and organisations.Run Anvil on your own serverInstall with Docker Compose, the first admin, backups and moving servers.
Reference
ConfigurationEvery .anvil.yaml key with its type, default and an example.CommandsEverything you can ask @anvil in a pull request comment.How reviews workWhen reviews run, what they read, full vs incremental, severities, budgets and the commit status.Runner sizes and labelsanvil-2cpu, 4cpu and 8cpu, caching, Docker builds, sticky volumes and limits.MCP serverAccess levels, what agents can do, and every tool, prompt and resource.Environment variablesEvery setting of a self-hosted Anvil, with its default.
More