



edee917d88
feat: add experimental agents support (#22290)
feat: add AI chat system with agent tools and chat UI
Introduce the chatd subsystem and Agents UI for AI-powered chat
within Coder workspaces.
- Add chatd package with chat loop, message compaction, prompt
management, and LLM provider integration (OpenAI, Anthropic)
- Add agent tools: create workspace, list/read templates, read/write/
edit files, execute commands
- Add chat API endpoints with streaming, message editing, and
durable reconnection
- Add database schema and migrations for chats, chat messages, chat
providers, and chat model configs
- Add RBAC policies and dbauthz enforcement for chat resources
- Add Agents UI pages with conversation timeline, queued messages
list, diff viewer, and model configuration panel
- Add comprehensive test coverage including coderd integration tests,
chatd unit tests, and Storybook stories
- Gate feature behind experiments flag
---------
Co-authored-by: Cian Johnston <cian@coder.com>
Co-authored-by: Danielle Maywood <danielle@themaywoods.com>
Co-authored-by: Jeremy Ruppel <jeremy@coder.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 16:50:56 +00:00
..
2026-02-24 23:56:58 -06:00
2026-01-08 15:24:11 +04:00
2023-11-20 19:16:18 +00:00
2026-01-08 15:24:11 +04:00
2026-02-03 17:52:07 +00:00
2025-06-20 13:16:55 -06:00
2022-08-22 15:02:50 -07:00
2026-02-20 16:09:12 +11:00
2025-06-16 16:15:59 -06:00
2026-02-27 14:26:48 +00:00
2026-01-08 15:24:11 +04:00
2026-02-23 22:46:17 -06:00
2024-11-15 12:30:11 -06:00
2025-07-09 08:45:24 -06:00
2026-01-08 15:24:11 +04:00
2026-02-17 15:43:02 +01:00
2026-02-26 02:40:45 +11:00
2026-01-08 15:24:11 +04:00
2026-01-26 10:46:45 +01:00
2025-12-29 18:00:06 +00:00
2025-10-22 15:35:16 +02:00
2024-09-18 21:47:53 +10:00
2025-02-24 12:59:41 -05:00
2025-06-20 13:16:55 -06:00
2026-02-27 16:50:56 +00:00
2026-02-27 16:50:56 +00:00
2026-02-20 20:15:32 +11:00
2026-02-27 16:50:56 +00:00
2025-07-15 15:03:30 +10:00
2025-09-15 12:30:17 +10:00
2025-07-09 08:45:24 -06:00
2025-12-15 11:26:41 -06:00
2026-02-03 17:52:07 +00:00
2025-09-30 23:54:21 +01:00
2025-01-31 12:14:24 -07:00
2025-08-20 23:38:09 +10:00
2025-06-17 17:50:18 -04:00
2025-06-20 13:16:55 -06:00
2025-10-22 16:12:36 +02:00
2026-02-28 00:23:41 +11:00
2025-10-23 14:24:54 +02:00
2025-03-26 01:56:39 -05:00
2024-09-27 14:06:16 -05:00
2026-01-12 18:19:19 -08:00
2025-06-20 13:00:39 -05:00
2025-07-02 15:05:42 +00:00
2026-01-08 15:24:11 +04:00
2026-01-09 15:40:26 -07:00
2025-06-20 13:16:55 -06:00
2025-01-30 14:08:27 -07:00
2025-10-23 14:24:54 +02:00
2024-05-15 09:46:35 -05:00
2026-02-03 17:52:07 +00:00
2026-02-03 17:52:07 +00:00
2025-02-10 09:31:08 -06:00
2025-12-17 16:49:40 +04:00
2026-01-08 15:24:11 +04:00
2026-01-08 15:24:11 +04:00
2026-02-03 17:52:07 +00:00
2024-09-16 19:03:25 -05:00
2026-02-13 08:19:07 -06:00
2024-08-26 13:05:03 -05:00
2026-01-21 13:18:43 +00:00
2025-08-19 11:00:40 +00:00
2025-12-17 17:28:38 +00:00
2025-06-16 16:15:59 -06:00
2025-06-20 13:16:55 -06:00
2026-02-27 00:07:14 +11:00
2026-02-27 00:07:14 +11:00
2024-12-19 00:51:30 +04:00
2025-12-15 11:26:41 -06:00
2026-01-08 15:24:11 +04:00
2026-02-23 08:30:32 -08:00
2026-02-23 08:30:32 -08:00
2026-01-14 09:47:50 -08:00