Feature request: KAR evaluation and KITE certificate replay in the Python runtime
Problem
The Python runtime knolo on PyPI is 5.5.1. It mounts, queries, and verifies V5 Knowledge Images, but its README says it does not implement KAR, coverage, or composition, and the KITE docs say Python does not implement KITE. The Rust crate (also 5.5.1) already evaluates the public KAR V5 conformance vectors (#77, #88) and replays a KITE certificate from a knolo-kite-world-1 snapshot. The README roadmap lists "KAR on Rust, Python, and ICP" as still ahead. Python agent hosts (CrewAI, Pydantic AI, Google ADK in Python, smolagents, Haystack, Agno) can mount an image natively, but cannot check a KAR result or a KITE certificate without Node.
Proposal
Bring the Python runtime to the same read-only verification level as the Rust crate:
evaluate_kar_v5andverify_kar_v5for the frozenkar-1-research-1evaluator over a mounted V5 image and a committed evidence graph.replay_kite_certificatethat replays a KITE derivation from aknolo-kite-world-1snapshot, as the Rust crate does, without searching the image.
Scope and acceptance criteria
- Python passes the public KAR vectors in
conformance/kar/v1and the KITE vectors inconformance/kite/v1, with byte-identical roots to TypeScript and Rust. SATISFIEDkeeps its KAR meaning: evidence requirements were met, not that a claim is proven.UNSATISFIED_EVIDENCE_REQUIREMENTSis a completed evaluation.- Fail-closed behavior on malformed graphs, plans, snapshots, and root mismatches, with typed errors.
- No new runtime dependencies beyond what the package already uses, or a documented reason for any new one.
- CI runs the Python vectors next to the existing Rust and TypeScript checks.
- The Python README "Current Scope" section and the root README version paragraph are updated, and a new PyPI version is cut only through the existing release workflow.
Out of scope
- A Python pack builder, V5 writer, or CEG compiler.
- Cortex and composition in Python (can be a later issue).
- ICP canister changes.
Related
- #77 and #88 (native Rust KAR vectors)
- #175 (KITE certificate replay in Rust)
- #95 (CrewAI), #103 (Pydantic AI), #102 (Google ADK), #128 (smolagents), #127 (Haystack), #126 (Agno)
A human maintainer will review and implement this manually.