This release is a pre-release and may not be stable for production use.
Verdict Python SDK
PyPI distribution: cognifity-verdict · Python import: verdict · Apache 2.0
Verdict records the work a Python agent performs and connects supported model calls to that work. The dashboard helps a team investigate recorded failures and token usage, evaluate a selected scope, compare a change on reviewed cases, and monitor incoming activity.
The product is for agents in real applications. Claude Code and Codex history imports are additional local starting points.
Start locally
The published release is currently a beta pre-release, so use --pre to
install the newest beta without hardcoding a version:
python3.12 -m venv .venv
.venv/bin/python -m pip install --pre 'cognifity-verdict[dashboard]'
.venv/bin/verdict
The first-run screen can preview and import your local Claude Code or Codex history, connect an existing Verdict store, or import supported telemetry. Preview and approve local history capture; Verdict does not replay agent commands. Home then shows reported usage and recorded issues. Investigation opens the affected sessions and runs. No provider key is needed for capture, local checks, or the synthetic demo.
Instrument an application agent
Install the extras for the provider SDKs your application actually uses. The example below includes all three supported provider families:
python -m pip install --pre \
'cognifity-verdict[anthropic,openai,google,dashboard]'
Initialize once at startup and record application work at the point where it happens:
import verdict
verdict.init(storage="sqlite:///./verdict.db", service_name="support-agent")
with verdict.agent_run(name="support-agent", session_id="session-123") as run:
with run.turn(user_input="Look up the sample order") as turn:
with turn.tool("lookup_order", arguments={"order_id": "sample"}) as tool:
tool.set_output({"found": True})
turn.set_output("The sample order was found.")
run.record_business_outcome("resolved", True)
Supported Anthropic, OpenAI, and Google SDK calls inside the turn create
genuine linked model-call traces. Verdict captures provider-reported usage,
finish reason, and errors where the provider supplies them, and measures call
latency around the SDK call. A completed call records how many tool calls the
response asked the application to run, including zero, in the
verdict.response_tool_calls tag; captured response text holds only answer
text. Tools that run inside the provider, such as hosted web or file search,
are not counted. The
application supplies its own run, tool, test, feedback, and outcome records;
Verdict does not infer task success from a model answer. SDK content capture is
bounded and on by default; use verdict.init(capture_content=False) when the
application should retain metadata without prompts or responses.
For exact SDK entry points and coverage, read the release profile. For more event helpers and imports, read the onboarding guide.
Investigate, evaluate, monitor
- Home and Investigation show source-reported tokens, captured runs, and recorded issues. A finding links to the affected run or event. Missing usage or source coverage remains visible.
- Suggested setup proposes checks supported by the connected evidence. Run a local check once and review it before saving a recurring plan.
- Evaluation combines key-free deterministic checks with optional, explicitly approved provider-backed judging of bounded selected evidence. Reviewed cases can compare a configured baseline and candidate application.
- Monitoring can persist deterministic agent findings on a schedule. A separate prospective statistical monitor compares eligible genuine provider-call traces. A saved schedule or policy is not evidence that its worker has run; check the worker's cycle status.
Start the dashboard against the same store:
.venv/bin/verdict-dashboard --storage sqlite:///./verdict.db --host 127.0.0.1
The Agent Profiler guide contains a key-free synthetic demo and the evidence boundaries for local histories. The statistics primer explains model-call comparison eligibility and alert gates.
Customer-managed deployment
A single-tenant team can use a dedicated PostgreSQL store with a separately
run dashboard and supervised verdict-service worker. Instrumented Python
processes can write directly to PostgreSQL, or spool bounded local files for
the host shipper and authenticated collector. The released collector accepts
Agent records, standalone provider Traces, and manual Spans. The host team
configures TLS, authentication, retention, access, provider keys, and worker
supervision.
See customer-managed operations for the topology, commands, health checks, and upgrade boundary. Verdict is a customer-managed toolkit, not a hosted service.
Evidence boundaries
Local agent histories report tokens according to their source. Those counts are not provider bills. Estimated cost uses a dated list-price table and may omit caching, subscription, or negotiated pricing. Agent-session comparisons are descriptive. Statistical drift alerts apply only to eligible genuine model-call traces; they require a reviewed reference, new traffic, and sample and measurement gates. Optional judge calls send the approved bounded evidence to the selected provider. Redaction is best-effort, so choose capture fields and provider egress policies for your own environment.
For the supported behaviors and limitations, start with the main README and Verdict explainer.
Metadata
Release files for cognifity-verdict 0.1.0b7
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 |
|---|---|---|---|---|
| cognifity_verdict-0.1.0b7.tar.gz | 1.1 MB | With provenance | Details for cognifity_verdict-0.1.0b7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cognifity_verdict-0.1.0b7-py3-none-any.whl | Python 3 | none | any | Details for cognifity_verdict-0.1.0b7-py3-none-any.whl |
Total release size: 2.0 MB
Release files / cognifity_verdict-0.1.0b7.tar.gz
| Download URL | cognifity_verdict-0.1.0b7.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c995e76d33dc86fb7d56a447fb9b2631ff98778cf9216cfc276a84859bec3054
|
|
BLAKE2b-256 checksum How to use checksums |
59d500f717b26b388bd08b5a010e45e7b366f693d46d49dd6d1409e7599b2265
|
| 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 14, 2026.
Transparency logRelease files / cognifity_verdict-0.1.0b7-py3-none-any.whl
| Download URL | cognifity_verdict-0.1.0b7-py3-none-any.whl |
|---|---|
| Size | 851.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ced805bb483b3db5c89da1d9ba2a9d65ec5a35fe34f51c7d2e29508c5e37ea8
|
|
BLAKE2b-256 checksum How to use checksums |
1b4160932f5e99496e2c23d37929382d96f23361ee43c887306165fa4a5e296e
|
| 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 14, 2026.
Transparency logSecurity for cognifity-verdict 0.1.0b7
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.
Attestation for cognifity_verdict-0.1.0b7.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 14, 2026.
Transparency logA 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.