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.3.0.tar.gz (27.2 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.3.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agtrk-1.3.0.tar.gz
Algorithm Hash digest
SHA256 8238547887149c2e8400ae634ecbf503058bc3e30321d629c703d5c19663f7d0
MD5 549e723b62fab6c796cfb2549bb51232
BLAKE2b-256 8153b68c3730b384f4352aaad6231bacec9c23db34a4523d6bfcb4f4402f0c3f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agtrk-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49392f03b04d561ff359d4f4caeac58d215bc46a6393d4d39a5098771d6283aa
MD5 91d6af89ed178ff1f7cb200f2217ac38
BLAKE2b-256 69dfd00b1cc7e0fe286eafc61529c63004031b2944061b229a79192645d78e98

See more details on using hashes here.

Provenance

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