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
@@ -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 |