Agent workspace

Entry point: Code in the left navigation (route /code). Chat and coding sessions share one screen: a group / topic / session tree on the left, the message stream on the right. /chat and /work redirect here.

Agent workspace: session tree, message stream, tool calls and input toolbelt
Click for full size

Sessions and topics

ConceptBehaviour
GroupContainer for topics, used to partition by theme or project
TopicOwn model, system prompt, context window and history; any message can be forked into a new topic
Lazy creationNew sessions / topics only take a placeholder slot — nothing is written until the first message is sent (the title comes from its first 50 characters)
Message actionsCopy, edit and resend, delete; thinking traces collapse; long replies can be copied as Markdown

Streaming events

Replies stream over SSE and the UI renders each event type in its own block:

EventUI
deltaIncremental body text
thinkingCollapsible reasoning trace (when deep thinking is on)
tool call / resultTool name, arguments, output summary, expandable
web / knowledge / memory hitsHit list (title plus snippet) that links back to the source
todo planStructured plan from the todo tool, checked off live
steeringShown when a mid-run instruction is accepted
checkpointFile snapshot taken before a task
approval requestRisky operations ask for confirmation inline

Input toolbelt

ControlWhat it does
Web searchRewrites the query, searches, and injects results with citations
Knowledge baseVector recall over indexed notes, files and URLs
MemoryRecalls long-term memory scoped to global ∪ current session ∪ current project
Permission modeplan / readonly / ask / auto / bypass (see below)
ModelTemporary model override for this request
AgentApply a prompt preset (may bring its own tool allowlist and approvals)
Reasoning effortLow / medium / high — controls thinking and tool depth
/ menuType / to invoke a skill or agent
AttachmentsImages (for vision models) and files; very long pastes collapse into a block

Permission modes

ModeAllowed
planPlanning and discussion only — no file writes, no side-effecting commands
readonlyRead files and run read-only commands
ask (default)Every write or sensitive command asks for approval first
autoRoutine operations run directly; sensitive ones still ask
bypassEverything allowed — only sensible in disposable environments

Code sessions additionally have a run mode: interactive (confirm step by step) or Autopilot (run to completion). Approval granularity is configured per tool on the Agents page.

Request permission mode · tool allowlist · toggles Drain steering instructions injected mid-stream Model call chat-purpose model (overridable) Tool calls built-in / skills / MCP / work tools Permission check plan / readonly / ask / auto / bypass Execute and feed back results enter context, checkpoints recorded SSE events delta / thinking / tool_* / checkpoint UI rendering one block per event type Send queue fires after the turn, or send immediately
The agent loop: each iteration drains steering first, then calls the model, checks permissions, runs tools and streams progress over SSE; queued messages start the next turn.

Queue and mid-run steering

  • Queue: messages sent while a reply is streaming wait in a queue bar — edit, delete, send immediately, or let them fire after the current turn.
  • Steering: inject an instruction into the running turn; the agent picks it up at its next loop iteration. Useful for “stop touching that file”.

Context and compression

  • The ring indicator shows current context usage; compression can trigger near the threshold and posts a notice above the input.
  • Compression is driven by the pipeline configuration (when to trigger, target size, which model summarizes); both pre- and post-compression tokens are recorded in usage.

What a request carries

FieldValues / effect
Permission modeplan / readonly / ask / auto / bypass — decides whether tools need approval
Run modeinteractive / autopilot (code sessions)
ToggleswebSearch / knowledgeBase / memory / deepThinking
Reasoning effortlow / medium / high
Model and agentPer-request model override; an agent contributes its system prompt, tool allowlist and approvals
AttachmentsImages (multimodal) and files; very long text collapses into a block before sending

These toggles are cached per session in localStorage, so reopening a session restores the last state.

Distill a topic into a note

Four styles: summary, detailed, Q&A, or a custom prompt; streaming preview plus a notebook picker before saving.

Shortcuts

ActionKeys
New sessionAlt + N
Focus inputCtrl / ⌘ + L
Recall previous input↑ in the input box
Send / newlineEnter / Shift + Enter