refactor: remove agents TUI (#25190)

This commit is contained in:
Michael Suchacz
2026-05-13 21:30:11 +02:00
committed by GitHub
parent 660fa9478f
commit 38f586107d
23 changed files with 13 additions and 10197 deletions
+2 -2
View File
@@ -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 |
+1 -2
View File
@@ -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.
![Coder Agents chat interface with git diff sidebar](../images/agents-hero-image.png)
-28
View File
@@ -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.
-1
View File
@@ -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 |