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 --target .claude/commands/use-thirdeye   # Claude Code project-level
thirdeye skill install --target ~/.claude/skills/use-thirdeye   # 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.2.tar.gz (130.2 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.2-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thrdi-0.0.2.tar.gz
  • Upload date:
  • Size: 130.2 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.2.tar.gz
Algorithm Hash digest
SHA256 2f6eab3a24186dfdf817f68257fd598355857ffb508f98bfc3bb7cbb96e68a8d
MD5 e1dacf68e52a65131400cc0f7e1e3c3e
BLAKE2b-256 e7dd19cba1b46a5b32798322e9c36f04466c42a401dc5776b95a9530eb347ffd

See more details on using hashes here.

Provenance

The following attestation bundles were made for thrdi-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: thrdi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 41.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69d360bf3cd7b250b30997b219e1b81fd8574bb5ae1bb48ee8a0305cbed3b562
MD5 fe5f2918c67f30de7df79532a6191aa7
BLAKE2b-256 cbbafab98873ab5eb42db71d55b9470449f41531c44674d44cce7c96d6c4f908

See more details on using hashes here.

Provenance

The following attestation bundles were made for thrdi-0.0.2-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