You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@@ -9,21 +9,25 @@ Coder Tasks is best for cases where the IDE is secondary, such as prototyping or
9
9
> [!NOTE]
10
10
> 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.
11
11
12
-
## Supported Agents (and Models)
12
+
## Supported Agents
13
13
14
14
Any terminal-based agent that supports Model Context Protocol (MCP) can be integrated with Coder Tasks, including your own custom agents.
15
15
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
17
19
18
20
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.
19
21
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
+
20
24
## Architecture
21
25
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.
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.
27
31
28
32
## Getting Started with Tasks
29
33
@@ -44,7 +48,15 @@ To import the template and begin configuring it, follow the [documentation in th
44
48
> [!NOTE]
45
49
> The Tasks tab will appear automatically after you add a Tasks-compatible template and refresh the page.
46
50
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
48
60
49
61
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.
50
62
@@ -74,6 +86,39 @@ Because Tasks run unpredictable AI agents, often for background tasks, we recomm
74
86
75
87
Alternatively, follow our guide for [custom agents](./custom-agents.md).
76
88
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.
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
+
77
122
## Customizing the Task UI
78
123
79
124
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