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 saysmatches,does_not_matchorcannot_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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| evidence_cli-0.7.2.tar.gz | 267.1 kB | Without provenance | Details for evidence_cli-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evidence_cli-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for evidence_cli-0.7.2-py3-none-any.whl |
Total release size: 329.1 kB
Release files / evidence_cli-0.7.2.tar.gz
| Download URL | evidence_cli-0.7.2.tar.gz |
|---|---|
| Size | 267.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6afac2879ba3756bca63832abd1b06dc4dfe5f763bb6cd94572e3c2b51c60d38
|
|
BLAKE2b-256 checksum How to use checksums |
28c6bf73d62bf4cb0b684cf7d4ce2d04a1c2e2eee8dc7accc26cba426b7e5ae7
|
| 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.2-py3-none-any.whl
| Download URL | evidence_cli-0.7.2-py3-none-any.whl |
|---|---|
| Size | 62.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dde6812e6fdfe594f6a8c38eca6a7334d99b8ebe14172e81839f5dc69b72f7a
|
|
BLAKE2b-256 checksum How to use checksums |
2db23d7a6a02bc1e5c8d61eeb731844d378b8a7e2ec2135bba6dbab374d96a4b
|
| 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.2
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.