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.

On first use, Sources & sync offers Sync new and updated, followed by View costs. Cost initially shows All time so older imported history is included. Returning visits restore the last analytical page for the active data scope, defaulting to Cost.

The main local pages are Cost, Sessions, and Explore. Sources & sync and Share team bundle sit in the lower Data group. Team scope has Cost and Overview, plus Manage bundles under Data. Returning from a session preserves the Cost filters or Sessions search, filters, and sorting for the current workspace visit.

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. Spend increases show their baseline and comparison window; model legends wrap and the model list scrolls within its panel.
  • 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.

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.4.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.4.0
File Size Uploaded Provenance Actions
checkyouragent-0.4.0.tar.gz 2.3 MB With provenance Details for checkyouragent-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.6 MB

Release files / checkyouragent-0.4.0.tar.gz

Download URL checkyouragent-0.4.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
5152f3636758118a139e9d73e2eb00766e6a82669bf49af89c687cd91f99c705
BLAKE2b-256 checksum
How to use checksums
83cdadc9624181896ac65b191a6fb94a466d14564d5501e71445c6b07b77417a
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 Nov 5, 2026.

Transparency log

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

Download URL checkyouragent-0.4.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7c241645a0bc340a6043ffbd8a2818e5f35cbcdf20f3633874346c87f6540ef8
BLAKE2b-256 checksum
How to use checksums
198933318f8024dc8416f38639cbc5bdfba4fdaca69efcd2286b451fc278925f
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 Nov 5, 2026.

Transparency log

Security for checkyouragent 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for checkyouragent-0.4.0.tar.gz

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 Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files Full provenance

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