Skip to main content

Chronicle app icon: a stack of glass session cards

Chronicle

A searchable memory of every coding-agent session you run.
Claude Code, Codex, GitHub Copilot and IBM Bob sessions and your claude.ai and ChatGPT chats, kept and turned into knowledge on your own machine.

PyPI version Python 3.11+ macOS app and CLI MIT license

Quick start · Docs · Changelog · 日本語

Your coding agents solve problems all day, and then the lesson disappears: Claude Code deletes transcripts after 30 days, and nothing carries a fix from one session to the next. Chronicle keeps every session, uses Claude Code itself to pull out what was learned, and gives it back to you in a dashboard and to your agents through an MCP server.

Chronicle's session page: the conversation with one-line tool calls, the knowledge extracted from it, and an outline of the prompts

What it gives you

Chronicle reads each finished session and writes down what is worth keeping. A real example, taken word for word from the demo data:

Gotcha · billing-api
Stripe webhook signatures need the raw request body
Webhook.construct_event verifies the signature over the exact bytes Stripe sent. Parsing to JSON first, or posting json= in tests, fails with SignatureVerificationError. Read await request.body() and pass that.
From the session "Stop double charges when Stripe retries invoice.paid", extracted automatically.

  • Every session, kept for good. Raw transcripts are archived, so nothing is lost when an agent cleans up.
  • Knowledge, extracted automatically. Fixes, gotchas, decisions, commands, project facts and preferences, merged into a knowledge base per project and a playbook across all of them.
  • Your agents can ask. Through the MCP server, an agent can search your past sessions: "have we hit this error before?", "why did we put idempotency in Postgres?" Claude Desktop, Cursor, Windsurf and Gemini CLI can connect too.
  • A dashboard to browse it all. Sessions with their full transcripts, statistics, a glossary of your own vocabulary drawn as a mindmap, and a weekly review you can take in at a glance. ⌘K jumps anywhere.
  • Plain files too. An Obsidian-compatible Markdown vault and a chronicle CLI.

Quick start

You need macOS 13 or later and a logged-in Claude Code, which does the analysis.

  1. Install.

    uv tool install --python 3.13 agents-chronicle   # or: pipx install agents-chronicle
    chronicle install
    

    chronicle install finds the coding agents on your Mac, asks which to record, imports their past sessions and asks whether to run Chronicle from login. For the app instead, download it from the latest release (Apple silicon) and choose Connect.

  2. Use your agents as usual. Each session is recorded when it ends and analyzed in the background.

  3. Explore. Open the dashboard at http://127.0.0.1:8765/ (or chronicle ui --open) and press ⌘K, or ask your agent what it learned last week.

Connect more agents later from Settings › Sources, chronicle connect <agent>, or by re-running chronicle install. Install covers what each step sets up and how to remove it.

Supported agents

Agent Recorded from Picked up Search from the agent (MCP)
Claude Code ~/.claude/projects transcripts as each session ends, plus every 15 min ✅
Codex ~/.codex/sessions rollouts every 15 min, once idle ✅
Codex Cloud tasks at chatgpt.com/codex (via the codex CLI: title, repo, diff) every 15 min via Codex
GitHub Copilot Copilot CLI and agent sessions; Copilot Chat logs in VS Code every 15 min ✅ VS Code and Copilot CLI
IBM Bob ~/.bob/db/bob.db, read-only every 15 min ✅
claude.ai, ChatGPT data export: chronicle import <zip> when you import it –

All of them share one dashboard, knowledge base, glossary and set of MCP tools; analysis always runs through Claude Code. Sources has the details for each.

A closer look

Home: active time, sessions, tokens and cost over 30 days, with a daily chart and outcomes The Map: the glossary as a mindmap, opened to a term with its definition, uses and sources The ⌘K palette searching sessions, knowledge and glossary terms
Home. Active time, sessions, tokens and estimated cost, day by day. Map. Your glossary as a mindmap; each term opens into the knowledge and sessions behind it. ⌘K. One search over sessions, knowledge, projects, terms and commands.

Screenshots use made-up demo data.

How it works

How Chronicle works: sources, archive, parse, SQLite, analysis with claude -p, knowledge, and the dashboard, vault, CLI and MCP server

  1. A hook (or the 15-minute sync) hands each finished session to Chronicle, which archives the raw transcript and parses it: prompts, replies, tool calls, files, tokens and cost.
  2. Once the session is idle, a condensed digest with secrets redacted goes to claude -p, which returns a summary and knowledge items. The call runs sandboxed: no tools, hooks or MCP servers.
  3. New knowledge is merged into the project's knowledge base, the glossary is refreshed, and each finished week gets a written review.
  4. Everything is served to you (dashboard, app, vault, CLI) and to your agents (MCP).

What leaves your machine: only that redacted digest, sent to Claude through your own Claude Code login. No telemetry, nothing sent to anyone else. Data and privacy lists what is stored where.

What it costs: analysis draws from your Claude plan like any other Claude Code use. In API terms it averages about $0.38 per session with Sonnet; chronicle analyze --pending --dry-run sizes a backlog before you spend anything. How analysis works has the details.

FAQ

Will it slow down my agent? No. The session-end hook hands off to a detached process and returns in milliseconds; analysis runs later in the background.

Does it work without Claude Code? Recording and browsing work for every connected agent. Summaries and knowledge need a logged-in claude; without one, sessions are archived and wait in the analysis queue.

Windows or Linux? Not yet. The app and the background agents are macOS only.

Can I keep a project or a session out? Add the project to sources.exclude_projects in the configuration, or remove a session for good with chronicle forget <id>.

How do I remove it? chronicle uninstall removes the hooks, background agents and MCP registrations and keeps your data; add --purge to delete the data too.

Something not working? See Troubleshooting.

Documentation

Install · Sources · Dashboard, glossary and Map · Command line · MCP server · What gets recorded and how analysis works · Configuration · Data and privacy · Troubleshooting · Development

Contributing

Issues and pull requests are welcome. CONTRIBUTING.md explains how to run the tests and work on the dashboard with demo data instead of your own sessions.

License

MIT

Release files for agents-chronicle 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agents-chronicle 0.2.0
File Size Uploaded
agents_chronicle-0.2.0.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for agents-chronicle 0.2.0
File Interpreter ABI Platform
agents_chronicle-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 MB

Release files / agents_chronicle-0.2.0.tar.gz

Download URL agents_chronicle-0.2.0.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
cf1e2919add45eb1fa7e09f0eea771dded207d2ebc95a234d7ab92220bfcbbf7
BLAKE2b-256 checksum
How to use checksums
798a6d4232a6b83769a4b8a3923d6df7bbb273fa68286635b9fc6c5ff9c9132b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / agents_chronicle-0.2.0-py3-none-any.whl

Download URL agents_chronicle-0.2.0-py3-none-any.whl
Size 298.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fb4ae9a1a76dbf58f53d16787273b420a1585f6093332e262eb6d74e432606d
BLAKE2b-256 checksum
How to use checksums
3bca4e55bf0929d3ec73d55ac31054356033e3f739240db17622b0ee75630fed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page