Depends on #30782. Adds `Coder.Semicolons`, a Vale rule that flags a semicolon in prose. It enforces [No semicolons in prose](https://github.com/coder/coder/blob/main/docs/.style/style-guide/capitalization-and-punctuation.md#no-semicolons-in-prose). - Severity: `warning`. - Scope: paragraphs, list items, headings, and blockquotes in `docs/**` except `docs/.style/style-guide/**`. Table cells, code spans, and code blocks keep their semicolons. - Baseline: 137 findings. The cleanup commit fixes 112 of them across 61 files by splitting sentences, or by using a comma or a connecting word where a split reads badly. - Excluded in `.vale.ini`: `docs/reference/{api,cli}/*.md` and `docs/admin/setup/configuration-reference.md`. Their text is generated from Go source (CLI flag help, Swagger comments), and 25 findings live there. Fixing them means editing Go and regenerating, so I used a commented exclusion like `Coder.UnitSpacing` does. Say so if you prefer the Go fix. - Result: `vale --output=line docs/` reports 0 `Coder.Semicolons` findings outside the style guide. - Three headings lost a semicolon, so their anchors changed. I updated the links in `docs/.style/` and in `.claude/` (`DOCS_STYLE_GUIDE.md`, the `write-docs` and `doc-check` skills). Linear: DOCS-1261 <details><summary>Decision log</summary> - Scope list is `paragraph`, `list`, `heading`, `blockquote`. Without `blockquote`, a semicolon in a `>` quote goes unreported, which I checked. Table cells are outside those scopes, so they stay exempt without extra config. - Token is `(?<!TL);(?!DR)`. `TL;DR` in `telemetry.md` is an abbreviation, not punctuation. - ` ` entities and `style="a: b;"` attributes don't match. Vale can report a real semicolon on the wrong line of a paragraph that contains an entity or raw HTML (for example, `modules.md:69` pointed at a semicolon on line 71), so cleanup used a paragraph-wide search instead of trusting reported lines. - A semicolon inside a fenced block in a blockquote (`ai-gateway/monitoring.md:105`, a YAML comment) isn't reported and stays. - Cleanup default: `; x` becomes `. X`, then I reviewed the diff and hand-fixed list fragments, parentheticals, and headings. Each new sentence sits on its own line, outside table cells. The hand-written part of `prometheus.md` is also reformatted to one sentence per line. - Heading rewrites: `Verify against the code and document exact values`, `Evidence justifies a claim and does not belong in the claim`, `STUN returned different addresses and you may be behind a hard NAT`. - `prometheus.md` is in the generated-page exclusion for `Coder.UnitSpacing` but not here. Its semicolon was in hand-written prose, so I fixed it. - Enable commit updates the footer, the checks table (scope text matches `.vale.ini`), the coverage counts (Capitalization and punctuation 3/7 to 4/6, total 20 to 21 tool-checked and 25 to 24 planned), and the "What the tooling checks" counts. Tests (fixtures in `/tmp`, not committed), each run with LF and CRLF files: - Flagged: paragraph, list item, ordered list item, heading, blockquote. - Not flagged: table cell, code span, fenced block, ` ` and `&`, an HTML `style` attribute, and `TL;DR`. - `go run ./scripts/styleclaims`, `make lint/emdash`, and the pre-commit hook (markdown, typos, style-claims) pass. </details> *Generated by [Coder Agents](https://coder.com/docs/ai-coder/agents) on behalf of @nickvigilante.*
4.5 KiB
title
| title |
|---|
| Run AI coding agents in Coder |
Learn how to run & manage coding agents with Coder, both alongside existing workspaces and for background task execution.
Coder supports several ways to run and govern coding agents, depending on how much control you need over execution and orchestration:
- Coder Agents, self-hosted AI workflow infrastructure best suited for headless, automated background tasks and parallel agentic development in a conversational UI.
- Agent Relay, best suited for preserving the cloud agent experience developers already know while running execution in self-hosted Coder workspaces.
- Agents in the IDE, best suited for in-editor code assist use cases alongside a developer's existing workflow.
- 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.
Coder Agents
In cases where the IDE is secondary, such as prototyping, research, or long-running background jobs, Coder Agents is the recommended way to delegate development work to coding agents in your Coder deployment.
Coder Agents is a native AI coding agent built into Coder. The agent loop runs in the Coder control plane on your infrastructure rather than inside the workspace, so workspaces can be completely network isolated. Developers interact with agents through the web UI or the REST API.
Learn more about Coder Agents for architecture details, supported LLM providers, and how to get started.
Agent Relay
Agent Relay connects a supported cloud-hosted AI agent provider's hosted sessions to self-hosted Coder workspaces. The provider's orchestration and AI inference stay cloud-hosted. A worker process inside the workspace executes the agent's tool calls. Cursor Cloud Agents and Claude Code are the supported providers.
Agent Relay is in early access and is in closed preview with select customers.
Learn more about Agent Relay for architecture details and supported providers.
Agents in the IDE
Coder integrates with IDEs such as Cursor, Devin Desktop, and Zed that include built-in coding agents to work alongside developers. Additionally, template admins can pre-install extensions for agents such as GitHub Copilot.
These agents work well inside existing Coder workspaces as they can simply be enabled via an extension or are built-into the editor.
Agents in workspace templates
Template admins can install terminal-based coding agents, such as Claude Code or Codex, directly into a workspace template using a registry module. Pick from a curated list of agent modules in the template builder, or add a module directly in Terraform:
module "claude-code" {
source = "registry.coder.com/coder/claude-code/coder"
version = "~> 5.2"
agent_id = coder_agent.main.id
}
Visit the Coder Registry for the full list of available agent modules.
Learn more about extending templates.
Govern AI activity with AI Governance
AI coding tools are quickly becoming core to how engineering teams ship software. 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.
AI Governance is included with a Premium license and adds observability, management, and policy controls for AI tooling across your Coder deployment. It includes:
- AI Gateway for centralized authentication, audit trails of prompts and tool invocations, and policy enforcement against upstream LLM providers.
- Agent Firewall for process-level network and command policies that restrict what agents can reach and do inside a workspace.
Learn more about AI Governance for use cases, entitlements, and how to enable it in your deployment.
