Coder — Self-Hosted Cloud Development Environments and AI Agents

Define dev environments in Terraform, connect via secure tunnel, auto-shutdown idle resources, and run AI coding agents on your infrastructure.

Source repo
coder/coder
Stars
★ 18k
Last updated
today v2.40.0
FARS reviewed
Nov 07, 2026 +20 new
License
AGPL-3.0
Primary language
Go

At a glance

How it runs
Self-hosted serviceCLIWeb app
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free tier plus a paid hosted plan
Setup effort
High · needs real infrastructure
You'll need
TerraformDockerPostgreSQLShell / CLINetwork accessLocal filesystem
Typical use
Developers need a consistent, reproducible dev environment defined in Terraform, launched in seconds via Docker templates.
Not a fit if
  • Small teams unwilling to run PostgreSQL and Terraform infrastructure
  • Teams that need a fully offline setup with no external model providers
  • Individual developers wanting a quick Windows-only trial
Website
coder.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v2.40.0 (2026-12-01)+7.7 ★/day over 7 days

What does this agent do, and when should you use it?

Coder is a self-hosted platform for cloud development environments and AI coding agents. Workspaces are defined with Terraform and can be provisioned on EC2 VMs, Kubernetes Pods, Docker containers, etc. It connects through a secure Wireguard® tunnel and automatically shuts down idle resources to save costs. Coder Agents run a native AI coding agent whose loop executes in the control plane on your infrastructure, with no API keys in workspaces. It brings any model (Anthropic, OpenAI, Google, Bedrock, self-hosted) and offers centralized model governance, cost tracking, and audit logging. The platform includes a CLI, web UI, VS Code extension, and JetBrains plugin.

Coder runs with the coder server command, which starts a web server and CLI. It uses Terraform templates to define infrastructure (e.g., EC2, Kubernetes, Docker) for workspaces. It automatically shuts down idle resources. Coder Agents execute AI coding agent loops in the control plane, supporting any model provider, and workspaces never contain API keys. The AI Gateway centralizes authentication, auditing, and cost controls. It integrates with VS Code, JetBrains Toolbox, Dev Containers, and Kubernetes log streaming, and offers a GitHub Action for setup.

  1. Developers need a consistent, reproducible dev environment defined in Terraform, launched in seconds via Docker templates.
  2. Teams want to run AI coding agents like Claude Code on their own infrastructure to keep code within their network.
  3. Admins need centralized governance of AI model access, cost tracking, and audit logs.
  4. Organizations want to reduce cloud costs by automatically shutting down idle workspaces.
  5. Developers using JetBrains IDEs can open workspaces via the JetBrains Toolbox plugin.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -L https://coder.com/install.sh | sh
Ports
3000
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Install via script on Linux/macOS: curl -L https://coder.com/install.sh | sh. For Windows, download the binary or installer from GitHub Releases. Start the server with coder server and open http://localhost:3000.

How do you use this agent?

Run coder server to launch, then create your initial user via the web UI. For production, add PostgreSQL (13+) and an external access URL: coder server --postgres-url <url> --access-url <url>. Use coder --help for all flags and environment variables.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Self-hosted, keeping all data and workspaces within your infrastructure.
  • Workspaces are defined in Terraform, making them portable across EC2, Kubernetes, Docker, etc.
  • Auto-shutdown idle resources to save on cloud costs.
  • Model-agnostic AI agents (Anthropic, OpenAI, Google, etc.) without storing API keys in workspaces.
  • Centralized AI Gateway for authentication, cost tracking, and audit logging.
Limitations
  • Requires Terraform and PostgreSQL, adding deployment complexity.
  • AI agent features require additional configuration for model provisioning and governance.
  • Wireguard tunnel setup may require network configuration.
  • Windows support is via separate installer; not covered by the install script.

How does this agent compare with similar options?

GitHub Codespaces

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Coder — Self-Hosted Cloud Development Environments and AI Agents This agent 59 · Major gaps Self-hosted serviceFreemium ★ 18k today Go OpenAI API · Claude API
Warren 78 · Good Self-hosted serviceFree + model costs ★ 521 18d ago TypeScript Claude Code
HarnessRouter Community Edition 71 · Some gaps Self-hosted serviceFree + model costs ★ 4.6k today Python Codex · Claude Code
OtoDock 70 · Some gaps Self-hosted serviceFreemium ★ 207 12d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
59/ 100 5-point scale 3.0 / 5
This review covers the source as of Nov 07, 2026. The project has shipped 20 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 8/14
Adaptability 12/18
Convention 14/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The README and Agents guide say model credentials stay in the control plane, workspaces do not need LLM access, and actions are associated with user identity and audit. Agent Relay documentation recommends environment variables or Kubernetes Secrets for credentials. The sample does not show concrete execution permissions or confirmation flows, and .mcp.json uses @latest, so evidence for security and impact controls is incomplete. The usage guide explicitly describes sending Agent Time and deployment ID to Tallyman, including headers, event contents, and failure logs; it says user identity and chat data are not sent, but external billing telemetry remains an external effect. No Agent action rollback mechanism is shown. Security and maintenance channels are present, but publisher identity is unknown in this review and source ownership is not fully established.

Reliability8 / 14 · 2.9/5

The README, Agents guide, and Agent Time guide are broadly consistent about control-plane processing, workspace requirements, and usage reporting. Quickstart and production deployment notes are provided, but .mcp.json uses @latest, allowing dependency drift, and the sample gives no offline or unavailable-toolchain alternative. The Agent Relay reference says invalid options stop startup with an error, and the usage guide shows request failure logs, so failure feedback has concrete support, though troubleshooting coverage is not comprehensive.

Adaptability12 / 18 · 3.3/5

The documentation clearly addresses platform teams, administrators, and organization members across provider setup, models, permissions, template selection, workspaces, and billing. It also identifies limitations such as HTTPS requirements for push notifications, organization roles, and behavior changes between releases. It explains that the Agent may work in the control plane and provision a workspace when needed, but the sample does not fully define tool permissions, approval boundaries, or trigger rules. Installation supports Linux, macOS, Windows, and multiple infrastructure types; however, the MCP configuration's Storybook server depends on a local localhost service and requires environment setup.

Convention14 / 18 · 3.9/5

The README, topic-specific guides, configuration reference, security policy, and license provide clear information architecture. Quickstart, production guidance, configuration steps, and examples cover common onboarding needs; the license file matches the AGPL-3.0 metadata. The README links to releases and documentation, and the Agents guide recommends reviewing release notes and the changelog. The Agent Relay reference identifies its manually synchronized source and tracking item. Issue, community, and security channels are given, but the sample does not identify specific maintainers or make a formal update commitment, so those scores are not full.

Effectiveness7 / 13 · 2.7/5

Coder provides a self-hosted development environment and Agent platform. The documentation describes keeping LLM keys out of workspaces and provides practical controls for permissions, model governance, auditing, and usage. Configuration steps and examples support ordinary deployment and use. However, the product requires operating a control plane, templates, a database, and network access to model providers; usage reporting also requires outbound access to Tallyman. Operational costs are material, and the sample does not quantify deployment costs or overall benefit sufficiently.

Verifiability5 / 8 · 3.1/5

The README, Agents guide, Agent Time explanation, security policy, and Relay configuration reference complement one another; external usage reporting includes concrete fields and log examples, making several operational claims traceable to documentation. The docs distinguish configuration requirements, expected behavior, and some limitations, but the supplied material contains no execution results or independent validation, and many claims remain product documentation statements. Confidence therefore remains low; lack of executed verification is not treated as a failure.

Risks and how to mitigate them
  • External usage reporting sends the deployment ID, a license JWT in request headers, and hourly aggregated Agent Time to Tallyman; confirm outbound network access and organizational policy before deployment.
  • The Go toolchain in .mcp.json uses @latest, so dependency versions may change over time; the Storybook MCP also requires a local service.
  • This review uses only the supplied static sample and does not execute code or verify deployment behavior; publisher identity is unknown.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision b798061108ed New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/coder.svg)](https://followagents.com/en/agents/coder)
<a href="https://followagents.com/en/agents/coder"><img src="https://followagents.com/badge/coder.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.40.0
    Release notes excerpt
    Changelog > [!NOTE] > This is a mainline Coder release. We advise enterprise customers without a staging environment to install our [latest stable release](https://github.com/coder/coder/releases/latest) while we refine this version. Learn more about our [Release Schedule](https://coder.com/docs/install/releases). > [!IMPORTANT] …
    View on GitHub ↗
  2. v2.29.30
    Release notes excerpt
    Changelog Features - Require a setup token to create the first user on a tunnel (#32324, 0029781af2) (@BobbyHo) Bug fixes - Server: Normalize repeated slashes before CSRF exemption check (#29798, 504cdf0326) - Server: Let only one request create the first user (#32417, 93de8df06a) (@BobbyHo) - Server: List endpoints return 500 for API keys with ID-scoped allow lists (#32145, caea470c96) (@ksrinija) - Reject glob characters in the SSH hostname prefix (#32570, 26d9cae715) (@fioan89) Performance improvements …
    View on GitHub ↗
  3. v2.34.22
    Release notes excerpt
    Changelog Features - Require a setup token to create the first user on a tunnel (#32324, 31e4e8a6fb) (@BobbyHo) Bug fixes - Server: Normalize repeated slashes before CSRF exemption check (#29798, 9217b149ba) - Server: Let only one request create the first user (#32417, d59b53836f) (@BobbyHo) - Reject glob characters in the SSH hostname prefix (#32570, 5e33f8c4d7) (@fioan89) - Server: List endpoints return 500 for API keys with ID-scoped allow lists (#32145, 9f303e5aa1) (@ksrinija) Performance improvements …
    View on GitHub ↗

FAQ

How does Coder differ from GitHub Codespaces?
Coder is self-hosted, allowing deployment on your own infrastructure, while Codespaces is a hosted service by Microsoft. Coder uses Terraform for environment definitions and supports any cloud or on-premises.
Which AI models does Coder support?
Coder supports any model, including Anthropic, OpenAI, Google, Bedrock, and self-hosted models, managed centrally via the AI Gateway.
How is AI agent access secured?
Agents run on your infrastructure, workspaces never contain API keys, user identity is attached to every action, and governance and audit are centralized.
What are the infrastructure requirements?
You need Docker at minimum to run workspace templates; production requires PostgreSQL 13+ and an external access URL.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts