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.
  • 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.
  • Activity map — observed activity grouped into workflow phases, tools, and recurring habits. It describes recorded activity, not cost attribution.
  • Experimental analysis — Context Economics (explicitly defined opportunity signals with receipts and session drilldown; estimated and unattributed values remain distinct) 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.5.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.5.0
File Size Uploaded Provenance Actions
checkyouragent-0.5.0.tar.gz 2.3 MB With provenance Details for checkyouragent-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.6 MB

Release files / checkyouragent-0.5.0.tar.gz

Download URL checkyouragent-0.5.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
ec4a4c998d75b8f0241679bb67351f2df99d75150554dc4e5f8ee2d5141ed96f
BLAKE2b-256 checksum
How to use checksums
4f15999c940b820a91b7794ed17213e8a0e7b7e56fe466a9a94f3bfa94bc334c
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 25, 2026.

Transparency log

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

Download URL checkyouragent-0.5.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
da5a7a9707c4c16fcc30a591680e347b0f609a32fa2c43533cecaa7a0d8db350
BLAKE2b-256 checksum
How to use checksums
e999af3d8512dcc83c4ab6ba49539c47a340f37f0489ebda39a05489d9098343
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 25, 2026.

Transparency log

Security for checkyouragent 0.5.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.5.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 25, 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.5.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