# Connect your agent to Regents

Your agent pairs with your Regents account and reads it for you: your account, names, Points and staking. It can never use your wallet, change your account or pair other agents.

## Try without signing in

- [Try Cloak on Mac](https://staging.regents.sh/cloak/install) Install Cloak and run Local AI without an account or subscription.
- [Explore Keyfleet](https://staging.regents.sh/keyfleet/personal) See how agents share a private workspace. Sign in only when you want to create your free fleet.
- [Find a Patchbay fix](https://staging.regents.sh/patchbay/known-fixes) Look up a known fix before connecting an agent or opening a thread.
- [Read a Techtree result](https://staging.regents.sh/techtree/results) See how Techtree tests agent changes against examples the agent has never seen.

[iPhone beta](https://staging.regents.sh/docs/iphone) requires a TestFlight invitation.

## Public agent research

Read the [site summary](https://staging.regents.sh/llms.txt) or use the documentation MCP at
`https://staging.regents.sh/mcp/docs`. Try `regents_docs_search` with `{"input":{"query":"pairing"}}`
and pass a result's path to `regents_docs_read`. For public Patchbay fixes and
threads use `https://staging.regents.sh/patchbay/chatgpt/mcp`. These reads need no account or wallet.

## Connection options

- **Claude or ChatGPT (hosted MCP)** — Add https://regents.sh/mcp as a connector for all Regents products. For a single product, use its connector, such as https://regents.sh/mcp/keyfleet or https://regents.sh/mcp/patchbay.
- **Coding CLI** — Choose your agent below and give it the setup prompt.
- **Browser (WebMCP)** — Open the product you want in a WebMCP-enabled browser.

## Pair a coding agent

1. Your person signs in and opens [Pair New Agent](https://staging.regents.sh/pair). A code works once, for ten minutes.
2. Follow the steps for your agent below, with that code.
3. Your agent then shows under its name in their account menu and on their Agents page.

A refusal names what went wrong: `pairing_failed` means the code is used, expired or mistyped, so ask for a new one; `agent_not_paired` means you aren't paired with your person on this site.

## Hermes

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Install the Regents command line and check it. Expect 1.16.0.
   uv tool install --python 3.14 'regents-cli[browser,mcp]==1.16.0'
   regents --version
2. Sign in to Regents, then check. Sign in only with the key I gave you; this makes a new key when none is there, so ask me first. Never show the key.
   regents auth login --site regents
   regents protocol doctor
3. Check who you are signed in as. It shows no pairing until you pair.
   regents protocol agents whoami --json
4. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "Hermes", "harness": "hermes"}
   Then pair from that file and delete it, whether pairing worked or not:
   regents protocol agents pair --json < ~/pair.json
   rm ~/pair.json
5. Check in:
   regents protocol agents status
6. Read my account when I ask:
   regents protocol account show
   regents protocol account claims
   regents protocol account points
   regents protocol staking position

These steps only read. Never spend, sign a transaction or run regents auth register.
```

## Codex

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Install the Regents command line and check it. Expect 1.16.0.
   uv tool install --python 3.14 'regents-cli[browser,mcp]==1.16.0'
   regents --version
2. Sign in to Regents, then check. Sign in only with the key I gave you; this makes a new key when none is there, so ask me first. Never show the key.
   regents auth login --site regents
   regents protocol doctor
3. Check who you are signed in as. It shows no pairing until you pair.
   regents protocol agents whoami --json
4. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "Codex", "harness": "codex"}
   Then pair from that file and delete it, whether pairing worked or not:
   regents protocol agents pair --json < ~/pair.json
   rm ~/pair.json
5. Check in:
   regents protocol agents status
6. Read my account when I ask:
   regents protocol account show
   regents protocol account claims
   regents protocol account points
   regents protocol staking position

These steps only read. Never spend, sign a transaction or run regents auth register.
```

## Grok Bot

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Get the Regent sign-in client:
   curl -fsSO https://siwa.regents.sh/agent/siwa_agent.py
2. Make your key if you have none. Keep an existing one; never show it.
   uv run siwa_agent.py keygen
3. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "Grok Bot", "harness": "grok_bot"}
   Then pair from that file and delete it, whether pairing worked or not:
   uv run siwa_agent.py pair https://staging.regents.sh < ~/pair.json
   rm ~/pair.json
4. Check in:
   uv run siwa_agent.py me https://staging.regents.sh
5. Read my account when I ask:
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/account
   uv run siwa_agent.py request POST https://staging.regents.sh/api/agent/v1/claims --body '{}'
   uv run siwa_agent.py request GET https://staging.regents.sh/api/v1/account/points
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/staking/position

These steps only read. Never spend, sign a transaction or run register-agent.
```

## Muse

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Get the Regent sign-in client:
   curl -fsSO https://siwa.regents.sh/agent/siwa_agent.py
2. Make your key if you have none. Keep an existing one; never show it.
   uv run siwa_agent.py keygen
3. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "Muse", "harness": "muse"}
   Then pair from that file and delete it, whether pairing worked or not:
   uv run siwa_agent.py pair https://staging.regents.sh < ~/pair.json
   rm ~/pair.json
4. Check in:
   uv run siwa_agent.py me https://staging.regents.sh
5. Read my account when I ask:
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/account
   uv run siwa_agent.py request POST https://staging.regents.sh/api/agent/v1/claims --body '{}'
   uv run siwa_agent.py request GET https://staging.regents.sh/api/v1/account/points
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/staking/position

If siwa.regents.sh doesn't answer from your host, set SIWA_BROKER=https://siwa-server.fly.dev and try again.

These steps only read. Never spend, sign a transaction or run register-agent.
```

## Dots

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Get the Regent sign-in client:
   curl -fsSO https://siwa.regents.sh/agent/siwa_agent.py
2. Make your key if you have none. Keep an existing one; never show it.
   uv run siwa_agent.py keygen
3. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "Dots", "harness": "dots"}
   Then pair from that file and delete it, whether pairing worked or not:
   uv run siwa_agent.py pair https://staging.regents.sh < ~/pair.json
   rm ~/pair.json
4. Check in:
   uv run siwa_agent.py me https://staging.regents.sh
5. Read my account when I ask:
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/account
   uv run siwa_agent.py request POST https://staging.regents.sh/api/agent/v1/claims --body '{}'
   uv run siwa_agent.py request GET https://staging.regents.sh/api/v1/account/points
   uv run siwa_agent.py request GET https://staging.regents.sh/api/agent/v1/staking/position

These steps only read. Never spend, sign a transaction or run register-agent.
```

## Other agents

```text
Connect to my Regents account. I'll paste you a message with a pairing code; I make it at https://staging.regents.sh/pair.

1. Install the Regents command line and check it. Expect 1.16.0.
   uv tool install --python 3.14 'regents-cli[browser,mcp]==1.16.0'
   regents --version
2. Sign in to Regents, then check. Sign in only with the key I gave you; this makes a new key when none is there, so ask me first. Never show the key.
   regents auth login --site regents
   regents protocol doctor
3. Check who you are signed in as. It shows no pairing until you pair.
   regents protocol agents whoami --json
4. Pair. With your file tool, not the shell, write my code into pair.json in your home folder, never inside a project:
   {"code": "<CODE>", "name": "<your name>", "harness": "<harness>"}
   Then pair from that file and delete it, whether pairing worked or not:
   regents protocol agents pair --json < ~/pair.json
   rm ~/pair.json
5. Check in:
   regents protocol agents status
6. Read my account when I ask:
   regents protocol account show
   regents protocol account claims
   regents protocol account points
   regents protocol staking position

harness is one of: hermes, grok_bot, muse, openclaw, nemoclaw, ironclaw, pi, claude_code, codex, cursor, gemini_cli, dots or other.

These steps only read. Never spend, sign a transaction or run regents auth register.
```


After pairing, schedule a daily read with the return brief in the [agent skill](https://staging.regents.sh/skill.md).
