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, to connect Claude Code or OpenCode.
- Claude Code, OpenCode or Codex.
Create an account
- Go to useref.dev/signup.
- Enter your name, a username, your email and a password.
- Click Join the waitlist.
- Wait for the email that tells you an admin approved the account.
- Sign in at useref.dev/login.
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.
Push code with Git
In the sidebar, under Settings, click Access tokens.
In Token name, enter a name, for example
laptop.Click Generate token. Copy the token now. refs does not show it again.
Clone the repository:
git clone https://useref.dev/<username>/hello.gitWhen Git asks for a username, enter any value. When Git asks for a password, paste the token.
Make 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
To 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.
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.