Skip to main content

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

  1. A developer selects a Cursor worker pool mapped to a Coder organization and workspace template, then starts a Cursor agent session.
  2. Agent Relay claims the pending Cursor request and asks the Coder control plane to provision a workspace from the mapped template for that user.
  3. A Cursor worker process inside the workspace connects to the corresponding Cursor cloud session and executes the agent's tool calls.
  4. 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.

Learn more