Skip to main content

CLI tool for maintaining continuity across Claude Code conversations

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agtrk-1.2.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agtrk-1.2.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file agtrk-1.2.0.tar.gz.

File metadata

  • Download URL: agtrk-1.2.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agtrk-1.2.0.tar.gz
Algorithm Hash digest
SHA256 52bdeaf12b7557d32916a63d46e8027b80fd87c1a86bd593e7a7d68f21108663
MD5 599435222258cd60958f7bf30f845ff7
BLAKE2b-256 31a0d3e197a711ed29fbb1533e9cb1e369eeadfc06d8f17566595d000e2b6791

See more details on using hashes here.

Provenance

The following attestation bundles were made for agtrk-1.2.0.tar.gz:

Publisher: python-publish.yml on djetelina/agtrk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agtrk-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: agtrk-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agtrk-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca48d92767a6c296a876637534df10844f74b0292e396cf0f989921ba333f70
MD5 bfd66819eae5c0eee78639e69d92f25a
BLAKE2b-256 57f96b673bfe0fe3ee462b9bfdb501c41db4f9b4ae4addb25ec9fe642515928c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agtrk-1.2.0-py3-none-any.whl:

Publisher: python-publish.yml on djetelina/agtrk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page