Chat
Status: Ready
Truth label: Limited
Audience: New builder, Fleet operator
Reader outcome: Send a chat turn with the exact provider, lens, register, sources, and mode you intended, then prove what reached the model.
Last verified: 2026-09-12
Full guides: Brain, Voice pipeline, Writing modes and turn inspection, Chat defaults
The controls beside the composer
Open Chat settings directly above the composer to expand the current prompt controls without leaving Chat. Controls wait for discovery and saved settings to finish loading before accepting edits. Collapse the panel to keep writing; the unsent message and selected values stay intact. The summary below the composer shows the current model and writing controls.
Change these controls before each prompt. Send and Queue retain the selected settings for that prompt, so later changes do not alter queued requests. Prompts queued during initial loading use the resolved startup settings. Shared defaults and operating configuration remain in Settings.
| Control | What it changes |
|---|---|
| Provider and model | Which service generates the reply |
| Reasoning lens | Which analytical guidance and which influence sources are emphasized |
| Voice register | Delivery only. It must not change facts or decisions |
| Sources | Which imported books and passages are eligible |
| Scope | Internal or an existing client scope |
| Audience and format | Optional writing context, also used to select applicable samples and context |
| Writing mode | Auto, Write as me, or Assist |
| Sampling controls | Temperature, top-p, penalties, seed, stop sequences, reasoning effort |
| Polish | The optional second local model pass |
The summary line under the composer names the current voice, lens, mode, source mode, and polish state.
Two things are separate on purpose. The reasoning lens chooses evidence and principles. The voice register chooses delivery. Changing one does not change the other.
Providers
Configured providers are ollama, openai, anthropic, and google. Chat
and embeddings are configured separately, and the embedding identity is pinned
per collection. See
Configuration reference.
Brain validates generation controls per provider and per model before sending the request. Unsupported fields are rejected rather than silently dropped. Temperature and top-p cannot be set together. An unspecified provider default stays unknown instead of being guessed.
Writing modes
Choose Auto, Write as me, or Assist beside audience and format.
- Write as me drafts the requested deliverable from the operator's perspective in the selected voice.
- Assist keeps the thinking-partner perspective.
- Auto uses draft mode when a format is supplied, or when the message starts with a writing verb such as draft, write, rewrite, edit, compose, or polish. It accepts simple prefixes such as please or can you. Everything else resolves to assist.
Both modes preserve facts, attribution, qualifications, and the requested format. Drafting does not send or publish anything. Third-party sources remain evidence and influences: their personal facts and writing identity do not become the operator's.
Choose the mode explicitly when that simple rule does not match your intent. The actual resolved mode is recorded with each reply.
Sources and general knowledge
The Sources control selects reference material. It does not change the voice or approve a book as a writing example. Four modes exist:
| Mode | Imported sources eligible |
|---|---|
| Follow the reasoning lens | Its configured groups plus ungrouped material |
| Only selected sources or groups | Explicit ids, or members of an included group. An empty selection supplies none |
| All published sources | Every published library source, subject to exclusions |
| No imported sources | None |
Explicit source, group, and passage exclusions always win. A separate general knowledge checkbox controls automatic notes, learnings, conversations, and project memory plus the bound memory and conversation tools. It does not remove the current request, attachments, conversation history, voice instructions, or approved voice examples.
Full selection management is in Sources and influences.
Attachments
Attach files or folders to a conversation from the directories named by
AA_ATTACHMENT_ROOTS. Each attached-file chip has its own inclusion checkbox,
and Use enabled conversation attachments in Sources controls the category
as a whole.
Boundaries worth knowing:
- Imported PDF and EPUB attachments still obey imported-source choices. An exact byte copy of a managed original uses only its eligible published passages, even after renaming, so raw original text cannot bypass reviewed text or passage exclusions.
- Word attachments use the managed Word reader and carry extraction notes.
- Attachment content shares one per-turn budget based on the selected provider's context settings. Changing a file after attaching it cannot multiply it.
- Generation settings report which attachments were included, excluded, unavailable, or shortened.
Leaving AA_ATTACHMENT_ROOTS unset means the act of picking is the only gate.
Set it whenever Brain is reachable off loopback.
Reference boundaries
Literal reference-boundary markers are escaped inside sources, attachments, and
polish drafts. Ordinary code operators such as a < b are unchanged, and the
operator's current message stays intact. Generation metadata records
neutralized markers found in automatic source and attachment rendering. This is
fixed behavior, not a setting.
Streaming and saving
Streaming and non-streaming chat use the same preparation and completion path. Voice resolution, samples, operator context, references, attachment allocation, polish, source counts, usage, and traces follow one code path, so a streamed reply and a synchronous reply resolve identically.
An interrupted stream does not save a partial answer as completed conversation memory.
Conversation auto-save is off by default. Cortex keeps the active conversation identifier locally. Named snapshots are in Conversations.
Inspect a reply
Three inspection surfaces exist, at increasing depth.
- Generation settings under a reply. Names the resolved provider and model, the settings origin, the applied context records and versions, source counts, selected example ids and reasons, and omission reasons.
- Inspect writing turn. Shows the frozen settings, the final answer, the original model draft, the retained polish candidate, and the revision decision. Expand Model inputs after context allocation to see each reasoning round's system instructions, user and history messages, tool results, and tool schemas. Export downloads the record and its captured content as JSON, including private prompt and draft text.
- Source buttons beside a reply, which open the exact indexed passage a citation refers to.
Those inputs are application inputs before provider serialization. They describe that run. Cortex does not reconstruct them from today's packs. Older turns without captures say so, and each artifact read has an 8 MB limit.
A generation report shows what was supplied. It does not establish which evidence caused the wording.
Polish
The optional polish pass is off by default. A candidate revision must preserve fact locks and pass regression checks before it can replace the original. When a candidate is flagged, the reply carries a Voice polish: before and after panel. Full behavior is in Quality and feedback.
Rate a reply
Every recorded chat reply has Good reply, Needs work, and Rating details. Ratings attach to the exact retained turn and Brain supplies the voice, provider, model, and conversation identity from its own trace, so a caller cannot substitute that context. A rating does not approve a voice example, change retrieval weights, or alter the original response. See Reply ratings.
Dispatch work from chat
Brain's task tool creates Forge tasks. Those requests carry a JSON writing snapshot with the resolved voice instructions, lens and source group definition, audience, format, and eligible retrieved examples, identified by a content hash. Only cloud-allowed retrieved examples are forwarded, because the worker engine may differ from the Brain provider. The task, the worker prompt, and the Cortex task drawer retain the snapshot, and queued follow-ups inherit it.
Chat task creation inherits project supervision when no override is requested. The same tool accepts a structured brief, an optional managed method id, and an optional exact revision.
Identical dispatches within one Brain turn reuse a request id and the complete first submission. A different turn can intentionally request the same title again.