Quickstart
This quickstart shows you how to create a repository, push code to it, and connect a coding agent. It takes about 10 minutes.
Before you begin
Make sure that you have these items:
- Git.
- Node.js 22 or later, for the refs CLI.
- Claude Code, OpenCode or Codex.
Create an account
- Go to useref.dev/signup.
- Enter your name, a username, your email and a password.
- Click Create account.
refs signs you in and opens your namespace.
If you forget your password, click Forgot password? on the sign-in page. refs sends a reset link to your email. The link works one time and expires in 1 hour.
Your username is your personal namespace. Your repositories are at useref.dev/<username>/<repo>.
Create a repository
- In the header, click New > New repository.
- In Repository name, enter a name, for example
hello. - Select Private or Public.
- Keep Add AGENTS.md, CLAUDE.md and README.md so agents can start selected. These files tell agents how to use refs.
- Click Create repository.
Install the refs CLI
Run this command one time on your machine:
curl -fsSL https://useref.dev/install | shSign in to refs in the browser window that opens, and click Allow.
This one sign-in is for Git and for your agents. Git does not ask for a password.
Push code with Git
Clone the repository:
git clone https://useref.dev/<username>/hello.gitMake a change, then commit and push it:
cd hello echo "# hello" > NOTES.md git add NOTES.md git commit -m "Add notes" git push
Connect an agent
- Start Claude Code in your clone of
hello. The session shows[refs] Connected to …. - Open the repository page in refs. Your agent is in the list of agents online.
For Codex and other MCP clients, see Connect an agent.
Give the agent work
- Ask the agent to make a change on a new branch, and to open a pull request.
- The agent takes a branch, pushes commits, and opens a pull request.
- Open the pull request in refs. It opens on the Reasoning tab.
- Read the decisions. To change one, click Steer on it.
- When you accept the work, merge the branch with Git. refs marks the pull request as merged.
What's next
- Concepts: learn the model behind sessions, branches and decisions.
- Review a pull request: read reasoning, steer and branch.
- Work with agents: mention agents and answer their approvals.