Skip to main content

Chat

The Chat panel is the third column in the Workspace. It lets you have a focused, threaded conversation with the architxt agent about the entities, memories, and relationships in the active Hindsight bank. Each research session can contain multiple isolated chat threads, so you can keep separate conversations for different questions.

Where it lives​

The Chat panel sits to the right of the curated-page area in the Workspace. You can show or hide it with the Chat toggle in the top control bar, and you can resize it by dragging the handle between the page area and the chat column.

Chat threads​

A thread is an independent conversation inside a research session. The thread bar at the top of the chat column lists open threads and provides controls for managing them.

ActionHow to use it
Create a normal threadClick the + button. New threads are named Chat 1, Chat 2, and so on.
Create an AQL threadClick the AQL button (architxt icon) next to the + button. New AQL threads are named aql1, aql2, and so on.
Switch threadsClick a tab, or choose a thread from the dropdown. The dropdown also lists threads that have been closed but still exist.
Rename a threadClick the pencil button and type a new name.
Delete a threadClick the trash button. Deleting a thread removes all of its messages.
Close other tabsClick the X button to close every thread tab except the active one. The threads themselves remain available from the dropdown.

Threads are tied to the selected research session. Switching sessions switches to that session's set of threads. Open threads and the active thread are restored when you return, and the Workspace does not automatically open a thread when it first loads.

Sending a message​

The chat input is a CodeMirror editor that behaves like a small text area with autocomplete:

Type a plain-language question about the bank, for example "What depends on the billing service?" or "Explain the customer onboarding flow."

  • [[ opens the entity/edge reference completer. Choose an entity to insert a canonical reference such as [[Billing Service (Component:EXAMPLE-001)]].
  • ## opens the block-reference completer if the current chat turn produced an AQL query with named blocks.
  • Press Enter to send.
  • Press Alt+Enter or Shift+Enter to insert a new line without sending.

The placeholder text changes depending on the thread type:

Thread typePlaceholder guidance
Normal chatAsk questions to retrieve summary, graph and contextual data. Type [[ to show entities and edge list.
AQL threadDescribe the AQL query you want to build. Type [[ to reference entities and edges. Every response generates a structured AQL query.

Messages are saved as you send them, so reloading the page or returning later restores the thread history.

AQL threads​

An AQL thread is a dedicated conversation that builds structured AQL queries. Use it when you want the agent to help you compose an AQL query for a Reflect request, a mental model, or a curated-page section rather than just answering a free-form question.

What makes AQL threads different:

  • Every agent response renders a generated AQL query in addition to any explanation.
  • The query appears in a readable, wrapped block under Generated AQL in the response envelope.
  • The chat input placeholder reminds you that every response produces a structured AQL query.
  • AQL threads are badged with the architxt icon and a purple accent on the tab.

You can use the generated AQL in two ways:

  • Copy AQL to Reflect input — hover the generated AQL output and click the Copy AQL button in the top-right hover group. This copies the raw AQL into the Reflect query input so you can run it as a Reflect query. If the Reflect input already contains text, a standard confirmation dialog warns you before overwriting it.
  • Add to page — like any other envelope section, you can copy the AQL or its explanation into a curated page.
Start with intent, not syntax

You do not need to write perfect AQL in an AQL thread. Describe what you want, for example "Show me a graph of everything that calls the Payment Gateway", and let the agent generate the block directives and references for you.

Chat options​

The chat panel has two switches above the input that control how the agent handles normal chat messages. They do not change how the input looks; they change what the agent does after you send a message.

OptionDefaultWhat it does
Parse EntitiesOnScans your message for entity names, [[...]] references, and edge mentions. Any matches are resolved to canonical type:entity_id form and passed to recall, so the agent can retrieve facts about those specific entities. When off, the agent treats your message as plain text and does not resolve entity references.
Contextual ListOffAfter the agent produces an answer, looks up the mental models attached to the entities in the answer (node summaries, plain models, derived models, and edge-context models) and shows them in a card below the reply. This gives quick links to related contextual data without leaving the chat. When off, the response shows only the synthesized answer and any graph.

In an AQL thread the Contextual List switch is disabled, because AQL threads focus on producing a query rather than collecting contextual models.

How the agent responds​

  1. Entity resolution — extracts any entity or edge references from your message and resolves them to canonical type:entity_id form.
  2. Recall from Hindsight — when the session is backed by a Hindsight bank, the agent runs a recall query against world facts and observations, weighted toward the resolved entities.
  3. Synthesis — a reasoning model summarizes the recalled memories as a concise IT-architect-style answer. The response is plain prose; inline source markers such as [1] or 【...】 are forbidden.
  4. Graph merge — edge-context graphs for the resolved and synthesized entities are merged into a single graph you can inspect.
  5. Contextual items — attached mental models for the same entities are collected and shown below the response.

The final reply is rendered as a unified envelope: narrative, graph, and contextual items in one place.

Reading the response​

PartWhat it shows
Agent response cardThe synthesized answer, collapsed to a fixed height by default. Click Show more to expand it, or Show less to collapse it.
Envelope viewerIf the response has structured sections, the card renders the full EnvelopeViewer with the usual controls. Use Add to page to copy a section into the active curated page.
Graph button / evidence iconOpens the merged edge-context graph. Evidence collected from the graph edges is available in the evidence modal.
Contextual data cardLists mental models attached to the entities in the response: node summaries, capability models, discovery models, and edge-context models. Each item shows the entity name, model role, and title. Empty unless Contextual List is enabled.
Generated AQL blockAppears only in AQL threads. Shows the structured AQL query the agent built for your request, ready to be copied into Reflect.

The agent response card shows the model name and token count at the bottom when the reply came from the LLM synthesizer.

Contextual data card​

The card below an agent reply works like a compact version of the main Contextual data panel:

  • ALL / NODES / EDGES toggles filter the list by scope.
  • Type in the search box to filter by entity name, id, role, or model title. Searches are multi-word AND, so ime charging matches items that contain both words somewhere in their visible fields.
  • Click an item to open its model in the current curated-page tab, or click the external-link icon to open it in a new tab.
  • Items are deduplicated and sorted by role scope: entity summaries first, then capability models, discovery models, and edge-context models.

How it fits into the Workspace​

Research session
│
├── Reflect queries ──► Preview / results
├── Curated pages ──► Editable findings
└── Chat threads ─────► Agent-driven Q&A with recall + graph

Chat reuses the same entity resolver, recall, and contextual-data paths as Reflect and the Contextual Graph Manager. The difference is that Chat wraps them in a conversational thread with synthesized answers and a merged evidence graph.

Summary​

  • Chat is a third Workspace column with threaded conversations per session.
  • Threads can be created, renamed, deleted, and reopened from the dropdown.
  • The agent resolves entities, recalls memories, synthesizes an answer, and merges edge-context graphs.
  • Replies render as unified envelopes with narrative, graph, evidence, and attached mental models.
  • Use the response controls to add sections directly to a curated page.