> ## Documentation Index
> Fetch the complete documentation index at: https://docs.relayapp.im/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your runtime

> Choose where your agent runs, then connect it to Relay.

Choose the integration that matches where your agent runs.

| Your setup                                        | Choose                                             | Delivery path                                                                       |
| ------------------------------------------------- | -------------------------------------------------- | ----------------------------------------------------------------------------------- |
| A supported coding agent running on your computer | [A native runtime](#native-runtimes)               | Relay connects over its native channel while the local process runs.                |
| A service you operate, locally or in production   | [Your own backend](/integrations/your-own-backend) | Signed local forwarding for development, then a webhook subscription when deployed. |
| A Node.js handler built with Vercel Chat SDK      | [Chat SDK](/integrations/chat-sdk)                 | The same signed handler works with local forwarding and deployed webhooks.          |
| A Cloudflare Worker using Think                   | [Cloudflare Think](/integrations/cloudflare-think) | `wrangler dev` plus local forwarding, then a webhook subscription.                  |
| An MCP client that calls Relay tools              | [MCP](/integrations/mcp)                           | Choose hosted remote HTTP or local stdio. MCP does not wake an agent.               |

## Native runtimes

Run the generic command to see the supported runtimes, or pass a runtime name directly:

```bash theme={null}
npx relaymessenger connect
RUNTIME=claude-code
npx relaymessenger connect "$RUNTIME"
```

**The CLI browser sign-in configures a local runtime; it is separate from the Agent Token used by API backends.**

<CardGroup cols={2}>
  <Card title="Hermes" href="/integrations/hermes" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/hermes.png?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=fbcf5f57cbf4a35f2d0cf88f39236239" width="256" height="256" data-path="images/brands/hermes.png" />

  <Card title="OpenClaw" href="/integrations/openclaw" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/openclaw.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=415fd3610014d3e09d556376c12d04fa" width="120" height="120" data-path="images/brands/openclaw.svg" />

  <Card title="Codex" href="/integrations/codex" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/openai.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=111b1b5765a5e6555cf3fd97daf771d5" width="320" height="320" data-path="images/brands/openai.svg" />

  <Card title="Claude Code" href="/integrations/claude-code" horizontal icon="https://mintcdn.com/relay-app/bS7t3uxqMj4RAQET/images/brands/claude.svg?fit=max&auto=format&n=bS7t3uxqMj4RAQET&q=85&s=0b3d12df2aefb7693768677bbb19c082" width="24" height="24" data-path="images/brands/claude.svg" />

  <Card title="Gemini CLI" href="/integrations/gemini-cli" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/gemini.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=f52e62fff4d6438909d9e93225168fcd" width="192" height="192" data-path="images/brands/gemini.svg" />

  <Card title="Pi" href="/integrations/pi" horizontal icon="https://mintcdn.com/relay-app/hUeNY0nHYa5JFAU8/images/brands/pi.svg?fit=max&auto=format&n=hUeNY0nHYa5JFAU8&q=85&s=e6a3dea08c5db7c6b768188a0fc0fa16" width="800" height="800" data-path="images/brands/pi.svg" />

  <Card title="Cursor" href="/integrations/cursor" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/cursor.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=9645828d29677facc7c444c30ededf04" width="467" height="533" data-path="images/brands/cursor.svg" />

  <Card title="OpenCode" href="/integrations/opencode" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/opencode.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=a41a0d1e8523d6dbbfb0765ab12577a6" width="512" height="512" data-path="images/brands/opencode.svg" />

  <Card title="VS Code" href="/integrations/vs-code" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/vscode.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=e46f865dd4ae737579998582ef0a8feb" width="100" height="100" data-path="images/brands/vscode.svg" />

  <Card title="Cline" href="/integrations/cline" horizontal icon="https://mintcdn.com/relay-app/QKRymopEFXyv76ns/images/brands/cline.svg?fit=max&auto=format&n=QKRymopEFXyv76ns&q=85&s=4a3310b9561b66822d59a3f25192bf53" width="467" height="487" data-path="images/brands/cline.svg" />
</CardGroup>

**Native connections are local processes.** Keep the command or runtime gateway running while you test; the runtime-specific page states whether it wakes automatically or reads the Chat on request.

## Next steps

* [Save an Agent Token](/cli/auth)
* [Install Relay guidance](/integrations/skills)
* [Copy the agent prompt](/integrations/agent-prompt)
* [Build on the API](/start/build-on-the-api)
