Skip to main content

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 viewerponens trace view renders the flow, the lineage graph, the goals, and the policy verdicts in a single self-contained page.

Learn more

License

MIT — © Imandra, Inc.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ponens-1.7.1.tar.gz (201.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ponens-1.7.1-py3-none-any.whl (216.5 kB view details)

Uploaded Python 3

File details

Details for the file ponens-1.7.1.tar.gz.

File metadata

  • Download URL: ponens-1.7.1.tar.gz
  • Upload date:
  • Size: 201.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ponens-1.7.1.tar.gz
Algorithm Hash digest
SHA256 a0b534300fd71dd768f1e32ecf08ba7796f4b9d214be7074f1508b08d8e367f0
MD5 32e0e2f6e071c125fa2f76b3a585445a
BLAKE2b-256 91e91b625b87c1f016332f568ff4e6eead723fa5b4a9aabbd3061982d1fc079a

See more details on using hashes here.

File details

Details for the file ponens-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: ponens-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ponens-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7932017d16eb0fc9cb0bb17aea3ada6506c39ff99e08fabe05ed730b8edc85d
MD5 56097e0eb8026ec0924074818f88fb95
BLAKE2b-256 055c79269f940eec396cb19442e89f9d3996af1839c33f10952039e6a71ae9f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page