Skip to main content

Trace any agentic CLI to a unified local store, queryable from the CLI.

Project description

thirdeye

PyPI Homebrew CI codecov Python License

Trace every agent session on your machine — Claude Code, Cursor, Codex, Gemini, Copilot — into one history you and your agents can search.

Install

brew install duncankmckinnon/tap/thirdeye    # macOS / Linux
pipx install thrdi                           # or: uv tool install thrdi

Enable tracing

thirdeye add --claude        # also: --cursor, --codex, --gemini, --copilot

To detach: thirdeye remove --claude.

Read your history

thirdeye list                          # every session, every platform
thirdeye events <id>                   # one session, terse
thirdeye tail <id> -n 5                # last few events
thirdeye event <id> <seq>              # one event, fully expanded
thirdeye search "migration"            # substring across all sessions
thirdeye stats                         # totals

Tag and filter

thirdeye tag <id> <seq> --add bug,review     # tag an event
thirdeye tag <id> --list                     # list tagged events in a session
thirdeye tag <id> <seq> --remove bug         # untag
thirdeye tags                                # global tag inventory
thirdeye search "migration" --tag review --platform claude --since 2026-05-01

Add --json for parseable JSONL, --tree for human-readable, --platform / --cwd / --tag / --since / --until to filter. Session IDs accept any unique prefix. Run thirdeye --help for the full reference.

Agent skill

thirdeye ships with a Claude-Code-format agent skill (use-thirdeye) that teaches a coding agent how to enable tracing, search past sessions, debug tool calls, analyze token usage, and run evaluations against recorded traces.

Install it into a repo so an agent working there picks it up automatically:

thirdeye skill install                          # default: .agents/skills/use-thirdeye
thirdeye skill install .claude/skills           # auto-appends use-thirdeye
thirdeye skill install .claude/commands/use-thirdeye   # full path also works
thirdeye skill install ~/.claude/skills         # Claude Code user-level
thirdeye skill install --force                  # replace an existing entry

--target is the full destination path of the symlink — point it wherever your agent platform expects skills or commands. The skill is installed as a symlink, so upgrading thirdeye (brew upgrade thirdeye or pipx upgrade thrdi) automatically refreshes the skill content in every repo where it is installed.

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

thrdi-0.0.3.tar.gz (148.4 kB view details)

Uploaded Source

Built Distribution

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

thrdi-0.0.3-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file thrdi-0.0.3.tar.gz.

File metadata

  • Download URL: thrdi-0.0.3.tar.gz
  • Upload date:
  • Size: 148.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for thrdi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 71256b369849f67780202cb19fcfa29da5ba88a78ac98c85d83479b28e7b8064
MD5 c3b27a3866d1dd12522bf07cbe818a91
BLAKE2b-256 348badd4f91cd06e54af4ef99fe42d705fc667819211702de73d992c3d97cb62

See more details on using hashes here.

Provenance

The following attestation bundles were made for thrdi-0.0.3.tar.gz:

Publisher: release.yml on duncankmckinnon/thirdeye

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

File details

Details for the file thrdi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: thrdi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 53.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for thrdi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2163321e06a747e6b5c022d2892d9ffbaa73df6318a56acb9f450fcc29c179ff
MD5 f30c2a49a12ba0527bf0ca75eaa398b4
BLAKE2b-256 bd66d799be3bbbbdd2355b4d06ed11ee14adf46dea11c09039c66b5fe09111f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for thrdi-0.0.3-py3-none-any.whl:

Publisher: release.yml on duncankmckinnon/thirdeye

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