Coder is a self-hosted platform that provisions developer workspaces from Terraform templates over secure tunnels, shuts down idle resources, and runs AI coding agents on your infrastructure without LLM keys inside workspaces.
Overview
Coder provides self-hosted cloud development environments and AI coding agents. Workspaces are defined with Terraform and can target infrastructure such as EC2 VMs, Kubernetes pods, and Docker containers. Connections use a secure Wireguard tunnel, and idle environments can shut down automatically to reduce cost.
Developers connect existing IDEs to workspaces that hold dependencies and configuration for software development. Templates in the Coder Registry supply modules and integrations for common setups, including devcontainer-based environments and isolated runs of tools such as Claude Code, Codex, and OpenCode inside workspaces.
Coder Agents run a native AI coding agent whose loop executes in the control plane on your infrastructure, so API keys are not stored in workspaces and user identity attaches to actions. An AI Gateway centralizes authentication, auditing, and cost controls for AI tooling, with support for models from Anthropic, OpenAI, Google, Bedrock, or self-hosted endpoints.
Installation options include scripts on Linux and macOS, binaries on Windows, and production setups with PostgreSQL and an external access URL. Evaluation installs can use a built-in database and a trial access URL until a full deployment is configured.
Key features
- Terraform-defined workspaces
- Wireguard-secured connectivity
- Automatic idle shutdown
- Self-hosted AI coding agents
- No LLM credentials in workspaces
- AI Gateway for model governance
- IDE connections to remote workspaces
- Registry templates and dev containers
Use cases
- Onboarding developers to standardized environments
- Running AI agents on owned infrastructure
- Cost control for idle cloud VMs
- Governed enterprise model access
- Remote development from local IDEs