Sessions & History
Session continuity, export, resume, abort, and cleanup.
Sessions preserve conversation continuity. Transcripts, compaction summaries, artifacts, cost, and replay data are persisted in a local SQLite database, and each agent gets its own workspace folder.
Managing sessions
budgetai sessions list
budgetai sessions show <id>
budgetai sessions resume <id>
budgetai sessions export <id> --format md
budgetai sessions abort <id>
budgetai sessions delete <id>What is stored
| Data | Purpose |
|---|---|
| Transcript | Full turn-by-turn history |
| Summaries | Compaction of older context |
| Artifacts | Generated files and media |
| Cost | Per-turn and per-session receipts |
| Replay | Read-only reconstruction of a turn |
Continuity
Long sessions compact old context while preserving recent task state, keeping prompts focused and prompt-cache reuse high. See Compaction & Cache.