| title | Agent Relay for Cursor | ||
|---|---|---|---|
| description | Agent Relay connects Cursor Cloud Agents to self-hosted Coder workspaces. Cursor also refers to this self-hosted worker model as self-hosted machines. Developers keep using the Cursor client and cloud agent workflow they already know. The agent's tool calls run inside a Coder wor | ||
| product | Coder | ||
| section | ai-coder | ||
| source_url | https://coder.com/docs/ai-coder/agent-relay/cursor | ||
| fetched | 2026-09-26 | ||
| tags |
|
Note
Agent Relay for Cursor is in early access and is currently in closed preview with select customers.
Agent Relay connects Cursor Cloud Agents to self-hosted Coder workspaces. Cursor also refers to this self-hosted worker model as self-hosted machines. Developers keep using the Cursor client and cloud agent workflow they already know. The agent's tool calls run inside a Coder workspace on infrastructure you control instead of a Cursor-managed environment.
Cursor's agent orchestration and AI inference remain cloud-hosted. Coder doesn't proxy or observe model inference. Coder provides the workspace where the agent executes, and logs that correlate the Cursor session and user to that workspace.
- A developer selects a Cursor worker pool mapped to a Coder organization and workspace template, then starts a Cursor agent session.
- Agent Relay claims the pending Cursor request and asks the Coder control plane to provision a workspace from the mapped template for that user.
- A Cursor worker process inside the workspace connects to the corresponding Cursor cloud session and executes the agent's tool calls.
- When the session ends, Agent Relay manages workspace teardown.
Each Cursor agent session gets its own ephemeral workspace.
- A licensed Coder deployment
- A Cursor Enterprise plan
Talk to your Coder account team or email sales@coder.com to get access to Agent Relay for Cursor.