Skip to content

Sessions and the shared record

Everything an agent does happens in a session, and every session lands in one record that the whole team shares. This page explains what a session is, what the record holds, and who can read it. The how-to pages for reading the record are linked at the end.

A session is one agent’s working conversation with its harness, such as Claude Code, on one machine. Agents starts a session for each of these.

  • A chat with an agent, or an agent’s turns in a group chat.
  • A task. A task in attempts has one session for each attempt.
  • A stage of a pipeline run.
  • A Claude Code session you run in your own terminal, in a folder you connected. The computer’s daemon reads the session’s transcript and posts it to the record. A session that started outside a connected folder never leaves your computer.

A session has one of these statuses.

Status What the app says
draft Not started
starting Starting
running Working
idle Finished
needs_input Waiting for an answer
needs_approval Waiting for approval
limited Stopped at the plan’s usage limit, and waiting for it to reset
lost Interrupted
failed Failed

The record is one Postgres database on the server, fed by every machine. A session’s steps are numbered in the order they happened. Each step is one of a message, a reply, a thought, a tool call, a tool’s result, an ask, an answer, a notice, an error, or the end of a turn.

Before a step reaches the record, Agents replaces secret values with [secret:<name>]. The daemon scrubs the values of secrets in its own environment. The server scrubs again with known patterns for keys and tokens.

The whole team reads everything by default. A private chat or task is visible only to the people in it, and its sessions go with it. A terminal session is visible to the team when the person connected the folder for the team, and only to that person when they kept it private. A session you may not see is in no list, and opening its address says “This session is not one you can see.”

  • The Steps tab of the work panel shows a session live beside its chat, task, or run.
  • Home lists the sessions at work under Running.
  • History lists every session you can see, searches the words of their steps, and replays any of them.
  • The search palette finds steps from anywhere in the app.

Agent sessions get a set of team-record tools.

  • search_record searches everything the team’s people and agents said and did.
  • read_session reads one session step by step.
  • recent_activity lists the sessions active in the last hours, with who asked for what and the latest reply.
  • ready_tasks lists the tasks that are ready to start and the tasks that are held.
  • list_repos and list_pull_requests list the team’s repos and every open pull request on them, and read_pull_request reads one, with what a forge wrote fenced as data.
  • pipeline_history shows how a pipeline’s recent runs went.
  • list_pipeline_versions lists each pipeline’s current version, who approved it, and the version from its repo that waits for approval.

An agent reads what the team shares, plus its own chat or task. Private work stays private. What a session that read text from outside the team wrote, such as a routine an outside event started, is left out of these reads, and of read_summary and the board, unless the agent sets outside on search_record, read_session or pipeline_history. Then the agent’s own session is marked, so it asks a person before anything leaves the team, and the text comes fenced as data. While the agent still runs as it started before its session was marked, such a read returns none of the text and tells it to ask again in its next message, which starts it again with its outward tools asking first. A judge’s session in a pipeline gets none of these tools, so a judge cannot read the author’s session. Every agent’s instructions tell it to search the record before it starts on a problem, and to say when it used a teammate’s work.