ponens
Turn an AI agent's session into a reviewable, verifiable reasoning record — and govern it.
pip install ponens
When an AI coding agent finishes, all you really have is a diff and a chat log. ponens turns that
into a reasoning trace: a structured, reviewable record of what was built and why — the steps,
the decisions, the artifacts and their lineage, the declared goal and whether it was met, what was
verified, and what was left uncertain — at the altitude a reviewer actually reads, not a replay of
the dialogue.
Reasoner-agnostic, local-first (no backend required), MIT-licensed.
Website & policy gallery: https://ponens.dev
Quick start
pip install ponens
ponens emit -o trace.json # capture an agent session as a reasoning trace
ponens trace view trace.json # open the interactive viewer (flow · lineage · goals · policies)
ponens trace grade trace.json # score the record on a reviewer-oriented rubric
ponens trace check trace.json # computable governance — machine-checked policies, PASS/FAIL
Already instrumented with OpenTelemetry or Langfuse? Bring those traces in and add the governance layer:
ponens otel import spans.json -o trace.json
ponens langfuse import lf.json -o trace.json
What you get
- A reasoning trace, not a transcript — atomic actions, typed artifacts, and a lineage DAG (what produced what), plus a declared residual surface (the gaps the agent left open).
- Goals graded met vs certified — did it meet its definition of done (resolved from the trace's own evidence), and did a reviewer other than the doer confirm that was the right definition? "Done" separated from "right."
- Computable governance — organizational and best-practice policies as machine-checked formulas over the trace (temporal + structural), a deterministic PASS/FAIL gate that runs offline in CI. Ready policy packs (formal-methods, the FIX Community's AI guidelines, and more) in the gallery.
- An interactive viewer —
ponens trace viewrenders the flow, the lineage graph, the goals, and the policy verdicts in a single self-contained page.
Learn more
- Website & policy gallery — https://ponens.dev
- Specs (trace, policy language, goal faithfulness) — https://ponens.dev/spec
- Source & issues — https://github.com/imandra-ai/ponens
License
MIT — © Imandra, Inc.
Release files for ponens 1.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ponens-1.15.1.tar.gz | 322.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ponens-1.15.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 666.5 kB
Release files / ponens-1.15.1.tar.gz
| Download URL | ponens-1.15.1.tar.gz |
|---|---|
| Size | 322.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e50e38fe9b16aea91f32903161c1270fc98d37c35f4e781cc4d9d4755d7efcb
|
|
BLAKE2b-256 checksum How to use checksums |
6834707fb515aa6aaa3e5ff4ce55711571ed53c090947387a53f13fb3413a928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|
Release files / ponens-1.15.1-py3-none-any.whl
| Download URL | ponens-1.15.1-py3-none-any.whl |
|---|---|
| Size | 344.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14fbfedca843ea13dee2ca315e44f639ca09dab156317865cd33a08e06a47414
|
|
BLAKE2b-256 checksum How to use checksums |
3d426c5270ca6dcfaa71430e734d2a333eb0f3819f31ab95d2301e37ab426930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|