---
title: "Build with AI Agents | Provide AI Agents with isolated, governed environments to safely write and test code"
description: "Coder provides AI agents with execution boundaries and task-based permissions, logs activity for traceability, and supports human–agent collaboration with RBAC."
image: "/_next/static/media/OpenGraph.37da9236.jpg"
---

![](https://coder.com/_next/static/media/server-violet.bd32a5ed.svg?w=3840)Coder AI Governance

# Build with AI safely.
Scale it confidently.

Safely integrate any AI tool into your development workflow, on your infrastructure, without losing control, visibility, or adaptability.

[Install Coder](https://coder.com/docs/install)[See Coder in action](https://coder.com/demo)

![Two Column Masthead Background](https://coder.com/_next/static/media/twocol-premium-masthead-bg.8b7ffea4.jpg?w=3840)![](https://coder.com/_next/static/media/ai-governance-solutions-masthead.abb750ac.jpg?w=3840)

## AI is already in your software development lifecycle. The question is how you manage it.

AI tools are here, but most enterprises lack a safe way to adopt them. Uncontrolled AI tools in local development introduce security risk, shadow usage, and rising costs, while blocking AI slows delivery. With Coder, bring AI into the mix with enforced guardrails and production-ready governance.

![shield icon](https://coder.com/_next/static/media/shield-violet.d01b7f59.svg?w=3840)

### Controlled deployment

Unlike SaaS platforms, Coder runs fully on your infrastructure and integrates with SSO, IAM, and monitoring tools. This keeps source code off third parties and meets strict data sovereignty and compliance requirements.

### Faster time to market

Define development environments as code using Terraform to speed up onboarding. With Coder, standardize tools and policies eliminating setup delays and reduce time to delivery.

### Resource optimization

Provision GPUs, run agents in parallel using efficient bin-packing, and control costs with resource limits and usage tracking. Developers gain powerful environments while platform teams maintain visibility and optimize spend.

![](https://coder.com/_next/static/media/financial-institution-black.366d1b24.svg?w=3840)

> We are reliant on Coder right now to roll out Claude Code and Codex since it's the path of least resistance for centralizing model configuration.

## Get visibility and control with
Coder

![Coder Agents: Offload long-running tasks to self-hosted agents on your infrastructure. Coder Workspaces: Self-hosted development environments on your infrastructure. Agent Firewall: Apply process-level enforcement to restrict and audit agent network access. AI Gateway: Log and govern agent interactions for cost control and forensics.](https://coder.com/_next/static/media/visibility-control.5fdc1d07.png?w=3840)

## Get visibility and control with Coder

- ### Coder Agents Offload long-running tasks to self-hosted agents on your infrastructure.
- ### Coder Workspaces
- ### Agent Firewall
- ### AI Gateway

![](https://coder.com/_next/static/media/visibility-control-no-text.c90227ce.png?w=3840)

## Build with tools you love

![Claude](https://coder.com/_next/static/media/claude-squircle.1ddbcdcc.svg?w=128)

![Goose](https://coder.com/_next/static/media/goose.58af7d2e.svg?w=128)

![Aider](https://coder.com/_next/static/media/aider.a575cb36.svg?w=128)

![Kiro](https://coder.com/_next/static/media/kiro.c700ea24.svg?w=128)

![Gemini](https://coder.com/_next/static/media/gemini.86c87b35.svg?w=128)

![GitHub](https://coder.com/_next/static/media/github-logo-white.cb8a80b7.png?w=128)

![OpenCode](https://coder.com/_next/static/media/opencode.972feec3.svg?w=128)

![OpenAI](https://coder.com/_next/static/media/openai-white.bf0b622e.svg?w=128)

![Auggie](https://coder.com/_next/static/media/auggie.5105add1.svg?w=128)

![Sourcegraph Amp](https://coder.com/_next/static/media/sourcegraph-amp.4f54b69a.svg?w=128)

![Cursor](https://coder.com/_next/static/media/cursor.e112be7e.svg?w=128)

![Claude](https://coder.com/_next/static/media/claude-squircle.1ddbcdcc.svg?w=128)

![Goose](https://coder.com/_next/static/media/goose.58af7d2e.svg?w=128)

![Aider](https://coder.com/_next/static/media/aider.a575cb36.svg?w=128)

![Kiro](https://coder.com/_next/static/media/kiro.c700ea24.svg?w=128)

![Gemini](https://coder.com/_next/static/media/gemini.86c87b35.svg?w=128)

![GitHub](https://coder.com/_next/static/media/github-logo-white.cb8a80b7.png?w=128)

![OpenCode](https://coder.com/_next/static/media/opencode.972feec3.svg?w=128)

![OpenAI](https://coder.com/_next/static/media/openai-white.bf0b622e.svg?w=128)

![Auggie](https://coder.com/_next/static/media/auggie.5105add1.svg?w=128)

![Sourcegraph Amp](https://coder.com/_next/static/media/sourcegraph-amp.4f54b69a.svg?w=128)

![Cursor](https://coder.com/_next/static/media/cursor.e112be7e.svg?w=128)

![Claude](https://coder.com/_next/static/media/claude-squircle.1ddbcdcc.svg?w=128)

![Goose](https://coder.com/_next/static/media/goose.58af7d2e.svg?w=128)

![Aider](https://coder.com/_next/static/media/aider.a575cb36.svg?w=128)

![Kiro](https://coder.com/_next/static/media/kiro.c700ea24.svg?w=128)

![Gemini](https://coder.com/_next/static/media/gemini.86c87b35.svg?w=128)

![GitHub](https://coder.com/_next/static/media/github-logo-white.cb8a80b7.png?w=128)

![OpenCode](https://coder.com/_next/static/media/opencode.972feec3.svg?w=128)

![OpenAI](https://coder.com/_next/static/media/openai-white.bf0b622e.svg?w=128)

![Auggie](https://coder.com/_next/static/media/auggie.5105add1.svg?w=128)

![Sourcegraph Amp](https://coder.com/_next/static/media/sourcegraph-amp.4f54b69a.svg?w=128)

![Cursor](https://coder.com/_next/static/media/cursor.e112be7e.svg?w=128)

## Move AI agents into production with Coder. Securely introduce AI through a self-hosted control plane that governs model access, MCP tools, agent identity, network egress, and spend before AI ever reaches developer devices.

## AI adoption with standardization

Coder accelerates AI adoption by using templates to define ephemeral, isolated workspaces with pre-defined context, network access, and tooling. Agents are provisioned on demand in standardized environments running on customer-controlled infrastructure, not laptops, allowing platform teams to onboard new agents quickly without reworking security or compliance controls.

[![](https://coder.com/_next/static/media/cloud-white.0e03898d.svg?w=3840)Workspaces](https://coder.com/docs/reference/api/workspaces)[![](https://coder.com/_next/static/media/select-white.c6d947ff.svg?w=3840)Templates](https://coder.com/docs/admin/templates)[![](https://coder.com/_next/static/media/price-tag-white.f0be68ba.svg?w=3840)Registry](https://registry.coder.com/)[![](https://coder.com/_next/static/media/shield-white.e65be70c.svg?w=3840)Airgapped](https://coder.com/docs/install/airgap)

![Template search UI. Example templates: AI/ML Development, Java Microservices, Frontend Engineering. Button at the bottom says 'Create workspace with template'.](https://coder.com/_next/static/media/two-col-adoption-standardization.35b45d7b.jpg?w=3840)

## Centralized visibility and audibility

Coder AI Gateway is a centralized LLM gateway that delivers visibility and control for AI coding agents like Claude Code. It replaces scattered API keys across developer laptops with centralized authentication, user-level tracking, cost monitoring, and comprehensive audit trails, enabling compliant AI adoption without slowing developers down.

[![](https://coder.com/_next/static/media/server-white.94bdf50c.svg?w=3840)AI Gateway](https://coder.com/docs/ai-coder/ai-gateway)[![](https://coder.com/_next/static/media/key-white.84f7d782.svg?w=3840)AI Governance Add-on](https://resources.coder.com/hub/col/resource-center/ai-governance-add-on-datasheet?lb-height=100%25&lb-width=100%25&pflpid=60798&pfsid=HKhWcljba2)

![Product UI to manage AI usage for your organization in Coder Workspaces. Information about each logged agent includes initiator, prompt, tokens, and model.](https://coder.com/_next/static/media/two-col-visibility-and-audibility.1e6e43cb.jpg?w=3840)

## Restricted agent access

AI agents operate under least-privileged access, reducing the attack surface of autonomous execution. Coder’s Agent Firewall wraps agent processes with a default-deny network policy, restricting which domains and HTTP methods they can access. Admins define explicit allowlists in templates to control access to package registries, internal services, and external APIs, while all policy decisions are logged and streamed to the control plane for centralized auditing.

[![](https://coder.com/_next/static/media/padlock-white.5b4e6a27.svg?w=3840)Agent Firewall](https://coder.com/docs/ai-coder/agent-firewall)[![](https://coder.com/_next/static/media/robot-white.fa896e7a.svg?w=3840)Coder Tasks](https://coder.com/docs/ai-coder/tasks-core-principles)

![Developer permissions: Repository controls, Network access, Filesystem access. Coding Agent permissions: Allow outbound HTTP/HTTPS to allowlisted domains, Block unproxied access via namespace isolation, Optionally forward audit logs to coderd](https://coder.com/_next/static/media/two-col-restricted-agent-access.a32bfb97.jpg?w=3840)

![Gradient Background](https://coder.com/_next/static/media/stat-slider-bg.6cb15c83.jpg?w=3840)

From Day 30 to Day One: How a Global FinTech Is Modernizing Developer Onboarding for 15,000+ Engineers

[Read the case study](https://coder.com/success-stories/financial-services)

![Fortune 500 Financial Technology logo](https://coder.com/_next/static/media/financial-technology-white.6bd211ec.svg?w=3840)

## Related content

## Related content

[![Hands-on Workshop: Deploy AI Agents in Coder CDE. March 26 at 9:00AM PT](https://www.datocms-assets.com/19109/1769703875-agentic-ai-workshop-lp-thumbnail.png?w=3840)
Webinar

### Hands-on Workshop: Deploy AI Agents in Coder CDE

See more](https://coder.com/events-webinars/hands-on-workshop-deploy-ai-agents-in-coder-cde-march/register)[![Inside the Stack: Secure and Scale AI Coding Agents with Coder](https://www.datocms-assets.com/19109/1764963037-blog_inside-the-ai-stack.png?w=3840)
Blog

### Inside the Stack: Secure and Scale AI Coding Agents with Coder

See more](https://coder.com/blog/inside-the-stack-secure-and-scale-ai-coding-agents-with-coder)[![User overseeing AI icons: Amazon Q, Cursor, OpenAI, Claude, Gemini](https://coder.com/_next/static/media/docs-ai-governance.eaa2e840.png?w=3840)
Docs

### AI Governance Add-On

See more](https://coder.com/docs/ai-coder/ai-governance)[![How Credit Karma Accelerated Secure, Compliant, and Scalable Data Workflows with Coder. November 12 at 10:00AM PT](https://www.datocms-assets.com/19109/1761314296-creditkarma-webinar-lp-thumbnail.png?w=3840)
Webinar

### How Credit Karma Accelerated Secure, Compliant, and Scalable Data Workflows with Coder

See more](https://resources.coder.com/hub/col/resource-center/credit-karma-data-workflows)[![State of Development Environments 2025](https://coder.com/_next/static/media/state-of-dev-envs.e2d5908f.png?w=3840)
Whitepaper

### State of Development Environments

See more](https://resources.coder.com/hub/col/resource-center/state-of-development-environments?pflpid=60798&pfsid=HKhWcljba2)

## FAQs

Is Coder compliant with regulations like GDPR or DORA?

Coder helps you meet compliance goals by running entirely within your own infrastructure. This means your data stays where you control it—critical for meeting FedRAMP, GDPR, DORA, and similar requirements.

Is Coder SOC 2 Type II certified?

Does Coder work with my existing tools?

How does Coder support compliance in highly regulated industries like banking?

What IDEs and languages are supported?

Is Coder secure enough for regulated industries?

Can I use Coder with AI coding agents or ML workloads?
