Chat sessions and turns
Chat shows what each turn did and what it cost:
- Turn inspector — a resizable panel (overlay on narrow windows) with Overview, Steps and Run trace tabs. The Run trace tab renders the framework’s real JSONL trace (Frames and Timeline views, with the timeline’s category filters), with Copy and Download actions. Each run’s header, main run and sub-agents alike, links to that run’s page in the run view.
- Transcript — a turn reads as the agent replying: its prose between steps, with the tool calls in between folded into one row per group (
Ran 7) that shows one badge per tool (web-search ×2, overflow as+2). A tool that failed gets a red badge and a1 failedcount, and is never hidden in the overflow. Expand a group to see each call. - Run endings — a turn that failed, abstained or stopped partial ends with a note saying so and why. A failed run’s answer area stays empty, so harness text is never shown as the agent’s answer.
- Sub-agent cards — delegated agents appear as compact cards under a header such as
4 agents · 1 failed. Each card shows a status dot (running, done, failed, abstained), its goal status,2 tools · 20s · $0.003and one line of its latest activity. Clicking a card opens a side drawer with that agent’s own transcript; Escape, the close button or a click outside closes it. - Turn header — each agent turn names the model it ran on, a chip naming the strategies the run reported using (its own and its sub-agents’, for example
ReAct + Reflexion, never the configured one) and its token usage (2.8k in · 560 out;~marks a half the provider did not report, and the hover text says so without claiming it is still streaming). - Output speed — beside the token usage, a live
~38 tok/sestimate while the reply streams (from the streamed text), then the measured speed and time to first token once the model call completes (32 tok/s · TTFT 8.7s). Speed is output tokens over generation time, after the first token. A call that did not report when its first token came shows a lower bound marked~(its time includes the wait before output). The run view shows the same per loop on each trace row and the run average in its vitals line, and the Model page shows the median speed and time to first token over the model’s last 20 recorded runs (lower-bound rates are never mixed into an exact median). - Action row — under each message: the relative time (absolute on hover) and copy. For an assistant turn the row reads
Ran 2m 05s · finished 3 minutes agoplus rerun, trace and fork; the buttons show on hover or focus and always on the last turn. A turn that did not finish offers Retry in its closing note instead. While a turn runs, a liveRunning 12stakes the place of the finish time. User messages get copy, edit and rewind. - Cost — each turn’s cost is persisted; the conversation total sits beside the context meter. Unknown pricing or a failed child shows “—” or “≥ $x”, never a silent $0.
- Live checklist — a Goals 1/2 pill in the turn footer for the run’s real goal checks (gate truth, evaluated per run). The built-in “produce a substantive answer” check is hidden unless it blocked the run; a turn with only that check shows no card. The pill opens on its own while a plan runs, when a goal is unmet, or when the exit gate stopped the run. Alongside it, “Agent’s to-do” (advisory, never counted toward done). Chat agents get the
todotool on by default for new chat sessions (viachatDefaultConfig); older sessions keep the config they were saved with. - Inferred progress — a to-do the agent never ticked can still show as done when the run’s ledger holds deterministic evidence for it (for example a successful tool call or written file named in the item). Those rows get a dashed check, and hovering shows
Inferred from <kind>: <detail>. Inferred is advisory: it counts like any advisory done row, explicit marks by the agent or you win, and nothing about it is sent to the model. Pending rows left after a finished turn are labelled “not marked done”. This is a display aid, not a measured improvement. - Conversation to-do dock — the to-do list belongs to the conversation, not to one message. It is persisted per session, seeded into each following turn, and shown in a dock above the chat input where you can edit it. The opt-in Keep to-do list current setting (off by default) adds reminder and system-line guidance nudging the agent to update its list; it is experimental and its effect on to-do status updates has not been lift-measured. On
cogito:14b(n=1) with guidance on, to-do statuses did not move. - Context ring — the context-usage ring persists between runs instead of resetting to empty.
- Model page link — the provider and model in a turn link to
/models/<provider>/<model>. - Live model pickers — pickers list the models each provider serves right now (Anthropic, OpenAI, Gemini, Groq, xAI, Ollama, LiteLLM) and fall back to the known models (framework presets, then ids the PriceBook prices, the latter under “Known models (not confirmed live)”), with a note saying why, when discovery fails, the account is out of credits, or no key is set.
- Export —
/export [md|json|jsonl]or the header menu downloads the conversation. - Failed turns — a turn whose run failed carries a did not finish badge and a Run error line with the run’s cause (for example the provider’s “400 Your credit balance is too low”), live and after reload. The run’s failure toast shows the same line; each run gets one end toast. A turn that fails before the model answers (a model that is not pulled, a provider without a key, a refused request) keeps your message and ends the same way, with the cause and Retry.
- Waiting for the model — between sending and the model’s first token (and again after a tool call while the next model call is out) the turn reads Waiting for the model · 12s, or Waiting for Ollama (loading the model or queued) for Ollama, which loads models on demand and serves one request per model at a time. “Thinking” is shown only once the model is producing output.
Rich answers and deliverables
Section titled “Rich answers and deliverables”- Rich answers and deliverables — a long answer, one with headings, or one whose run wrote files gets a slim toolbar that stays flush at the top of the pane while you read that answer and lets go at its end: Copy answer (rich text, pastes formatted), a Copy or save menu (Copy as Markdown, save as Markdown or a standalone web page) and an Outline of its headings that scrolls to each, landing below the bar. In a narrow pane the buttons show icons only. The answer renders tables, code blocks with a language label and copy,
> [!NOTE]/[!TIP]/[!IMPORTANT]/[!WARNING]/[!CAUTION]callouts, task lists, math and links. Model output is untrusted: links open only ashttp(s)pages in a new tab that cannot reach back (ormailto:), and ajavascript:,data:,file:or relative link loses its address. Under the answer a Deliverables strip lists what the run produced, read from its own tool calls (files written, edits as a patch, the typed result) and its receipt, never guessed from the prose. Each card previews (a report as rendered Markdown), copies and downloads what Cortex knows of it; a file’s bytes stay on disk, so a preview of a long file says it was cut. The run view’s Answer uses the same component.
Environment changes between turns
Section titled “Environment changes between turns”A chat session can change under the model: you switch the model or thinking, add or drop tools, skills or /docs sources, an agent-control or goal state changes, or you add or remove rows in the agent’s to-do list. When any of that differs from the end of the previous turn, the next turn carries one short, capped notice listing what changed (for example “Model changed: a to b”), and a single environment-updated event is recorded in the trace. When nothing changed, nothing is sent and the request is identical to a session without this feature. The first turn of a conversation never carries the notice: with no earlier turn to compare against, its environment becomes the baseline. Within one run the model sees the notice at most once, even when a strategy runs several passes. The diff is computed deterministically from the session config, with no model call; the tool list is derived from the session’s configured tools. The notice is informational only; it is not claimed to improve answers. Set environmentUpdates: false in the session config to turn it off.
Part of Chat and composer.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases