Skip to content
groundedby
Waitlist

Goose

Where Goose stores your session history

Goose keeps sessions in a SQLite database, sessions.db, under ~/.local/share/goose. How to find it on each system, export sessions and import other agents' history.

Updated October 29, 2026 // Markdown

Quick factsas of October 2026 (v1.57.0)
Made by
Agentic AI Foundation (originally Block)
History lives in
  • macOS / Linux~/.local/share/goose/sessions/sessions.db
  • Windows%APPDATA%\Block\goose\data\sessions\sessions.db
Format
SQLite (tables sessions, messages, usage_ledger)
Kept for
Kept until you delete it
Resume
goose session --resume
Cloud copy
Local only

Goose, the open-source agent started at Block and now at aaif-goose/goose, stores sessions in SQLite.

Where the database is

System Path
macOS, Linux ~/.local/share/goose/sessions/sessions.db
Windows %APPDATA%\Block\goose\data\sessions\sessions.db

GOOSE_PATH_ROOT changes the root. The sessions table holds tokens, cost, model and working directory; messages holds each message as JSON; usage_ledger tracks usage.

Resume, export and import

goose session --resume
goose session --resume --fork
goose session list
goose session export --format markdown   # or json, yaml, html
goose session import <file.jsonl>        # Claude Code, Codex or Pi sessions
goose session remove
goose run --no-session "..."             # a run that saves nothing

Privacy notes

Sessions are local only. The groundedby evaluator does not read Goose's database yet.

Questions

Where does Goose save sessions?+

In ~/.local/share/goose/sessions/sessions.db on macOS and Linux, and %APPDATA%\Block\goose\data\sessions\sessions.db on Windows. GOOSE_PATH_ROOT moves it. Versions before 1.10.0 used .jsonl files, imported into the database once.

Can Goose import Claude Code or Codex sessions?+

Yes. goose session import accepts Claude Code, Codex and Pi .jsonl files.

Sources

  1. Goose docs, session management
  2. Goose source, session manager

Waitlist

Your sessions, your call.

We are building an opt-in marketplace where developers license redacted sessions they pick, one by one. Join to hear first.

Your email and the side you picked. Nothing else. Privacy