mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor: remove agents TUI (#25190)
This commit is contained in:
+2
-2
@@ -31,8 +31,8 @@ workspace infrastructure.
|
||||
[Coder Agents](./ai-coder/agents/index.md) is a native AI coding agent built
|
||||
into Coder. The agent loop runs in the Coder control plane on your
|
||||
infrastructure, not in the workspace and not in a vendor's cloud. Developers
|
||||
interact with agents through the web UI, the CLI (`coder agents`), or the REST
|
||||
API for programmatic and CI-driven workflows.
|
||||
interact with agents through the web UI or the REST API for programmatic and
|
||||
CI-driven workflows.
|
||||
|
||||
- **Self-hosted agent loop**: The control plane handles planning, model
|
||||
calls, and tool dispatch. Workspaces have zero AI awareness.
|
||||
|
||||
@@ -687,23 +687,14 @@ Chats API returns a `Chat` object with conversation-centric fields:
|
||||
|
||||
## CLI changes
|
||||
|
||||
The Tasks CLI (`coder task`) and the Coder Agents CLI are separate. Coder
|
||||
ships an experimental TUI for Coder Agents at `coder exp agents` (planned
|
||||
to graduate to `coder agents` in the May Beta release per
|
||||
[#24432](https://github.com/coder/coder/pull/24432)). The TUI talks to the
|
||||
same `/api/experimental/chats` endpoints documented in this guide; for
|
||||
automation, prefer direct API calls.
|
||||
The Tasks CLI (`coder task`) remains separate from the Coder Agents Chats API.
|
||||
Coder no longer ships an interactive Coder Agents TUI. Use the web UI for
|
||||
interactive chat and direct API calls for automation.
|
||||
|
||||
| Tasks CLI | Chats equivalent |
|
||||
|---------------------|-----------------------------------------|
|
||||
| `coder task create` | `coder exp agents` TUI or `POST /chats` |
|
||||
| `coder task list` | `coder exp agents` TUI or `GET /chats` |
|
||||
| `coder task logs` | `GET /chats/{chat}/stream` (WebSocket) |
|
||||
| `coder task pause` | `POST /chats/{chat}/interrupt` |
|
||||
| `coder task resume` | Send a follow-up message to the chat |
|
||||
|
||||
> [!NOTE]
|
||||
> The Coder Agents CLI today is an interactive TUI rather than a set of
|
||||
> per-action subcommands like `coder task`. Use `curl`, the SDK, or your
|
||||
> HTTP client of choice for non-interactive automation. Dedicated
|
||||
> non-interactive subcommands may be added in a future release.
|
||||
| Tasks CLI | Chats equivalent |
|
||||
|---------------------|----------------------------------------|
|
||||
| `coder task create` | Web UI or `POST /chats` |
|
||||
| `coder task list` | Web UI or `GET /chats` |
|
||||
| `coder task logs` | `GET /chats/{chat}/stream` (WebSocket) |
|
||||
| `coder task pause` | `POST /chats/{chat}/interrupt` |
|
||||
| `coder task resume` | Send a follow-up message to the chat |
|
||||
|
||||
@@ -24,8 +24,7 @@ deployment.
|
||||
Coder Agents is a native AI coding agent built into Coder. The agent loop runs
|
||||
in the Coder control plane on your infrastructure rather than inside the
|
||||
workspace, so workspaces can be completely network isolated. Developers
|
||||
interact with agents through the web UI, the CLI (`coder agents`), or the
|
||||
REST API.
|
||||
interact with agents through the web UI or the REST API.
|
||||
|
||||

|
||||
|
||||
|
||||
Generated
-28
@@ -1,28 +0,0 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
# agents
|
||||
|
||||
Interactive terminal UI for AI agents.
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder agents [flags] [chat-id]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### --workspace
|
||||
|
||||
| | |
|
||||
|------|---------------------|
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Associate the chat with a workspace by name, owner/name, or UUID.
|
||||
|
||||
### --model
|
||||
|
||||
| | |
|
||||
|------|---------------------|
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Choose a model by ID, provider/model, or display name.
|
||||
Generated
-1
@@ -24,7 +24,6 @@ Coder — A tool for provisioning self-hosted development environments with Terr
|
||||
|
||||
| Name | Purpose |
|
||||
|--------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [<code>agents</code>](./agents.md) | Interactive terminal UI for AI agents. |
|
||||
| [<code>completion</code>](./completion.md) | Install or update shell completion scripts for the detected or chosen shell. |
|
||||
| [<code>dotfiles</code>](./dotfiles.md) | Personalize your workspace by applying a canonical dotfiles repository |
|
||||
| [<code>external-auth</code>](./external-auth.md) | Manage external authentication |
|
||||
|
||||
Reference in New Issue
Block a user