# Coder

> Self-hosted platform for cloud development environments and AI coding agents, with workspaces defined in Terraform and connected via secure WireGuard tunnels.

Coder is a self-hosted, open-source platform for cloud development environments and AI coding agents. Workspaces are defined with Terraform, connected through a secure WireGuard® tunnel, and automatically shut down when idle to save costs. Coder Agents runs a native AI coding agent whose loop executes in the control plane on your infrastructure, with no API keys stored in workspaces.

- **Terraform-defined workspaces** — *describe your dev environment infrastructure (EC2 VMs, Kubernetes Pods, Docker Containers, etc.) using standard Terraform templates*
- **Automatic idle shutdown** — *workspaces automatically stop when not in use, reducing cloud spend without manual intervention*
- **AI coding agents** — *delegate coding tasks to AI agents running on your own infrastructure; bring any model (Anthropic, OpenAI, Google, Bedrock, or self-hosted)*
- **Centralized model governance** — *manage LLM credentials centrally with cost tracking, audit logging, and user identity on every agent action*
- **Fast developer onboarding** — *onboard developers in seconds instead of days using standardized, reproducible workspace templates*
- **IDE integrations** — *connect VS Code, JetBrains Gateway, JetBrains Toolbox, and other editors directly to Coder workspaces with one click*
- **Dev Containers support** — *build development environments using `devcontainer.json` on Docker, Kubernetes, and OpenShift via the envbuilder integration*
- **Self-hosted VS Code marketplace** — *run a private extension marketplace for restricted or air-gapped networks*
- **GitHub Actions integration** — *set up the Coder CLI in GitHub workflows using the official action*
- **Community registry** — *access community-contributed templates and modules from the Coder Registry to extend your platform*

To get started, install Coder using the install script (`curl -L https://coder.com/install.sh | sh`), run `coder server`, and navigate to `http://localhost:3000` to create your first workspace. For production, connect a PostgreSQL instance (v13+) and configure an external access URL.

## Features
- Self-hosted cloud development environments
- AI coding agents on your infrastructure
- Terraform-defined workspace templates
- WireGuard secure tunneling
- Automatic idle workspace shutdown
- Bring any LLM model (Anthropic, OpenAI, Google, Bedrock, self-hosted)
- Centralized model governance and cost tracking
- Audit logging with user identity on every action
- VS Code extension integration
- JetBrains Gateway and Toolbox plugins
- Dev Containers support via envbuilder
- Self-hosted VS Code extension marketplace
- GitHub Actions integration
- Kubernetes log streaming
- Community template and module registry

## Integrations
VS Code, JetBrains Gateway, JetBrains Toolbox, Docker, Kubernetes, OpenShift, AWS EC2, GitHub Actions, Anthropic, OpenAI, Google AI, AWS Bedrock, Terraform, PostgreSQL

## Platforms
WINDOWS, MACOS, LINUX, WEB, API, VSC_EXTENSION, JETBRAINS_PLUGIN, CLI

## Pricing
Open Source, Free tier available

## Links
- Website: https://coder.com
- Documentation: https://coder.com/docs
- Repository: https://github.com/coder/coder
- EveryDev.ai: https://www.everydev.ai/tools/coder
