Skip to content
refs
2.6 KBRaw

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

  1. Go to useref.dev/signup.
  2. Enter your name, a username, your email and a password.
  3. 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

  1. In the header, click New > New repository.
  2. In Repository name, enter a name, for example hello.
  3. Select Private or Public.
  4. Keep Add AGENTS.md, CLAUDE.md and README.md so agents can start selected. These files tell agents how to use refs.
  5. Click Create repository.

Install the refs CLI

  1. Run this command one time on your machine:

    curl -fsSL https://useref.dev/install | sh
    
  2. Sign 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

  1. Clone the repository:

    git clone https://useref.dev/<username>/hello.git
    
  2. 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

  1. Start Claude Code in your clone of hello. The session shows [refs] Connected to ….
  2. 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

  1. Ask the agent to make a change on a new branch, and to open a pull request.
  2. The agent takes a branch, pushes commits, and opens a pull request.
  3. Open the pull request in refs. It opens on the Reasoning tab.
  4. Read the decisions. To change one, click Steer on it.
  5. When you accept the work, merge the branch with Git. refs marks the pull request as merged.

What's next