Skip to main content

Check Your Agent

Local, evidence-backed forensics for Claude Code sessions. Claude Code writes a detailed record of every session to ~/.claude/projects. Check Your Agent turns that record into estimated API-equivalent cost, observed activity, and supported findings linked to evidence receipts. It runs entirely locally — no accounts, no telemetry, no uploads — and never modifies the original logs. Tools like ccusage tell you what you used; Check Your Agent helps you investigate why a session was expensive or unusual.

API-equivalent costs are estimates from recorded token counts and bundled pricing tables, not invoice amounts. Findings and experimental associations are leads to investigate, not causal conclusions.

Run

uvx checkyouragent

(or pipx run checkyouragent). This serves the app on port 8000, opens your browser, and uses ~/.claude/projects as the import root when it exists, otherwise ./Data. cya is an identical, shorter alias.

Flags:

  • --import-root — export root to scan (default: ~/.claude/projects when present, otherwise ./Data).
  • --port — bind port (default: 8000).
  • --no-browser — do not open a browser.
  • --demo — use the bundled synthetic demo dataset instead of a real export.

What It Shows

  • Sessions — an investigation board with supported findings, observed errors, subagent fanout, event volume, duration, estimated API-equivalent cost, search, filters, and sorting.
  • Session workspace — timeline, trace, subagent, findings, and raw event inspection for a single session, with receipt links from each supported finding back to the recorded events.
  • Cost — estimated API-equivalent cost by project, model, and token category; cost over time, spike detection, turn distribution, and session outliers, with optional date-aware historical pricing.
  • Limit hits — recorded limit notices and reconstructed five-hour windows, viewed by recorded token volume or estimated API-equivalent cost.
  • Context Economics — explicitly defined opportunity signals with receipts and session drilldown; estimated and unattributed values remain distinct.
  • Usage drivers — overlapping, cost- or token-weighted characteristics such as subagent activity, large input contexts, and long-running sessions. These shares are independent characteristics, not a breakdown.
  • Experimental analysis — an observed-activity Usage Mindmap and subgroup associations with declared samples, uncertainty, and receipts. Neither view claims causal attribution.
  • Team bundles — export allowlisted aggregates designed to omit raw conversation content at structural or team privacy levels for team Overview and Cost views. New exports use schema v3; sanitized v1 and v2 imports remain supported.
  • Privacy mode — reduces visible sensitive text; screenshots still require review before sharing.

Links

License

Business Source License 1.1, with an Additional Use Grant: free for personal use and internal use (including commercial-internal use) by you or your organization. See the LICENSE file for the full text.

Metadata

Release files for checkyouragent 0.2.0

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

Source distribution (sdist)

Source distribution for checkyouragent 0.2.0
File Size Uploaded
checkyouragent-0.2.0.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for checkyouragent 0.2.0
File Interpreter ABI Platform
checkyouragent-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / checkyouragent-0.2.0.tar.gz

Download URL checkyouragent-0.2.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
0d6e270451a715325e6e3e7e584b0454cc89f45275dc350185b7f4a78fcfb104
BLAKE2b-256 checksum
How to use checksums
3d1184f72bc6d3edd69442f78954f74fa0525d962a99c2c81764ae3ebd3c1c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release files / checkyouragent-0.2.0-py3-none-any.whl

Download URL checkyouragent-0.2.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4ebf86c1ff047b51b8c7c85c015443cf3d9c531d41d67e1cc44916b49b0e69aa
BLAKE2b-256 checksum
How to use checksums
2bfa499c8563bdcdfa3a454f241061de8a73461079547df81ef8dbc86ee10453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.1

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