+
+# Configure your client with the Coder MCP
+coder exp mcp configure claude-desktop # Configure Claude Desktop to interact with Coder
+coder exp mcp configure cursor # Configure Cursor to interact with Coder
+```
+
+For other agents, run the MCP server with this command:
+
+```sh
+coder exp mcp server
+```
+
+> [!NOTE]
+> The MCP server is authenticated with the same identity as your Coder CLI and can perform any action on the user's behalf. Fine-grained permissions and a remote MCP server are in development. [Contact us](https://coder.com/contact) if this use case is important to you.
diff --git a/docs/ai-coder/securing.md b/docs/ai-coder/security.md
similarity index 57%
rename from docs/ai-coder/securing.md
rename to docs/ai-coder/security.md
index af1c7825fdaa1..8d1e07ae1d329 100644
--- a/docs/ai-coder/securing.md
+++ b/docs/ai-coder/security.md
@@ -1,23 +1,13 @@
-> [!NOTE]
->
-> This functionality is in early access and is evolving rapidly.
->
-> When using any AI tool for development, exercise a level of caution appropriate to your use case and environment.
-> Always review AI-generated content before using it in critical systems.
->
-> Join our [Discord channel](https://discord.gg/coder) or
-> [contact us](https://coder.com/contact) to get help or share feedback.
-
As the AI landscape is evolving, we are working to ensure Coder remains a secure
platform for running AI agents just as it is for other cloud development
environments.
## Use Trusted Models
-Most [agents](./agents.md) can be configured to either use a local LLM (e.g.
+Most agents can be configured to either use a local LLM (e.g.
llama3), an agent proxy (e.g. OpenRouter), or a Cloud-Provided LLM (e.g. AWS
Bedrock). Research which models you are comfortable with and configure your
-[Coder templates](./create-template.md) to use those.
+Coder templates to use those.
## Set up Firewalls and Proxies
@@ -29,8 +19,7 @@ not access or upload sensitive information.
Many agents require API keys to access external services. It is recommended to
create a separate API key for your agent with the minimum permissions required.
-This will likely involve editing your
-[template for Agents](./create-template.md) to set different scopes or tokens
+This will likely involve editing your template for Agents to set different scopes or tokens
from the standard one.
Additional guidance and tooling is coming in future releases of Coder.
@@ -42,7 +31,4 @@ agent and the rest of the environment inside of your Coder workspace, allowing
humans to have more privileges and access compared to agents inside the same
workspace.
-Trial agent boundaries in your workspaces by following the instructions in the
-[boundary-releases](https://github.com/coder/boundary-releases) repository.
-
-- [Contact us for more information](https://coder.com/contact)
+- [Contact us for more information](https://coder.com/contact) and for early access to agent boundaries
diff --git a/docs/ai-coder/tasks.md b/docs/ai-coder/tasks.md
new file mode 100644
index 0000000000000..8e7d27f334dc1
--- /dev/null
+++ b/docs/ai-coder/tasks.md
@@ -0,0 +1,91 @@
+# Coder Tasks (Beta)
+
+Coder Tasks is an interface for running & managing coding agents such as Claude Code and Aider, powered by Coder workspaces.
+
+
+
+Coder Tasks is best for cases where the IDE is secondary, such as prototyping or running long-running background jobs. However, tasks run inside full workspaces so developers can [connect via an IDE](../user-guides/workspace-access) to take a task to completion.
+
+> [!NOTE]
+> Coder Tasks is free and open source. If you are a Coder Premium customer or want to run hundreds of tasks in the background, [contact us](https://coder.com/contact) for roadmap information and volume pricing.
+
+## Supported Agents (and Models)
+
+Any terminal-based agent that supports Model Context Protocol (MCP) can be integrated with Coder Tasks, including your own custom agents.
+
+Out of the box, agents like Claude Code, Aider, Goose, and Amazon Q are supported with built-in modules that can be added to a template. [See all agent modules in the Registry](https://registry.coder.com/modules?search=tag%3Aagent)
+
+Enterprise LLM Providers such as AWS Bedrock, GCP Vertex and proxies such as LiteLLM can be used as well in order to keep intellectual property private. Self-hosted models such as llama4 can also be configured with specific agents, such as Aider and Goose.
+
+## Architecture
+
+Each task runs inside its own Coder workspace for isolation purposes. Agents like Claude Code also run in the workspace, and can be pre-installed via a module in the Coder Template. Agents then communicate with your LLM provider, so no GPUs are directly required in your workspaces for inference.
+
+
+
+Coder's [built-in modules for agents](https://registry.coder.com/modules?search=tag%3Aagent) will pre-install the agent alongside [AgentAPI](https://github.com/coder/agentapi). AgentAPI is an open source project developed by Coder which improves status reporting and the Chat UI, regardless of which agent you use.
+
+## Getting Started with Tasks
+
+### Option 1) Import and Modify Our Example Template
+
+Our example template is the best way to experiment with Tasks with a [real world demo app](https://github.com/gothinkster/realworld). The application is running in the background and you can experiment with coding agents.
+
+
+
+Try prompts such as:
+
+- "rewrite the backend in go"
+- "document the project structure"
+- "change the primary color theme to purple"
+
+To import the template and begin configuring it, follow the [documentation in the Coder Registry](https://registry.coder.com/templates/coder-labs/tasks-docker)
+
+> [!NOTE]
+> The Tasks tab will appear automatically after you add a Tasks-compatible template and refresh the page.
+
+### Option 2) Create or Duplicate Your Own Template
+
+A template becomes a Task template if it defines a `coder_ai_task` resource and a `coder_parameter` named `"AI Prompt"`. Coder analyzes template files during template version import to determine if these requirements are met.
+
+```hcl
+data "coder_parameter" "ai_prompt" {
+ name = "AI Prompt"
+ type = "string"
+}
+
+# Multiple coder_ai_tasks can be defined in a template
+resource "coder_ai_task" "claude-code" {
+ # At most one coder ai task can be instantiated during a workspace build.
+ # Coder fails the build if it would instantiate more than 1.
+ count = data.coder_parameter.ai_prompt.value != "" ? 1 : 0
+
+ sidebar_app {
+ # which app to display in the sidebar on the task page
+ id = coder_app.claude-code.id
+ }
+}
+```
+
+> [!NOTE]
+> This definition is not final and may change while Tasks is in beta. After any changes, we guarantee backwards compatibility for one minor Coder version. After that, you may need to update your template to continue using it with Tasks.
+
+Because Tasks run unpredictable AI agents, often for background tasks, we recommend creating a separate template for Coder Tasks with limited permissions. You can always duplicate your existing template, then apply separate network policies/firewalls/permissions to the template. From there, follow the docs for one of our [built-in modules for agents](https://registry.coder.com/modules?search=tag%3Aagent) in order to add it to your template, configure your LLM provider.
+
+Alternatively, follow our guide for [custom agents](./custom-agents.md)
+
+## Customizing the Task UI
+
+The Task UI displays all workspace apps declared in a Task template. You can customize the app shown in the sidebar using the `sidebar_app.id` field on the `coder_ai_task` resource.
+
+If a workspace app has the special `"preview"` slug, a navbar will appear above it. This is intended for templates that let users preview a web app they’re working on.
+
+We plan to introduce more customization options in future releases.
+
+## Opting out of Tasks
+
+If you tried Tasks and decided you don't want to use it, you can hide the Tasks tab by starting `coder server` with the `CODER_HIDE_AI_TASKS=true` environment variable or the `--hide-ai-tasks` flag.
+
+## Next Steps
+
+
diff --git a/docs/images/guides/ai-agents/architecture-high-level.png b/docs/images/guides/ai-agents/architecture-high-level.png
new file mode 100644
index 0000000000000..0ca453906cdb4
Binary files /dev/null and b/docs/images/guides/ai-agents/architecture-high-level.png differ
diff --git a/docs/images/guides/ai-agents/duplicate.png b/docs/images/guides/ai-agents/duplicate.png
deleted file mode 100644
index 0122671424792..0000000000000
Binary files a/docs/images/guides/ai-agents/duplicate.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/github-action.png b/docs/images/guides/ai-agents/github-action.png
deleted file mode 100644
index 8ad695c137614..0000000000000
Binary files a/docs/images/guides/ai-agents/github-action.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/github-pr.png b/docs/images/guides/ai-agents/github-pr.png
deleted file mode 100644
index 3c4785e56a559..0000000000000
Binary files a/docs/images/guides/ai-agents/github-pr.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/ide-integration.png b/docs/images/guides/ai-agents/ide-integration.png
deleted file mode 100644
index 2ddd85c786e79..0000000000000
Binary files a/docs/images/guides/ai-agents/ide-integration.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/landing.png b/docs/images/guides/ai-agents/landing.png
deleted file mode 100644
index 40ac36383bc07..0000000000000
Binary files a/docs/images/guides/ai-agents/landing.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/realworld-ui.png b/docs/images/guides/ai-agents/realworld-ui.png
new file mode 100644
index 0000000000000..bd0c942e7cc19
Binary files /dev/null and b/docs/images/guides/ai-agents/realworld-ui.png differ
diff --git a/docs/images/guides/ai-agents/tasks-ui.png b/docs/images/guides/ai-agents/tasks-ui.png
new file mode 100644
index 0000000000000..a51e6d933d18d
Binary files /dev/null and b/docs/images/guides/ai-agents/tasks-ui.png differ
diff --git a/docs/images/guides/ai-agents/workspace-details.png b/docs/images/guides/ai-agents/workspace-details.png
deleted file mode 100644
index 71e22d9604303..0000000000000
Binary files a/docs/images/guides/ai-agents/workspace-details.png and /dev/null differ
diff --git a/docs/images/guides/ai-agents/workspace-page.png b/docs/images/guides/ai-agents/workspace-page.png
new file mode 100644
index 0000000000000..0d9c09ac5c675
Binary files /dev/null and b/docs/images/guides/ai-agents/workspace-page.png differ
diff --git a/docs/images/guides/ai-agents/workspaces-list.png b/docs/images/guides/ai-agents/workspaces-list.png
deleted file mode 100644
index 32e07d0c41cf9..0000000000000
Binary files a/docs/images/guides/ai-agents/workspaces-list.png and /dev/null differ
diff --git a/docs/manifest.json b/docs/manifest.json
index 7deb94fdf56a9..9b85e634dce14 100644
--- a/docs/manifest.json
+++ b/docs/manifest.json
@@ -816,59 +816,40 @@
"description": "Learn how to run and integrate agentic AI coding agents like GPT-Code, OpenDevin, or SWE-Agent in Coder workspaces to boost developer productivity.",
"path": "./ai-coder/index.md",
"icon_path": "./images/icons/wand.svg",
- "state": ["beta"],
"children": [
{
- "title": "Learn about coding agents",
- "description": "Learn about the different agentic AI agents and their tradeoffs",
- "path": "./ai-coder/agents.md"
+ "title": "Best Practices",
+ "description": "Best Practices running Coding Agents",
+ "path": "./ai-coder/best-practices.md"
},
{
- "title": "Create a Coder template for agents",
- "description": "Create a purpose-built template for your agentic AI agents",
- "path": "./ai-coder/create-template.md",
- "state": ["beta"]
- },
- {
- "title": "Integrate with your issue tracker",
- "description": "Assign tickets to agentic AI agents and interact via code reviews",
- "path": "./ai-coder/issue-tracker.md",
- "state": ["beta"]
- },
- {
- "title": "Model Context Protocols (MCP) and adding AI tools",
- "description": "Improve results by adding tools to your agentic AI agents",
- "path": "./ai-coder/best-practices.md",
- "state": ["beta"]
- },
- {
- "title": "Supervise agents via Coder UI",
- "description": "Interact with agentic agents via the Coder UI",
- "path": "./ai-coder/coder-dashboard.md",
- "state": ["beta"]
- },
- {
- "title": "Supervise agents via the IDE",
- "description": "Interact with agentic agents via VS Code or Cursor",
- "path": "./ai-coder/ide-integration.md",
- "state": ["beta"]
- },
- {
- "title": "Programmatically manage agents",
- "description": "Manage agentic agents via MCP, the Coder CLI, and/or REST API",
- "path": "./ai-coder/headless.md",
- "state": ["beta"]
+ "title": "In the IDE",
+ "description": "Run IDE agents with Coder",
+ "path": "./ai-coder/ide-agents.md"
},
{
- "title": "Securing agents in Coder",
- "description": "Learn how to secure agentic agents with boundaries",
- "path": "./ai-coder/securing.md",
- "state": ["early access"]
+ "title": "Coder Tasks",
+ "description": "Run Coding Agents on your Own Infrastructure",
+ "path": "./ai-coder/tasks.md",
+ "state": ["beta"],
+ "children": [
+ {
+ "title": "Custom Agents",
+ "description": "Run custom agents with Coder Tasks",
+ "path": "./ai-coder/custom-agents.md",
+ "state": ["beta"]
+ },
+ {
+ "title": "Security \u0026 Boundaries",
+ "description": "Learn about security and boundaries when running AI coding agents in Coder",
+ "path": "./ai-coder/security.md"
+ }
+ ]
},
{
- "title": "Custom agents",
- "description": "Learn how to use custom agentic agents with Coder",
- "path": "./ai-coder/custom-agents.md",
+ "title": "MCP Server",
+ "description": "Connect to agents Coder with a MCP server",
+ "path": "./ai-coder/mcp-server.md",
"state": ["beta"]
}
]
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy