Skip to main content

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

Metadata

Release files for coding-agent-tools 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coding-agent-tools 0.1.13
File Size Uploaded
coding_agent_tools-0.1.13.tar.gz 29.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coding-agent-tools 0.1.13
File Interpreter ABI Platform
coding_agent_tools-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 66.7 kB

Release files / coding_agent_tools-0.1.13.tar.gz

Download URL coding_agent_tools-0.1.13.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9cf0e93949c64f6947d6f0be2ad4f4f69ba3c2c098fd1f3a00c3824b99cf5c29
BLAKE2b-256 checksum
How to use checksums
e58f82d661a8e61a2173ba6962a5f6a4dd9d7c32cac2bfab1e39e7bf995425b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.12

Release files / coding_agent_tools-0.1.13-py3-none-any.whl

Download URL coding_agent_tools-0.1.13-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a2702d1cd36a5d7241be3c3ac5e6a04ec7ebfcc1e82906444a400532921cfe8
BLAKE2b-256 checksum
How to use checksums
c297deded96d6114ba8a8dc575cbc74b00259f255ff592023f43872fdc75f4c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.12

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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