Skip to main content

agtrk

Continuity for Claude Code conversations.

Claude Code sessions are ephemeral — close one, and the next has no idea what you were doing. agtrk fixes that. It hooks into Claude Code and gives the agent a persistent view of what's in progress, so conversations can pick up where the last one left off.

This project is built almost entirely with Claude Code.

How it works

agtrk install adds hooks to your Claude Code settings. At the start of every conversation, agtrk injects a table of active sessions and instructions for the agent. The agent then registers what it's working on, leaves notes, and updates status — all stored in a local SQLite database. The next conversation sees all of it.

There's also a TUI dashboard (agtrk tui) if you want to see everything at a glance.

Install

pipx install agtrk
agtrk install

Commands

agtrk                         # list active sessions
agtrk show <id>               # session details + notes
agtrk tui                     # terminal dashboard (table + kanban views)
agtrk list                    # list with filters (--archived, --all, --verbose)
agtrk search <query>          # search sessions by task/note content
agtrk delete <id>             # delete a session and its notes
agtrk install                 # add hooks to ~/.claude/settings.json
agtrk uninstall               # remove hooks
agtrk cleanup                 # delete archived sessions older than 30 days
agtrk feature list            # show feature flags and their status
agtrk feature enable <name>   # enable a feature
agtrk feature disable <name>  # disable a feature
agtrk --help                  # all commands

Feature flags

Some features are gated behind flags and disabled by default. Enable them with agtrk feature enable <name>.

Feature Description
knowledge Per-repo project knowledge that agents can store and look up instead of re-exploring the codebase. Adds learn, recall, forget, and update-knowledge commands, and teaches the inject prompt to use them.

License

MIT

Metadata

Release files for agtrk 1.3.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 agtrk 1.3.0
File Size Uploaded
agtrk-1.3.0.tar.gz 27.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agtrk 1.3.0
File Interpreter ABI Platform
agtrk-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.4 kB

Release files / agtrk-1.3.0.tar.gz

Download URL agtrk-1.3.0.tar.gz
Size 27.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8238547887149c2e8400ae634ecbf503058bc3e30321d629c703d5c19663f7d0
BLAKE2b-256 checksum
How to use checksums
8153b68c3730b384f4352aaad6231bacec9c23db34a4523d6bfcb4f4402f0c3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 3, 2026.

Transparency log

Release files / agtrk-1.3.0-py3-none-any.whl

Download URL agtrk-1.3.0-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49392f03b04d561ff359d4f4caeac58d215bc46a6393d4d39a5098771d6283aa
BLAKE2b-256 checksum
How to use checksums
69dfd00b1cc7e0fe286eafc61529c63004031b2944061b229a79192645d78e98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.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