Catalog PyPI
PACKAGE EXPLORERView in registry

ag-ui-validate

PyPI

Conformance validator for the AG-UI protocol

Versions collected1
Direct dependencies5From release 0.4.0
Last observed21 Oct, 09:32 UTC

README

Version 0.4.0 documentation

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.

pip install ag-ui-validate   # or "ag-ui-validate[transport]" for just the endpoint-validating extras

To install from source instead:

git clone https://github.com/langport-dev/ag-ui-validate
cd ag-ui-validate/py
pip install -e ".[dev]"

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.029 Aug 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
langport-dev/ag-ui-validate

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:77d185e6ea967736c2d1feb55dfe88193d28bc53e2900d5915bd282a0eb29f1b