Skip to content

Work in a Session

A Session is the durable conversation and working state for one authorized Workspace. Conversation stays at the center; Files, Preview, Terminal, attempt review, Git, and the Agent graph open around it.

Before the first turn, the Session environment must be Ready. If the conversation shows Review setup, inspect the selected image and exact proposed command. Detection is not permission: Axocoatl will not run the command until you check its explicit approval control. A Preparing or failed environment keeps Send and repository tools gated instead of pretending the Session is usable. The daemon’s allow_post_create_command setting can default only the exact devcontainer command to checked on an unreviewed Session; a reviewed checked or unchecked choice wins, and lockfile-detected or edited commands remain outside that default.

New data roots use native execution. Until a team is applied, Send reads Set budget and opens Team & budget. Choose Edit and review the Agent definitions and dependencies. The activation, invocation, token, cost and expiry limits come filled in from the built-in fix loadout’s budget (no cost for a local Ollama model, an expiry 24 hours away); change any of them, preview the team and Apply it. Preview refuses a token limit that cannot pay for a model call and the one after it, and says how many tokens the Agent needs. This creates a durable Session configuration for future turns. Once an applied team’s budget expiry has passed, a request says so before any model is asked, Team & budget says when it expired, and Edit fills in a new one, 24 hours from when you select it, for you to review in Preview before Apply; the Agents keep their conversations. Provider eligibility is checked during that review. Existing legacy data roots keep compatibility execution until explicitly upgraded.

For native ordinary Agent turns, the reviewed invocation allowance also bounds tool iteration: one round per invocation, up to a safety ceiling of 1,024 rounds, or fewer when the Agent sets max_tool_rounds. Each provider and tool call still requires durable budget admission, so the grant normally runs out first. An activation that reaches its round limit stops with that reason and Continue as its suggested next step; see How long an Agent may work. Compatibility Agents retain the default ten-round guard.

  1. Open a Session from the left rail.
  2. State the outcome, the constraints, and the check that should pass.
  3. Attach context if the request depends on material outside the Workspace.
  4. Check the selected Agent and model. Native Sessions show their approved models read-only; use Team & budget to change them. Compatibility Sessions allow a one-turn model override. In a multi-agent Session, you can target a particular Agent.
  5. Press Enter to send. Use Shift+Enter for a newline.

For example:

Add validation to the existing import endpoint. Preserve the response schema,
add focused tests for malformed input, run the smallest relevant test command,
and do not commit.

Tool calls and their results stay inline with the response. Expand them when you need to inspect how the Agent reached its answer, not only what it claimed.

The Session header and controls above the composer expose the common tools:

ControlUse it for
ConversationRequests, responses, tool calls, and durable turn state
FilesFile search, editing, rendered file previews, and Source Control
PreviewA running web app exposed from the Session sandbox
WaysPreparing and following several attempts at one task
TerminalSession-scoped PTYs in the bottom dock
HistorySearch, export, recorded execution and Ways decisions; legacy rewind
KnowledgeAccepted Workspace notes shared across Sessions, proposal review, and this Session’s observed code index
MoreAgent graph and focused attempt review, or a tool pinned beside Conversation

Choosing a primary view focuses it. More can pin an additional surface beside Conversation when comparing information is useful. Ways is contextual: it opens while you prepare or monitor attempts and does not reserve an empty right column in ordinary work.

In Agent graph, select an Agent to inspect the recorded input, output, usage, and evidence for an activation. The graph opens in View mode and labels unavailable historical details. See Observe coordination.

The Session status and live indicator distinguish idle, starting, running, stopped, interrupted, and failed work. Streaming text is only one signal: a tool may still be running after the visible prose pauses.

Use Stop to request a cooperative stop for the exact active turn. A tool that has already started is allowed to reach a safe boundary; filesystem or external effects already produced are not rolled back. See Context, History, and Stop for the full state model.

If the live connection drops, Axocoatl re-reads the canonical turn and conversation state after reconnecting. Wait for History to finish loading before sending another turn; this avoids building new work on an incomplete local transcript.

After a modifying turn:

  1. Read the response and expand important tool calls.
  2. Open Files and inspect the actual edits.
  3. Open Source Control → Last turn to narrow the review.
  4. Run or repeat the repository check in Terminal.
  5. Commit deliberately only when the result is acceptable.

A single-agent Session sends turns to one configured autonomous Agent or coordinator. Explore several ways currently requires the autonomous form. A multi-agent Session keeps a shared durable transcript and lets you target individual Agents, but it does not currently support the separate isolated Attempts workflow.

A configured Agent acts as a template. Native Sessions retain their reviewed team independently of later template edits. Use Team & budget to add or remove Agents, change dependencies, and review limits for future turns. The Agent inspector separately controls current work; see native controls. Native model-facing state is owned by exact activations and accepted generations. Native Agents can retrieve and propose workspace knowledge without sharing every Session’s conversation. Accepted notes preserve revisions and source references. Compatibility daily-log, core-memory, and semantic-recall stores remain separate and are not attached to the native actor factory.

In compatibility execution, an autonomous Agent’s Session conversation, checkpoint, daily log, core memory, and semantic memory are scoped to that Session and survive actor restart. A Coordinator owns scoped Tier-1 conversation and orchestration checkpointing; each declared Worker owns its own scoped Tier 1–4 identity beneath the Coordinator. Ad-hoc Workers are ephemeral. Starting another Session with the same configured template does not inherit those local memories; only core blocks explicitly configured with shared: true cross Session scopes. Terminal Completed, Cancelled, Failed, or Interrupted Coordinator work is not auto-resumed on a later turn.

A legacy Custom Session keeps the Agent IDs selected at creation; create a new Session to change that composition. A legacy Lattice Session instead stores its config-owned team ID and resolves that team’s current roster when each all-team turn begins, so a valid team edit affects future turns after configuration reload. On a 1.0 data root, a turn that would run two or more Agents is refused until you stop Axocoatl, make a cold backup, and run axocoatl session upgrade --confirm; single-Agent turns keep working. Create a new Session when the sandbox boundary needs to change.

Continue with Files, Preview, and Terminal →