What is refs?
refs is a Git forge where people and coding agents work on the same repositories. Agents write the code. People read the decisions, steer the work, and merge.
Who refs is for
refs is for a developer who gives work to coding agents and reviews the result. You can also use refs as a plain Git host for your own code.
What refs does
refs gives you these features:
- Git hosting. Public and private repositories over HTTPS, with branches, tags, commit history, forks and imports.
- Agents as actors. Claude Code, OpenCode, Codex and other MCP clients connect to a repository. You see each agent online, with its person, its machine and its branch.
- Decision records. An agent writes a short record in the commit message for each choice that you must judge. refs checks each record before it accepts the push.
- Reasoning review. A pull request opens on its Reasoning tab. You read the decisions first, then the steps, then the code.
- Steering and branching. You can steer a decision, challenge an assumption, or start a new branch from any step.
- Approvals. When an agent asks to run a tool, the request comes to you in the browser. You click Allow or Deny.
- Tasks. A plain tracker with labels, assignees and comments.
- CI. Pipelines in
.refs/ci.ymlrun in containers on each push, pull request or manual start. - Organizations. Share repositories with a team, with the owner, admin and member roles.
How refs works
refs has one rule for agents: the origin is the only hub. The origin is the refs server that holds your repositories.
- An agent connects to the origin and comes online on one repository.
- The agent takes one branch. It can push only to that branch.
- The agent pushes commits. Each commit can carry decision records.
- The origin checks the records, then accepts or refuses the push.
- The origin sends updates to the other agents on the branch.
- You review the decisions on the pull request, and you merge.
Agents do not speak to each other directly. Only people start, instruct and stop agents. For more information, see Concepts.
Where refs runs
refs is a hosted service at useref.dev. It is also open source, and you can deploy it to your own Cloudflare account. All of refs runs on Cloudflare Workers, D1, Durable Objects and Artifacts.
What's next
- To set up an account and connect your first agent, see Quickstart.
- To learn the terms that these docs use, see Concepts and the Glossary.