Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64fb886

Browse files
committed
Update AI tasks doc to include new coding agents
Add Codex, Gemini, and enhanced enterprise LLM provider instructions to the Coder Tasks documentation. This includes updates on supported agents, integration configuration, and architecture details to support a broadened range of task management capabilities.
1 parent 04fa027 commit 64fb886

File tree

1 file changed

+51
-6
lines changed

1 file changed

+51
-6
lines changed

docs/ai-coder/tasks.md

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Coder Tasks (Beta)
22

3-
Coder Tasks is an interface for running & managing coding agents such as Claude Code and Aider, powered by Coder workspaces.
3+
Coder Tasks is an interface for running & managing coding agents such as Claude Code, Codex, Gemini, and Aider, powered by Coder workspaces.
44

55
![Tasks UI](../images/guides/ai-agents/tasks-ui.png)
66

@@ -9,21 +9,25 @@ Coder Tasks is best for cases where the IDE is secondary, such as prototyping or
99
> [!NOTE]
1010
> 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.
1111
12-
## Supported Agents (and Models)
12+
## Supported Agents
1313

1414
Any terminal-based agent that supports Model Context Protocol (MCP) can be integrated with Coder Tasks, including your own custom agents.
1515

16-
Out of the box, agents like Claude Code and Goose are supported with built-in modules that can be added to a template. [See all modules compatible with Tasks in the Registry](https://registry.coder.com/modules?search=tag%3Atasks).
16+
Out of the box, agents like Claude Code, Codex, Gemini, and Aider are supported with custom-built modules that can be added to a template to convert them into Coder Tasks. [See all modules compatible with Tasks in the Registry](https://registry.coder.com/modules?search=tag%3Atasks).
17+
18+
## Enterprise LLM Providers and Proxies
1719

1820
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.
1921

22+
Configuration is Agent specific and further instructions can be found in the [Registry](https://registry.coder.com/modules?search=tag%3Atasks) for each of the supported agents.
23+
2024
## Architecture
2125

22-
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.
26+
Each task runs inside its own Coder workspace for isolation purposes. Agents like Claude Code, Codex, and Aider 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.
2327

2428
![High-Level Architecture](../images/guides/ai-agents/architecture-high-level.png)
2529

26-
Coder's [built-in modules for agents](https://registry.coder.com/modules?search=tag%3Atasks) 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.
30+
Coder's [custom-built modules for agents](https://registry.coder.com/modules?search=tag%3Atasks) 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.
2731

2832
## Getting Started with Tasks
2933

@@ -44,7 +48,15 @@ To import the template and begin configuring it, follow the [documentation in th
4448
> [!NOTE]
4549
> The Tasks tab will appear automatically after you add a Tasks-compatible template and refresh the page.
4650
47-
### Option 2) Create or Duplicate Your Own Template
51+
### Option 2) Use Any of Our Tasks Modules
52+
53+
We have a growing collection of agent modules that enable Coder Tasks in any existing Coder template. To start,
54+
55+
1. Find your favourite agent with Tasks support in Coder Regitsry
56+
1. Follow the instcrtion to edit your template and drop the agent module
57+
1. Refresh your browser to see Coder Tasks show up.
58+
59+
### Option 3) Create or Duplicate Your Own Template
4860

4961
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.
5062

@@ -74,6 +86,39 @@ Because Tasks run unpredictable AI agents, often for background tasks, we recomm
7486

7587
Alternatively, follow our guide for [custom agents](./custom-agents.md).
7688

89+
## Agent Identity and permissions
90+
91+
Some users may wish to or are requiredto run agents with their own identity and permissions.
92+
93+
### Git Identity
94+
95+
You can make use of `.gitconfig` to configure the identity of the agent. For example, you can configure the author and committer identities separately.
96+
97+
```tf
98+
resource "coder_agent" "main" {
99+
...
100+
env = {
101+
GIT_AUTHOR_NAME = "AI Bot"
102+
GIT_AUTHOR_EMAIL = "[email protected]"
103+
GIT_COMMITTER_NAME = "Jane Doe"
104+
GIT_COMMITTER_EMAIL = "[email protected]"
105+
}
106+
}
107+
```
108+
109+
### Permissions
110+
111+
You have two options here to either choose the developer orchestrating the agent's permissions as you are already doing with [External Auth](https://coder.com/docs/admin/external-auth) or inject a Bot specific PAT if the tasks are started by a [headless system user](https://coder.com/docs/admin/users/headless-auth) as shown below:
112+
113+
```tf
114+
resource "coder_agent" "main" {
115+
...
116+
env = {
117+
GITHUB_TOKEN = "ghp_1234567890abcdef" # Inject a Bot specific PAT
118+
}
119+
}
120+
```
121+
77122
## Customizing the Task UI
78123

79124
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.

0 commit comments

Comments
 (0)