Skip to main content

ag-ui-validate (Python)

Native Python port of ag-ui-validate, a conformance validator for the AG-UI protocol. Same rule catalog, same fixture corpus, byte-identical CLI flags and JSON/SARIF/JUnit output as the TypeScript implementation — checked against it on every PR by Parity CI.

Not yet published as a functional PyPI release — only a name-reservation placeholder (0.0.1) is live today. Install from source until a real release ships:

git clone https://github.com/langport-dev/ag-ui-validate
cd ag-ui-validate/py
pip install -e ".[dev]"   # or ".[transport]" for just the endpoint-validating extras

CLI

ag-ui-validate http://localhost:8000/agui   # live endpoint (POSTs a RunAgentInput)
ag-ui-validate run.jsonl                    # recorded stream (NDJSON/JSONL or SSE capture)
cat run.jsonl | ag-ui-validate -            # stdin

Exit codes: 0 clean, 1 findings at error level (or warnings over --max-warnings), 2 tool failure. See ag-ui-validate --help for the full flag list.

pytest plugin

from ag_ui_validate.pytest_plugin import assert_valid_agui

def test_my_agent_stream(captured_events):
    assert_valid_agui(captured_events, features=["shared-state"], max_warnings=0)

Registers automatically as a pytest plugin on install — no conftest.py setup needed. An async counterpart, assert_valid_agui_endpoint, validates a live endpoint directly from a test.

More

See the main README for the full rule catalog and design commitments, and docs/PYTHON-PORT-PLAN.md for the port's milestone history.

Metadata

Release files for ag-ui-validate 0.3.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 ag-ui-validate 0.3.0
File Size Uploaded Provenance
ag_ui_validate-0.3.0.tar.gz 66.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ag-ui-validate 0.3.0
File Interpreter ABI Platform
ag_ui_validate-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 162.3 kB

Release files / ag_ui_validate-0.3.0.tar.gz

Download URL ag_ui_validate-0.3.0.tar.gz
Size 66.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d45e84f7a2c08b8b7d2f66529844caebb3af8e99d5b32cf034a5c84082ad5f63
BLAKE2b-256 checksum
How to use checksums
d7fd7466550b4957a9f43bce5757ed25530af7717d83436278f8ff199395501c
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 18, 2026.

Transparency log

Release files / ag_ui_validate-0.3.0-py3-none-any.whl

Download URL ag_ui_validate-0.3.0-py3-none-any.whl
Size 96.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d43e5e07a913c8f7dc1df21a698764c87b36050790137437a4543bbd8dc0b4b
BLAKE2b-256 checksum
How to use checksums
5c74e80ffa1c7cca0ba3fac782f4293c0bc924ac164f59f00113435881dfc293
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 18, 2026.

Transparency log

Security for ag-ui-validate 0.3.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ag_ui_validate-0.3.0.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 Aug 18, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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