Expand description
The agent chat as a view an app can dock: the conversation (the user’s prompts, the agent’s
replies, its tool calls) and a prompt box. No network or model code: the pane emits
ChatEvents and the app pushes messages in. The conversation is plain data
(ChatMessage, serializable) so an app can record it (a session file) and restore it.
Structs§
- Chat
Context - What the chips above the prompt show: the workspace, where the agent runs, the model.
- Chat
Pane - The agent chat: a scrolling conversation (user, agent and tool-call rows) above a prompt box
with context chips. A tool call is one line (“Ran hist.find_cells · 2,539 cells”) that opens
to its JSON arguments and result. Agent text streams in with
ChatPane::append_agent. - Tool
Call - A command the agent ran: its name, arguments, result and a one-line summary.
Enums§
- Chat
Event - What the pane asks of the app.
- Chat
Message - One message of the conversation.
- Location
- Where the agent works.