Agent Relay for Cursor
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 bring-your-own-machine (BYOM). 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.
How it works
- 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.
Requirements
- A licensed Coder deployment
- A Cursor Enterprise plan
Get started
Talk to your Coder account team or email [email protected] to get access to Agent Relay for Cursor.

