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.1.0.tar.gz (22.0 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.1.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agtrk-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4c98756a0d6988e40c2735967785a6676280d2487fb689dbde0bd607e11e1d95
MD5 f0b70872031cdb667b046b92cdeabfd5
BLAKE2b-256 4785138280e58dddfb725f91145cf563b308b63d7139ab4728161d3da8f4bc75

See more details on using hashes here.

Provenance

The following attestation bundles were made for agtrk-1.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: agtrk-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6f190c8a6bd1c5bc7d5ab7d34c89cc7f1e2eb73a32c25842e1c012591603a1b
MD5 93af24749149ed8b376906a4441bedf5
BLAKE2b-256 1eb17434d11967a361aac2e066d330b547db9783c035126fc25e9016a9bbee57

See more details on using hashes here.

Provenance

The following attestation bundles were made for agtrk-1.1.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