|
1 | 1 | # Run AI Coding Agents in Coder |
2 | 2 |
|
3 | | -Learn how to run & manage coding agents with Coder, both alongside existing |
4 | | -workspaces and for background task execution. |
| 3 | +Learn how to run & manage coding agents with Coder, both alongside existing workspaces and for background task execution. |
5 | 4 |
|
6 | | -## Agents in the IDE |
7 | | - |
8 | | -Coder [integrates with IDEs](../user-guides/workspace-access/index.md) such as |
9 | | -Cursor, Devin Desktop, and Zed that include built-in coding agents to work alongside |
10 | | -developers. Additionally, template admins can |
11 | | -[pre-install extensions](https://registry.coder.com/modules/coder/vscode-web) |
12 | | -for agents such as GitHub Copilot. |
| 5 | +Coder supports several ways to run and [govern](#govern-ai-activity-with-ai-governance) coding agents, depending on how much control you need over execution and orchestration: |
13 | 6 |
|
14 | | -These agents work well inside existing Coder workspaces as they can simply be |
15 | | -enabled via an extension or are built-into the editor. |
| 7 | +- [Coder Agents](#coder-agents), self-hosted AI workflow infrastructure best suited for headless, automated background tasks and parallel agentic development in a conversational UI. |
| 8 | +- [Agent Relay](#agent-relay), best suited for preserving the cloud agent experience developers already know while running execution in self-hosted Coder workspaces. |
| 9 | +- [Agents in the IDE](#agents-in-the-ide), best suited for in-editor code assist use cases alongside a developer's existing workflow. |
| 10 | +- [Agents in workspace templates](#agents-in-workspace-templates), best suited for developers who want to pair one-on-one with an agent like Claude Code or Codex in a workspace. |
16 | 11 |
|
17 | 12 | ## Coder Agents |
18 | 13 |
|
19 | | -In cases where the IDE is secondary, such as prototyping, research, or |
20 | | -long-running background jobs, [Coder Agents](./agents/index.md) is the |
21 | | -recommended way to delegate development work to coding agents in your Coder |
22 | | -deployment. |
| 14 | +In cases where the IDE is secondary, such as prototyping, research, or long-running background jobs, [Coder Agents](./agents/index.md) is the recommended way to delegate development work to coding agents in your Coder deployment. |
23 | 15 |
|
24 | | -Coder Agents is a native AI coding agent built into Coder. The agent loop runs |
25 | | -in the Coder control plane on your infrastructure rather than inside the |
26 | | -workspace, so workspaces can be completely network isolated. Developers |
27 | | -interact with agents through the web UI or the REST API. |
| 16 | +Coder Agents is a native AI coding agent built into Coder. |
| 17 | +The agent loop runs in the Coder control plane on your infrastructure rather than inside the workspace, so workspaces can be completely network isolated. |
| 18 | +Developers interact with agents through the web UI or the REST API. |
28 | 19 |
|
29 | 20 |  |
30 | 21 |
|
31 | | -[Learn more about Coder Agents](./agents/index.md) for architecture details, |
32 | | -supported LLM providers, and how to get started. |
| 22 | +[Learn more about Coder Agents](./agents/index.md) for architecture details, supported LLM providers, and how to get started. |
| 23 | + |
| 24 | +## Agent Relay |
| 25 | + |
| 26 | +[Agent Relay](./agent-relay/index.md) connects a supported cloud-hosted AI agent provider's hosted sessions to self-hosted Coder workspaces. |
| 27 | +The provider's orchestration and AI inference stay cloud-hosted; a worker process inside the workspace executes the agent's tool calls. |
| 28 | +[Cursor Cloud Agents](https://cursor.com/cloud) is the first supported provider. |
| 29 | + |
| 30 | +Agent Relay is in [early access](../install/releases/feature-stages.md#early-access-features) and is in closed preview with select customers. |
| 31 | + |
| 32 | +[Learn more about Agent Relay](./agent-relay/index.md) for architecture details and supported providers. |
| 33 | + |
| 34 | +## Agents in the IDE |
| 35 | + |
| 36 | +Coder [integrates with IDEs](../user-guides/workspace-access/index.md) such as Cursor, Devin Desktop, and Zed that include built-in coding agents to work alongside developers. |
| 37 | +Additionally, template admins can [pre-install extensions](https://registry.coder.com/modules/coder/vscode-web) for agents such as GitHub Copilot. |
| 38 | + |
| 39 | +These agents work well inside existing Coder workspaces as they can simply be enabled via an extension or are built-into the editor. |
| 40 | + |
| 41 | +## Agents in workspace templates |
| 42 | + |
| 43 | +Template admins can install terminal-based coding agents, such as Claude Code or Codex, directly into a workspace template using a [registry module](https://registry.coder.com). |
| 44 | +Pick from a curated list of agent modules in the [template builder](../admin/templates/creating-templates.md#template-builder), or add a module directly in Terraform: |
| 45 | + |
| 46 | +```tf |
| 47 | +module "claude-code" { |
| 48 | + source = "registry.coder.com/coder/claude-code/coder" |
| 49 | + version = "~> 5.2" |
| 50 | + agent_id = coder_agent.main.id |
| 51 | +} |
| 52 | +``` |
| 53 | + |
| 54 | +Visit the [Coder Registry](https://registry.coder.com) for the full list of available agent modules. |
| 55 | + |
| 56 | +[Learn more about extending templates](../admin/templates/extending-templates/index.md). |
33 | 57 |
|
34 | 58 | ## Govern AI activity with AI Governance |
35 | 59 |
|
36 | | -AI coding tools are quickly becoming core to how engineering teams ship |
37 | | -software. As adoption grows, platform teams want a clear picture of how AI is |
38 | | -being used, consistent guardrails across teams, and predictable cost controls |
39 | | -so they can confidently scale AI tooling to the whole organization. |
40 | | - |
41 | | -[AI Governance](./ai-governance.md) is included with a Premium license and adds |
42 | | -observability, management, and policy controls for AI tooling across your |
43 | | -Coder deployment. It includes: |
44 | | - |
45 | | -- [AI Gateway](./ai-gateway/index.md) for centralized authentication, audit |
46 | | - trails of prompts and tool invocations, and policy enforcement against |
47 | | - upstream LLM providers. |
48 | | -- [Agent Firewall](./agent-firewall/index.md) for process-level network and |
49 | | - command policies that restrict what agents can reach and do inside a |
50 | | - workspace. |
51 | | -[Learn more about AI Governance](./ai-governance.md) for use cases, entitlements, |
52 | | -and how to enable it in your deployment. |
| 60 | +AI coding tools are quickly becoming core to how engineering teams ship software. |
| 61 | +As adoption grows, platform teams want a clear picture of how AI is being used, consistent guardrails across teams, and predictable cost controls so they can confidently scale AI tooling to the whole organization. |
| 62 | + |
| 63 | +[AI Governance](./ai-governance.md) is included with a Premium license and adds observability, management, and policy controls for AI tooling across your Coder deployment. |
| 64 | +It includes: |
| 65 | + |
| 66 | +- [AI Gateway](./ai-gateway/index.md) for centralized authentication, audit trails of prompts and tool invocations, and policy enforcement against upstream LLM providers. |
| 67 | +- [Agent Firewall](./agent-firewall/index.md) for process-level network and command policies that restrict what agents can reach and do inside a workspace. |
| 68 | + |
| 69 | +[Learn more about AI Governance](./ai-governance.md) for use cases, entitlements, and how to enable it in your deployment. |
0 commit comments