Skip to main content

Session search and unified usage analytics for coding agents

Project description

coding-agent-tools

Unified CLI for searching sessions and viewing token usage across coding agents (Claude Code, Codex, OpenCode, OpenClaw, OpenWhispr).

Install

uv tool install coding-agent-tools

Or via pipx install coding-agent-tools / pip install coding-agent-tools.

Requires Python 3.11+. The only runtime dependency is Rich.

Commands

find-session

Search and resume sessions across agents. Shows an interactive table where you can select a session to resume it, view its file path, or copy it.

find-session "langroid,MCP"           # keyword search (AND logic)
find-session -g                       # all sessions across all projects
find-session "bug" --agents claude    # limit to a specific agent
find-session -n 20                    # show more results

find-session

agent-usage

Token and cost analytics. Fetches pricing from the LiteLLM registry to estimate costs. Claude Code usage is delegated to ccusage.

agent-usage                           # daily usage (default)
agent-usage weekly --breakdown        # weekly with per-model breakdown
agent-usage monthly codex opencode    # specific sources only

agent-usage

Supported software

Software Session search Usage analytics Data location
Claude Code yes yes (via ccusage) ~/.claude/projects/*/*.jsonl
Codex yes yes ~/.codex/sessions/**/rollout-*.jsonl
OpenCode yes yes ~/.local/share/opencode/opencode.db
OpenClaw -- yes ~/.openclaw/agents/*/sessions/*.jsonl
OpenWhispr -- yes ~/Library/Application Support/open-whispr/transcriptions.db

Acknowledgements

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

coding_agent_tools-0.1.8.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

coding_agent_tools-0.1.8-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file coding_agent_tools-0.1.8.tar.gz.

File metadata

  • Download URL: coding_agent_tools-0.1.8.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for coding_agent_tools-0.1.8.tar.gz
Algorithm Hash digest
SHA256 26b016466cef47c3d739a59d528e6e72f7ea3fc39d652e9444bd415e204d26b6
MD5 7afc20b74f6bfa1c7c6e9d4893f0f04a
BLAKE2b-256 f9ec432f19102250b87ebdc4814ab0165f8119a5be23cd886852d4eb2c382cf8

See more details on using hashes here.

File details

Details for the file coding_agent_tools-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for coding_agent_tools-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8d525dd57b5659882bcdc7b113b261e1ee0736a84c89e011bf7c1bde7e2e9752
MD5 78bbe045befd52b092697d658481e019
BLAKE2b-256 f9736d375776425101be4ce3a086ada55ea5f60c63a1e4ebb53f87f9819a9aa0

See more details on using hashes here.

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