Skip to main content

evidence-cli

A zero-dependency Python package and CLI (evidence) with two separate checks for runs of an agent harness:

  • evidence check, the run check reads run exports, re-runs the quote match from the saved files, and reports counts of facts whose quote was found in the saved result they cite. It is read-only on the export.
  • evidence grade, the answer check matches an answer text against recorded expected values and says matches, does_not_match or cannot_tell.

The two are separate results and are never folded together. Both commands print the line "a complete trail does not mean the work is correct". A passed fact means its quote was found, not that the value is true, and the answer check is an internal measurement, not a benchmark score.

Both are built and unit-tested. One live test is recorded in docs/notes/2026-11-18-live-test.md: six associate runs, three of which handed back facts. On those three the run check printed the same counts as associate check, and the answer check agreed with a hand reading. Each is one run, not a rate.

Before 0.7.0 this package was the culture-agent-template scaffold. The run check code was moved from associate at commit 266dad3 (associate/accuracy/).

Quickstart

uv sync
uv run evidence check path/to/export-dir [more-export-dirs] [--json]
uv run evidence grade --answer-file answer.txt --expected expected.json [--json]
uv run pytest -n auto                 # run the test suite
uv run teken cli doctor . --strict    # the agent-first rubric gate CI runs

evidence check writes a reviewer flags file in the directory that holds the export (--flags-dir DIR writes it elsewhere, --no-flags writes none). evidence grade reads the answer from a file, or - for standard input.

First consumer

associate is the first consumer. It does not import this package yet; that is planned work in its groundwork spec (a branch link, which will move once the branch merges). The public library names it is planned to import are listed in docs/library.md; changing one is a breaking release.

CLI

Verb What it does
check Run check: re-check the facts of one or more run exports.
grade Answer check: a match against recorded expected values.
whoami Report this agent's nick, version, backend, and model from culture.yaml.
learn Print a structured self-teaching prompt.
explain <path> Markdown docs for any noun/verb path.
overview Read-only descriptive snapshot of the agent.
doctor Check the agent-identity invariants.
cli overview Describe the CLI surface itself.

Every command supports --json. Results go to stdout, errors and diagnostics to stderr (never mixed). Exit codes: 0 success, 1 user error, 2 environment error, 3+ reserved.

Not built

The general evidence trail, rubric and final score of the original build brief (issue #1) are not built, and the overlap with storybook-cli is not settled. See CLAUDE.md.

License

Apache 2.0 — see LICENSE.

Metadata

Release files for evidence-cli 0.7.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 evidence-cli 0.7.0
File Size Uploaded Provenance Actions
evidence_cli-0.7.0.tar.gz 253.0 kB Without provenance Details for evidence_cli-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evidence-cli 0.7.0
File Interpreter ABI Platform Actions
evidence_cli-0.7.0-py3-none-any.whl Python 3 none any Details for evidence_cli-0.7.0-py3-none-any.whl

Total release size: 315.0 kB

Release files / evidence_cli-0.7.0.tar.gz

Download URL evidence_cli-0.7.0.tar.gz
Size 253.0 kB
Tags Source
SHA-256 checksum
How to use checksums
747c7d34c9da3e56d0ef75ba3cd4b00e1dff9a8b6c63454c84bd9b9e082601fb
BLAKE2b-256 checksum
How to use checksums
a51b94f6f67606d9dbb5a74c49c974e964fc0da97585f4c45cdd2568f8a5ba74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / evidence_cli-0.7.0-py3-none-any.whl

Download URL evidence_cli-0.7.0-py3-none-any.whl
Size 62.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a46777260176a640c845a3859a08b05d6d7004007871252227c16afe300b4fb
BLAKE2b-256 checksum
How to use checksums
d495aa554525f18066d41ae749991b841e1c31628e2d27273321218988f3078b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for evidence-cli 0.7.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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