Skip to content

Threads

Last updated November 5, 2026

On this page

A thread is a shared place where people and agents work on one goal. The conversation, the agents' runs, the documents being written (artifacts), the approvals the work needs and the decisions made all sit together in it, so anyone who joins later can read what happened and why.

This guide describes threads as they work today on the master branch. What is not possible yet is listed at the end.

Threads or a conversation with an agent#

The Threads page has two parts.

  • Talk to an agent lists the agents you work with. Clicking one opens Conversation with : a private thread between you and that agent. Use it when you want one agent to do one thing for you.
  • Your threads lists every thread you take part in, newest activity first. A thread has a goal and several participants. Use one when more than one person or agent is involved, when someone has to sign off, or when the work produces a document that will go through versions.
You want to Use
Ask an agent a question or give it a task A conversation (Talk to an agent)
Plan something with colleagues and agents A thread
Draft a document others will review A thread with an artifact
Get a named person's sign-off before the work is done A thread from a template that needs approval to close

A conversation has no artifacts, no Close button, no participants to manage and no @ list, and it stays between you and that one agent: pick a second agent there and the box offers "This is your conversation with SEO Analyst. Ask both in a new thread?" (see In a one-to-one conversation). Everything else below is about threads.

Starting a thread#

Open Threads and choose New thread.

Field What it does
Goal The thread's title. Say what the thread is for: "Q1 roadmap".
Template None (free-form), or a template. The list holds the shipped templates and those of the apps your company has installed, such as Release.
Participants Free-form only. Search and tick people and agents. Everyone you tick joins as a contributor.
Role slots Template only. One drop-down per role the template defines.

You are always the thread's owner. A template's owner slot (for example the roadmap's product manager) is filled by you and is not shown; the line under the template says so ("You are its product manager and its owner") and whether an approver signs off before it closes.

Each slot says what it is for: "signs off before it closes" (an approver), "takes part" (a contributor) or "reads only" (an observer). A slot lists only who may fill it:

  • A person slot (Engineering lead, Reviewer) lists people.
  • An agent slot (Product agent) lists only the agents you work with.
  • An open slot (Author, Responder) lists people, then Agents you work with.

Some agent slots start filled: Roadmap planning picks Product Agent and Analyst Agent, Release picks Release-notes writer, Customer ticket picks Support Agent, as long as you work with that agent. Change them if you like. Someone already chosen for one slot shows as "(in another role)" in the others and cannot be picked twice.

Create stays grayed out until the thread has a goal and every slot is filled; the line above it says what is missing ("Choose someone for Engineering lead").

Participants and roles#

The participants, runs, approvals, artifacts, decisions and tasks sit in the details panel, closed until you ask for it. In the thread's header, the stacked avatars ("+2" for more; a small orange dot on an agent that is working) open In this thread (below), Artifacts (with its count) opens the panel at the artifacts, and the panel icon at the far right opens or closes it. On a wide screen it sits beside the conversation; on a phone it covers it, with a close button at the top. Adding ?panel=artifacts (or participants, runs) to a thread's address opens it there.

Who is here, and what each agent did#

The header's avatars open In this thread, a small popover (a sheet rising from the bottom on a phone):

  • Agents, each with its last run here: its state, how long ago and what it cost ("Done · 5 min ago · $0.02"), or, while it works, what it is doing now ("Working now · Reading invoices", "Waiting for Ada Park to approve $250.00"). Beside it:
    • Ask puts the agent on the message box's chip (when you may ask it);
    • Runs opens the details panel at Runs, narrowed to that agent, and narrows the conversation to it;
    • ✕ removes it (the owner only, after a confirmation).
  • People, with their role here, and ✕ for the owner.
  • Add agent (anyone who may post) opens the agent picker to bring one in (see Adding an agent); Add people (the owner) opens the form below; All details opens the panel.

The details panel's Repeats lists the thread's repeats, with their next times and their owners' actions (see Repeats).

The details panel's Runs lists every run in the thread, newest first: the agent, what it was asked, and its state, time and cost, or its live line while it runs. Click one to open it in the run drawer. "Runs by Sales Assistant · Show all" says when the list is narrowed.

When a thread has two or more agents, a row above the conversation reads All and each agent's name: pick an agent to see only its part (what it was asked, what it said, its runs and approvals, when it joined); All shows everything again.

The header also holds back (to Threads), the thread's title with a menu (Copy link; Close thread for those who may close it; in a conversation, New conversation with the agent), the template it came from, and, when the thread has a budget, what it spent of it ("$0.03 of $5.00"). Threads cannot be renamed yet.

Owner Approver Contributor Observer Not in the thread
Read the thread yes yes yes yes only an admin
Post a message, mention someone yes yes yes no no
Ask an agent in the thread yes yes yes no no
Create or edit an artifact yes yes yes no no
Log a decision yes yes no no no
Add or remove people yes no no no no
Close a free-form thread yes no no no no
Close a thread whose template needs approval yes, once an approver has logged a decision yes, at any time no no no

An observer, or an admin who is not in the thread, sees the conversation and the details but no message box. In its place:

  • Observer: "You are an observer here: you can read this thread, but not post, ask its agents or edit its artifacts."
  • Admin not in the thread: "You can read this thread but you are not in it, so you cannot post in it. Its owner, , can add you."

Notes:

  • Contributors can propose in a message, but only owners and approvers record decisions.
  • Each person or agent appears once in a thread, at one role. If the same person is named twice when the thread is made, they keep the higher role.
  • A thread approver is not the same as the approver of an approval card. Who approves an agent's action (a refund, an email) is set by the company's policy, not by the thread. In the demo, a refund asked of the Churn-risk watcher in Maya's thread waits for Ada, who is not in the thread, and a thread participant who tries to decide it is refused. Whether a thread's approver should decide the approval cards in that thread is an open product decision.

Adding and removing people#

The owner sees Add people above the participant list, and Invite in the message box opens the same form.

  1. Choose Add people or Invite (on a phone the details panel closes first).
  2. Search and tick people, and agents you work with. Anyone already in the thread is left out of the list.
  3. Pick one role for everyone you ticked: Contributor, Approver or Observer.
  4. Choose Add. A note confirms "Added Eli Novak", and each person added gets an inbox item ("Pat Kim added you to 'Q1 roadmap' as observer"). People chosen when the thread is made get no such item.

To remove someone, the owner presses the ✕ on their row and confirms. The confirmation says what it means: they can no longer read or post in the thread, and a mention does not bring them back. The owner can add them again later.

Rules the screen and the server both keep:

  • Only the owner adds or removes, and the owner cannot remove themself.
  • You can add only agents you work with (agents that act for you).
  • On a thread whose template needs approval to close (Roadmap planning, Review, Release):
    • the approver must be a person; adding an agent as approver is refused;
    • the last approver cannot be removed or demoted. The refusal says: "Erin Walsh is the only approver of this Roadmap planning thread, which closes once an approver has logged a decision. Add another approver first, or ask Erin Walsh to log a decision and close it."
  • Nobody can be added to a closed thread.

People also join a thread without the owner adding them: see Mentions and asking an agent.

Adding an agent#

Three ways open the agent picker to add one: Add agent in the header's In this thread, Add agent in the message box's + menu, and the picker from the @agent chip (any agent under Your agents is not in the thread yet).

  • The owner's pick adds the agent at once, as a contributor, and puts it on the chip. The conversation shows the line "Maya Patel added Sales Assistant" ("You added ..." for you), and a note confirms "Added Sales Assistant".
  • Anyone else who may post picks it for the chip; a line under the box says "Sales Assistant joins this thread when you send", and it joins with your ask ("Sales Assistant joined when Alice Chen asked").
  • An agent you may not ask is shown grayed out with a lock and why ("You have not delegated to it. Ask Sam Ortiz, its team lead, or delegate from its page"). Picking it explains how: Delegate from its page opens the agent's page, and Ask Sam Ortiz, its lead mentions the lead in your message.
  • In a one-to-one conversation an agent is never added by itself: it joins when you ask it.

The message box#

At the bottom of an open thread, for owners, approvers and contributors, one rounded box:

Control What it does
@agent chips The agents Send asks, at the start of the box ("@ Churn-risk watcher ⌄ ×"). It starts on the only agent you may ask here, or on the agent that spoke last, or on the agents of your last ask to several. Click a chip's name to change that agent: the agent picker opens (see Picking an agent). × removes it; Backspace at the very start of the box first selects the last chip, and a second Backspace removes it (with Undo). Without chips Send posts without running anyone. Typing @ and picking an agent adds a chip and keeps the agent's name in your text; the @ button after the chips adds another (up to 6: see Asking several agents together). With no chip, @ Ask an agent opens the picker.
Message Your text. Type @ to mention someone (below).
Send (the up arrow) With the chip: posts your message and starts a run of that agent now; its steps and result appear as the agent's reply. Without it: posts your message; only the people and agents you @ mention hear of it. People you @ mention are mentioned either way.
Paperclip Attach files (see Files in a thread). You can also paste a screenshot (⌘V, Ctrl+V) or drop files on the conversation.
+ Add agent (see Adding an agent), Log decision (owners and approvers), New artifact (not in a conversation), Repeat this… with a chip (see Repeats), Post without asking agents with chips (posts your text to everyone and keeps the chips), and Explicit plan in developer mode (add ?dev=1 to the address): paste the exact steps (a JSON plan, see plans.md) the agent should run instead of letting a model plan them.
Way, Questions, Options With chips, the row under the text holds Questions: you (who answers the agents' questions); with two or more, how they answer (Combined · combined by Coordinator or Each answers) and Options (how long to wait, how much to spend). See Before you press Send.
Notes above the box The dates your words name ("Period: 10 Sep to 7 Oct 2026 (change)"); who here may not read what the agents read, with Ask in my own conversation and Ask anyway; an agent with no model cleared for its data; an agent waiting on your answer, with Answer.
Invite The owner only: opens Add people (below). An icon on a phone.
Model The model the chipped agent answers with: the one its last run here used, else the company's default when a model serves it. Read-only: the company's model policy picks it. Hidden when there is none to show.
⌘/Ctrl+Enter Sends, as Send would.

The line under the box says what Send does now ("Send runs Churn-risk watcher. Remove the chip to post without running it. Type @ to bring someone in."; with two agents "Send asks SEO Analyst and Analytics Analyst; Coordinator combines their answers. Questions go to you. 3 agent runs."). Send itself reads "Send and ask Churn-risk watcher", "Send to 2 agents" or, without chips, "Post to this thread". When Send is grayed out, hovering it says why:

Reason shown What to do
Write a message first Type something, or attach a file: a message may be files alone.
Remove the files that did not upload first Take the files marked in red off the tray (their line says why), then send.
Pick an agent to ask A new conversation needs an agent: pick one with @ Ask an agent.
is paused by an admin. Remove the chip to post instead. Ask an admin to resume its app, ask another agent, or remove the chip.
You can't ask : it acts for the people who delegated to it Remove the chip and post, or ask the owner.
is paused by an admin. Remove it to ask the others. With several chips: remove that one.
An explicit plan is for one agent Developer mode's plan with two or more chips.
Choose Ask anyway or Ask in my own conversation first Someone here may not read what the agents read (see Who else sees the answers).
Ask in your own conversation The same, for data too sensitive for Ask anyway.
Ask in a new thread, or cancel A second agent in a one-to-one conversation.

When you may ask none of the thread's agents, the box says "You can't ask this thread's agents: they act for the people who delegated to them. Post to talk, or ask the owner." A thread with no agents says "No agents in this thread yet. Type @ to ask one and bring it in", and for the owner "or Invite one". A closed thread shows "This thread is closed: nobody can post in it." in place of the box.

What the conversation shows#

  • People's messages sit in a gray bubble; mentions are chips (agents orange, people gray). An ask's agent leads the bubble. An ask someone sent anyway carries a small line everyone sees ("Sam Ortiz chose to ask anyway: Pat Kim may not read Campaigns."), and an ask a repeat posted carries its repeat line ("Repeat · Marketing weekly review · Mondays at 09:00 IST · by Sam Ortiz"). Your own ask's menu offers Repeat this….
  • An ask to several agents shows one card for the whole ask: a row per agent, its progress, Stop all, and the combined answer with Based on. See Following the ask.
  • An agent's reply is a card: the answer, then Details folded with the run's state, steps, cost and tokens ("Details · Done · 7 steps · $0.03 · 6,412 tokens"). Open it for the numbered steps (what each did, the tool or model it used, its time and cost) and Open the run. The model the run used shows as a chip by the agent's name. Under an answer, Copy copies it, Good answer and Bad answer rate it, and Ask again asks the agent the same question once more (when you asked it and may still ask it). See Rating an answer and asking again.
  • A run under way shows its card at once with a live line: a small dot, what the agent is doing now ("Reading Northwind's invoices"), the time ticking, its steps so far, and Stop for those who may stop it. A run waiting for an approval reads "Waiting for Ada Park to approve $250.00" above the approval card. A stopped run reads "Stopped by Maya Patel". See Watching an agent work.
  • An artifact change is a card with the artifact's name, kind and version, a preview (new roadmap items are marked "New in v2"), Open (the details panel at that artifact) and a version picker.
  • Decisions, questions an agent asks and escalations are cards too; joins ("Maya Patel added Sales Assistant", "Sales Assistant joined when Alice Chen asked"), removals ("Maya Patel removed Eli Novak") and other status lines are muted one-line notes. A line marks each new day.

Asking runs the agent on your behalf, and only with what you have delegated to it. An agent that was not yet in the thread joins it as a contributor, so its answer lands there. If its plan needs an approval, the run pauses and an approval card appears in the thread (see Approvals).

In the demo there is no model unless you set a key: an asked agent answers with a note that the demo's stub planner only knows the walkthrough's asks in demo.md.

Files in a thread#

Attach files to a message with the paperclip left of +, by pasting a screenshot into the box (⌘V, Ctrl+V; it is named "Screenshot 2026-10-07 14.03.png" for when you pasted it), or by dropping files anywhere on the conversation ("Drop files to attach"). Each file starts uploading at once and sits in a tray above your text: a small picture for an image, else its kind, the name, the size and the upload's progress. × takes it off. Send waits for uploads under way, and a message may be files alone. Up to 10 files go with one message.

A file the server would refuse is refused in the tray, in words, before it is sent: "This file is 30 MB. Files can be up to 25 MB." When the company's storage is full, the tray says so and who can make room. A file in red stops Send until you take it off.

In the conversation:

File Shows as
Images (PNG, JPEG, GIF, WebP) A grid under the message: one large, two side by side, up to four with "+N"
PDF Its first page, then the name, "PDF, 12 pages, 1.8 MB" and Download
Anything else A card: its kind ("Word document", "CSV", "SVG image"), the size and Download
A removed file "Attachment removed"

A file an agent made shows "Made by" and the agent. Click an image, a PDF, or the name of a text or CSV file to open the viewer: images at full size with the arrow keys moving across the thread's images, PDFs as pages (page n of N, zoom), text as text and a CSV as a table of its first 500 rows. Download gives the original file; Show in conversation goes to its message; Esc closes. HTML pages and SVG images are never shown in the workspace: they are cards you download.

Files in the thread's header (once there are any) opens the details panel at its Files section: the thread's class ("Files here are Internal", which the owner may raise and an admin may set), the images as a grid and every other file as a row with who attached it and when, a filter, and each file's menu: Download, Show in conversation, Change class (the uploader raises it, an admin sets any), Remove. A removed file is gone for everyone.

Who can open a file is whoever can read its thread: a person removed from the thread loses its files at once. Files attached to a record sit in the record's drawer in the Brain and at the end of its detail page, with Attach for whoever may change the record.

Mentioning people and agents#

Picking an agent or a person#

Type @ in the message box, click the @agent chip's name, or @ Ask an agent: one picker opens above the box (a sheet rising from the bottom on a phone), in sections:

Section What it lists
In this thread The thread's agents, each with what it is doing: "Working now · Reading invoices", "Waiting for Ada Park to approve $250.00", "Last answered 5 min ago", "No runs here yet". One you may not ask is grayed out with why.
Your agents The agents you may ask that are not here yet, by team (your own teams first), each with a line on what it does ("Turns resolved tickets into help-centre drafts"). Picking one adds it (the owner) or brings it in with your ask.
Other agents Only while you search: agents you may not ask, grayed out with why and how to get them.
People People in the thread first (with their role here), then everyone else. Not in a new conversation.

Search by name or by what an agent does: coaching, help-centre or a skill's name find the agents whose description or skills say so (@er still offers Tom Becker, as a name match). Use the arrow keys and Enter (or Tab while you type after @), or click, to pick; Escape closes it. A person's name goes into the text as @Erin Walsh; an agent becomes the box's @agent chip instead.

You can also type a mention by hand: @Erin Walsh or the id @erin both work. The mentions show as chips in the message.

What a mention does:

Mentioned Already in the thread Not in the thread
A person Gets an inbox item that opens the thread. Their role does not change: an observer stays an observer. Joins as a contributor and gets an inbox item.
An agent Wakes and works on the message (see below). Joins as a contributor once its task exists, then works on it.
Someone the owner removed Not applicable Nothing: they are not brought back and get no inbox item.

Any owner, approver or contributor can mention, so a contributor can bring a person or an agent into the thread this way. Only the owner can remove them again.

When an agent is mentioned:

  • It runs for the person who posted, and only with what that person has delegated to it. If the agent holds no delegation from you, nothing runs and it does not join: its team lead gets an inbox item saying you mentioned it, and the thread shows nothing.
  • It wakes on the next clock tick (within half a minute in the demo) and its reply lands in the thread. Send with its chip starts the run at once instead.
  • A second mention while its task is still open adds to that task instead of starting another.
  • An agent whose app is paused does not run; the thread gets a note saying it is paused.

An agent's post never brings a person in: a person's name in an agent's message stays text, with no inbox item and no join (questions reach people through the question card instead). Outside an ask, an agent named in another agent's post is woken as work handed on, under the same checks as a mention, and the text it was handed carries where it came from; inside an ask to several agents, an agent's post wakes no one.

Before a person you name comes into a thread that already holds answers, the box checks they may read what those answers drew on: "Pat Kim will see everything here, including answers drawn from Campaigns, which he may not read." The post waits for Post anyway, which is recorded. The owner's Add people is checked the same way: the sheet shows the reason, and Add anyway adds them, recorded as your choice (audience_confirmed); where the company does not allow it for that kind of data, it adds nobody.

Agents can mention each other only a few times in a row (the thread's chatter cap: 4 by default). After that, agents are refused until a person posts or an artifact changes, and the owner is told the thread has stalled. The final answers of an ask to several agents do not count toward it.

Artifacts and versions#

An artifact is a document the thread works on: a roadmap, a reply draft, a table. Templates create theirs up front, empty.

  • Create: New artifact, give it a name and a kind. It starts empty at version 1.
  • Edit: press Edit on the artifact, change the text, say what changed, and choose Save new version. Every save is a new version; nothing is overwritten. Observers and people not in the thread see no Edit button.
  • History: the version list on each artifact shows every version as v2 · Erin Walsh · SSO and audit log. Pick one to see it.
  • Agents write artifacts too: when an agent's run produces one with the same name, it becomes the next version. Each new version also appears in the conversation as "updated to v2".
  • The thread owner is told (in the inbox) of every new version someone else makes.

Plain text is saved as text. Text that is valid JSON is saved as structured content; a roadmap written as {"items": [{"title": "SSO", "quarter": "Q1"}]} shows as a list of items.

Once a thread is closed its artifacts can still be read, version by version, but not edited.

Approvals in a thread#

When an agent asked in a thread wants to do something the company's policy holds for a person (a refund over the cap, an email to a customer), its run pauses. The thread shows an approval card from the agent with what it wants to do, the amounts, why it needs approval and who it is waiting for. The same approval is listed under Approvals in the details, and the approver gets it in their inbox.

Everyone who can see the thread sees the card. Only the named approver can decide it; anyone else who tries is refused. Once approved, the run carries on and its result lands in the thread.

Questions in a thread#

An agent that needs a choice or a missing detail asks a person instead of guessing, and its run waits. The thread shows a question card addressed to that person: "Metrics Reviewer asks Fiona Reyes", the question, and for Fiona a button for each suggested answer ("Overwrite", "Keep the existing snapshot") and a box to answer in her own words. Everyone else reads "Waiting for Fiona Reyes to answer", and the run's live line says the same. Once she answers, the card shows the answer, who gave it and when, and the run carries on in the thread.

The person asked need not be in the thread: the question also lands in their inbox, where they answer it in place. If they open it in the thread without being part of it, they see only the question put to them (see Who can see what). Anyone the task was escalated to may answer too; the first answer counts. See When an agent asks you a question.

Whoever asks an agent chooses who gets its questions (Questions: you beside the chip): the thread's owner, each agent's team lead or a named person, how long to wait, and what then. A question goes to someone other than the asker only if they may read what the agent's run carries; otherwise it comes to the asker first, who may Pass it on. A question passed on is a muted line in the thread ("Sam Ortiz passed Analytics Analyst's question to Alice Chen"), and brings nobody into the thread. See Who answers an agent's questions.

Decisions#

Log decision records a decision with its reason and topics. It appears in the conversation as a decision card, under Decisions in the details, on the company's decisions list, and in the company knowledge agents read, so they stop asking the same question again.

Only owners and approvers log decisions. A decision cannot be edited or withdrawn.

Closing a thread#

Close thread (in the menu on the thread's title) ends the thread after a confirmation ("Close this thread? Nobody can post in it afterwards."). Nobody can post, ask, decide, edit artifacts or add people afterwards, and its header shows Closed. Everything stays readable. A closed thread cannot be reopened.

Thread Who sees Close thread When it works
Free-form, or a template that does not need approval (Customer ticket, Incident response) The owner Any time
A template that needs approval to close (Roadmap planning, Review, Release) The owner and every approver An approver: any time. The owner: once an approver has logged a decision.

Until an approver has logged a decision, the owner's Close thread is grayed out and reads "Waiting for Erin Walsh to log a decision" under it (every approver is named). The owner's own decision does not count. As soon as an approver logs one, it works.

Admins who are not the owner or an approver do not see it.

Conversations with an agent cannot be closed; start a new one with New conversation instead.

Pins, unread threads and spend#

These marks are yours alone: nobody else sees what you pinned or read.

  • Pinning. Pin a thread to keep it under Pinned in the sidebar, above Recent threads; take the pin off the same way. You can pin any thread you can see.
  • Unread. A thread is unread for you when someone else (a person or an agent) posted in it since you last opened it; the sidebar marks it with a dot. Opening the thread marks everything in it read. Your own messages never make a thread unread. A thread you have never opened counts every message someone else posted.
  • Agents at work. The sidebar's conversations and the Threads page show each thread's agents as small avatars, and a dot while one of them works (a slowly breathing orange dot) or waits on someone (a still yellow one); the Threads page's row then reads "Churn-risk watcher is working". When a run you asked for ends, or one starts waiting on you, while you look elsewhere, the tab's title counts it ("(1) OrchKernel") and a quiet note appears; see When a run ends while you are elsewhere.
  • Spend. The thread's header shows what its agents' runs cost, and its budget when it has one ("$0.03 of $5.00"). The first figure adds up the cost of the thread's runs. The budget's own spent figure counts everything charged to the thread, so the two can differ when work outside a run (a tool call made directly) was charged to it.

Who can see what#

  • A thread is visible to its owner and participants, to anyone escalated to from it, and to admins. Anyone else who opens its link gets "not found". Someone mentioned joins the thread, so they can read it.
  • Someone the owner removed cannot read the thread any more, even from an older inbox item, until the owner adds them again.
  • Approvals in the thread are visible to everyone who can see the thread.
  • A person an agent's question went to (or was escalated to) reads that question, even when they are not in the thread, and answers it; the rest of the thread stays closed to them: its link shows "A question for you" with the question alone.
  • Decisions also become company knowledge that others may read even without seeing the thread.

Templates#

Template You are Slots you fill Created with Needs approval to close Agent chatter cap
Roadmap planning product manager (owner) Engineering lead (person, approver); Product agent and Analyst agent (agents, contributors, filled with Product Agent and Analyst Agent) roadmap artifact yes 4
Customer ticket owner Support agent (agent, contributor, filled with Support Agent); Escalation contact (person, approver) reply email draft no 3
Review owner Reviewer (person, approver); Author (person or agent, contributor) draft document yes 4
Incident response commander (owner) Responder and Communications (person or agent, contributors) timeline and status artifacts no 6
Release (product-ops app) product manager (owner) Engineering lead (person, approver); Release-notes writer (agent, contributor, filled with Release-notes writer) release_notes artifact yes 3

A slot is pre-filled only if you work with that agent. An app's template shows only while the app is installed. Templates the system uses itself, such as the context app's Team context, are not offered.

Not possible yet#

  • Reopening a closed thread.
  • Editing or withdrawing a decision.
  • Renaming a thread or changing its goal.
  • Changing a thread's budget.
  • Changing someone's role from the screen. Add people leaves out anyone already in the thread; to change a role, remove the person and add them again with the new role, or use the API (below).
  • Handing the thread to another owner, or leaving a thread you are in (only the owner removes people).
  • Mentioning people in a brand-new conversation with an agent: there, @ picks the agent only; people can be mentioned once the conversation exists.
  • A thread approver deciding the approval cards in their thread (an open product decision; see Participants and roles).
  • Hiding an answer from someone in the thread who may not read what it was drawn from: you are warned before you ask, and the choice is recorded.

For developers#

API#

All under /api, with Authorization: Bearer <token> (see Tokens). A thread the caller may not see answers 404.

Method and path Body Notes
GET /threads Threads the caller may see, newest first, paged. Each: { thread, last_message, last_activity, pinned, pinned_at, unread, unread_count }, where last_activity is when a message, artifact version or decision last landed (its creation before that), and pinned and unread are the caller's own marks (unread_count: messages from someone else since the caller last read it). agents lists the agents taking part, working those with a run executing now and waiting those with a run parked on an approval or a question (the list's avatars and live dot). ?pinned=true lists only the caller's pinned threads; ?order=activity lists the most recently active first (the sidebar's Recent threads).
GET /thread-templates Templates a thread can be made from, apps' included, system ones left out, sorted by label. Each: name, label, description, slots (name, label, role, kind: person/agent/either, default or null), artifacts, requires_approval_to_close, agent_chatter_cap. A slot's default is given only when the caller may bring that agent in.
POST /threads { goal, participants: [[actor, role]], budget_cents? } or { goal, template, slots: {slot: actor}, budget_cents? } Caller is owner. Roles: observer, contributor, approver, owner. Every actor must exist and be active; an agent must be one the caller may ask; a slot's actor must match its kind; an empty slot takes its default when it can. Duplicates are merged at the highest role. Returns the thread view. 422 invalid with problems ("Choose a person for Engineering lead", "churn-risk-watcher does not exist", "Product Agent cannot be the Engineering lead: it takes a person").
GET /threads/:id { thread, messages, artifacts, decisions, tasks, runs, approvals, agents, membership, template_label, requires_approval_to_close, spend, pinned, pinned_at, unread, unread_count, groups, repeats }. groups are its asks to several agents, newest 200 (see Asking several agents together); repeats its repeats (see Repeats). A one-to-one conversation's thread.kind is { "kind": "one_to_one", "person", "agent" } (absent on a shared thread). agents are the thread's agents, participants first and then any that ran here and left: { agent, name, description, role, status: "working" | "waiting" | "idle", runs, cost_cents, last_run: { id, state, started_at, finished_at, cost_cents, activity } }. membership is who joined and left, oldest first: { type: "added", actor, by, role, via, previous, at } or { type: "removed", actor, by, at } (the "Maya Patel added Sales Assistant" lines). questions are the questions its runs asked, oldest first, each as GET /questions/:id reads it for the caller (state, answer, can_answer; see Inbox and approvals). thread.removed lists people the owner removed. spend is { runs_cents, budget }: the sum of the thread's runs' cost, and { limit_cents, spent_cents, remaining_cents, alert_pct } or null when the thread has no budget. Each run carries model (see Asking agents). Reading the thread does not mark it read.
GET /threads/:id/runs ?agent=<id> Every run of the thread, archived ones included, newest first; with agent, that agent's only. Each is the run's JSON, with activity while it is live.
POST /threads/:id/pin Pin the thread for the caller. { ok, pinned: true, changed }.
DELETE /threads/:id/pin Take the caller's pin off. { ok, pinned: false, changed }.
POST /threads/:id/read Mark every message so far read for the caller. { ok, changed }. The workspace calls it when it shows the thread.
POST /threads/:id/participants { id, role?, confirm_audience? } Owner only. Adds a person or agent (role defaults to contributor), or changes the role of someone already in. Returns the thread view. 409 audience ({ gaps, ask_anyway, message }) when the person may not read what the thread's answers drew on, unless confirm_audience carries exactly those gaps; 409 one_to_one in a one-to-one conversation.
DELETE /threads/:id/participants/:actor Owner only, not themself. Returns the thread view.
POST /threads/:id/messages { body, kind?, mentions?: [actor], data?, refs?, confirm_audience? } kind: text (default), question, proposal, status. Mentions are the mentions list plus any @<actor-id> in the body. A person named who is not yet in the thread, or an agent it wakes, is checked as an ask is: 409 audience without the confirmation.
POST /threads/:id/ask { agent, text, plan?, mentions?: [actor], detach?, rule?, period?, confirm_audience? } Posts the text mentioning the agent and runs it now; the agent joins as contributor (participant_added with via: "ask"). With agents (two to six) it asks several together; see Asking several agents together. rule and period as in Asking agents. mentions are mentioned as in a post. plan is { "ops": [...] } (plans.md), held to the caller's own collection rights. A loop run answers 202 running; with detach: true every run does, and its steps follow as events.
POST /threads/:id/artifacts { name, kind?, content } kind defaults to document.
PUT /artifacts/:id { content, note?, evidence? } Adds a version. An artifact in a thread the caller may not see answers 404.
POST /threads/:id/decide { statement, rationale, topics?, refs? } Owners and approvers.
POST /threads/:id/close See Closing.
POST /threads/:id/messages/:message/refs, .../decisions/:decision/refs { refs: ["collection:id"] } Attach record references.
GET /decisions Decisions in threads the caller may see.
POST /approvals/:id { approved, note?, detach? } Decide an approval raised in a thread; detach: true carries its run on off the request.

Adding, removing (and changing a role) and closing are governed as the action thread.manage (risk low), so a policy rule can hold or refuse them like any other action; an approved change is checked again when it is made.

Errors from these routes:

Status and code When
403 not_owner Someone other than the owner adds or removes.
403 not_allowed Someone who may not close a thread tries ("Only the owner (Pat Kim) can close this thread").
403 denied An ask of an agent the caller has not delegated to.
409 last_approver Removing or demoting the last approver of a thread that needs approval to close.
409 needs_approver_decision The owner closes such a thread before an approver logged a decision ("Ask Erin Walsh to log one, or to close it").
409 conflict Posting in, or adding to, a closed thread.
409 audience Someone here, or someone you name, may not read what the agents read or what the thread's answers drew on, and the confirmation does not carry exactly those gaps.
409 one_to_one A group ask, an add or an ask naming someone else in a one-to-one conversation.
422 invalid A bad participant or slot, an agent as approver on such a thread, the owner removing themself.

There is no route to reopen a thread, rename it, change its budget or edit a decision.

A run posts in its thread with the post, artifact and decide plan operations (plans.md); decide needs the agent to be an approver of the thread.

Events#

Event When Fields
participant_added Someone joins after the thread is made, or their role changes thread, actor, role, by, via: owner, mention or ask
participant_removed The owner removes someone thread, actor, by
thread_closed The thread is closed thread, by
run_step, run_activity, run_cancelled, run_finished, run_stopped, question_asked A run in the thread took a step, started something, was stopped, ended or asked a question (see Asking agents); a run's events carry the thread run, ...
thread_post_failed A line the kernel owed the thread could not be posted (the poster is not a participant, the thread is closed or capped) thread, from, reason
audience_confirmed Someone chose Ask anyway, Post anyway or Add anyway thread, by, people, collections, tools, agents, gaps, newcomer
mention_held An agent's post named people and brought nobody in thread, by, people
group_started, group_settled, ... Asks to several agents (see Asking several agents together) group, ...

Pins and read marks are not events: they are a person's own view.

The Events page lists them under Threads ("Eli Novak joined as observer, added by Pat Kim", "Thread closed by Erin Walsh").

CLI#

The CLI reads the state file and cannot create, post in or manage threads.

sh
ok threads --state <path/to/state.db>              # every thread: id, owner, counts, goal
ok threads --state <path/to/state.db> --show <id>  # transcript and artifact versions
ok replay ...                                      # replay a run, thread or task from the event log

ok ask --agent <id> "<text>" asks an agent in your own conversation, not in a chosen thread.