Skip to main content

getvda-evaluator

Governance evaluation for AI agents, in Python — an entry point into the existing getvda.ai framework, not a parallel one.

It calls the same services an @getvda/evaluator-sdk user calls: ACP for the signed bundle, Witness for the seal, HITL for escalation. An agent governed through this path is governed by identical machinery. Nothing here re-implements policy.

LangChain DeepAgents middleware

from deepagents import create_deep_agent
from getvda_evaluator.middleware import build

agent = create_deep_agent(
    tools=[...],
    middleware=[build(
        environment="ref-env",
        bundle_source=fetch_signed_bundle,     # ACP
        capability_map={"send_email": "notify_guest"},
        sealer=seal_to_witness,                # Witness
    )],
)

It binds wrap_tool_call, not wrap_model_call. Governance gates actions: a model deciding to do something is not yet doing it, and an evidence trail of intentions is not an evidence trail of conduct.

Two behaviours worth knowing

Fail-static. If governance cannot be fetched or verified, the middleware denies. An agent that keeps acting when its rules are unreachable is ungoverned while appearing governed, which is worse than being stopped.

An unmapped tool is denied, not exempt. Tools with no capability_map entry use their own name, fail to match a capability, and are refused. A tool does not escape governance because nobody wrote a mapping line. Use ungoverned_tools to exempt deliberately, in writing.

Divergence is the risk this package carries

There are now two implementations of the same decision. Both are tested against packages/evaluator-conformance/cases.json — one contract, one set of verdicts, checked in CI on every change.

Change the contract before changing either implementation, never after. If they disagree you have two answers to "was this action allowed", and an evidence product with two answers has none.

That gate earned its place on its first run: this port had invented a SKILL.md format (markdown headings) that the real parser rejects. The suite caught it before it could grant permissions nobody had written down.

Upstream drift

The middleware binds to LangChain's wrap_tool_call / awrap_tool_call, which live in libs/langchain_v1 — a v1 rewrite still in flight. tests/test_api_drift.py pins that surface and a weekly CI job runs it, because a middleware that stops intercepting still looks installed.

The drift test skips when LangChain is absent: the evaluation core is deliberately testable without an agent framework, since it is the part that must not drift.

pytest packages/evaluator-py                       # core + conformance
pip install -e '.[deepagents]' && pytest           # + upstream API check

Metadata

Release files for getvda-evaluator 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getvda-evaluator 0.1.0
File Size Uploaded
getvda_evaluator-0.1.0.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for getvda-evaluator 0.1.0
File Interpreter ABI Platform
getvda_evaluator-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / getvda_evaluator-0.1.0.tar.gz

Download URL getvda_evaluator-0.1.0.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
81779300279c4392db44954f8c03b19e05f5225403a61997e0c83ba35b57fc75
BLAKE2b-256 checksum
How to use checksums
756f823c1d40b2e3c842df10f499174d884e0075d829b616125b366ac548ec34
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 Aug 24, 2026.

Transparency log

Release files / getvda_evaluator-0.1.0-py3-none-any.whl

Download URL getvda_evaluator-0.1.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7b8ba6e05ba02e2654a62da8c0166e402f079729598fda10b9b6a1dc0767cfc
BLAKE2b-256 checksum
How to use checksums
188de8f72cb7790e70ee8db17ed77e39253dabd6828030b623296612beec4c72
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 Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page