Guides
Chat & sessions
The terminal chat assistant, project session mesh, run logs, checkpoints, and resume.
On this page7 sections
sofuu chat is the terminal chat interface: streamed answers, a built-in tool belt, encrypted local memory, and a coordination layer for several sessions working in one project.
sofuu chat
| Flag | Effect |
|---|---|
-m <model> | Starts with a specific model. |
-p <provider> | Starts with a specific provider. |
--sync off | Disables the project session mesh for this session. |
Model backend
Chat answers come from a configured model backend. A local backend needs its model files; a remote provider needs credentials and network access. Inside a session, /provider and /model switch between backends that are already configured.
Chat state, memory, and provider configuration are separate. Changing the chat model does not change the embedding space of an existing memory file. A missing provider key is a configuration problem rather than a chat problem; Troubleshooting covers the provider and model paths.
The tool belt
The built-in tools are read_file, write_file, edit_file, grep, glob, list_dir, and bash. /tools toggles the belt on or off for the session.
Project session mesh
When several terminal sessions run against the same project, sofuu chat synchronizes active tasks, notes, alerts, and shared context through bounded project storage. The mesh carries that coordination state, not file contents.
Use /work to claim a task before editing, /note for information another session should see, and /notify when a peer needs to stop and look. /context attaches shared context to the current session. Start with --sync off when you want a session isolated from the mesh.
Slash commands
| Command | Purpose |
|---|---|
/work <task> | Broadcasts the active task so other sessions avoid conflicting work. |
/done | Marks the active task complete and clears work status across the mesh. |
/note <msg> | Saves a note visible to all sessions on the project. |
/notify <msg> | Emits a high-priority banner to connected peer sessions. |
/context [id] | Inspects or attaches shared context across project sessions. |
/remember <fact> | Pins a durable fact or architecture rule into the local encrypted QTSQ brain. |
/compact | Compacts conversation history when the context window fills, preserving questions and decisions. |
/ctx · /cost | Live context-window and spend meters. Accepts 1m, 128k, or raw token counts. |
/effort <level> | Sets reasoning effort: low, medium, high, or max. |
/provider | Switches the LLM backend. |
/model | Switches the model. |
/tools | Toggles the active tool belt. |
/sessions | Lists past project sessions. |
/resume | Resumes a run by ID. |
/help | Prints the interactive command documentation. |
Sessions and checkpoints
/sessions lists the sessions stored for the project. The CLI exposes the same state:
sofuu session list
sofuu session show <id>
sofuu session repair
sofuu session prune
repair addresses a corrupted manifest. prune removes stale checkpoints. Both operate on stored session state rather than on project files.
Agent runs write durable checkpoints as they proceed. After an interruption or failure, sofuu resume <run_id> attempts to continue from the last usable checkpoint:
sofuu resume <run_id>
Resume is conditional. A checkpoint changed by redaction, or truncated at a known boundary, is refused rather than replayed with missing state. Not every interrupted run can be resumed.
Logs
| Command | Output |
|---|---|
sofuu logs | Recent runs with run ID, start time, step count, and exit status (DONE, ERROR, CANCELLED). |
sofuu logs show <id> | Human-readable trace of model calls, tool executions, and step summaries. |
sofuu logs --follow | Live tokens and tool calls from an active background worker. |
sofuu logs --last-error | Failure context, stack trace, and post-mortem card for the newest failure. |
--last-error shows why a run stopped before you decide whether to resume it or start over.