Skip to main content

AACP coordination layer for Pydantic AI multi-agent workflows

Project description

aacp-pydantic-ai

AACP coordination layer for Pydantic AI multi-agent workflows.

Pydantic AI already types the result layer -- agents return validated Pydantic models. AACP adds typing to the instruction layer: what the orchestrator says to agents is now also typed, deterministic, and schema-validated. Both layers become fully deterministic.

Without AACP:  NL instruction → Agent → typed result
With AACP:     AACP packet    → Agent → typed result
               ↑ typed                  ↑ typed (already)

Install

pip install aacp-pydantic-ai

Quick start

from aacp_pydantic.orchestrator import AACPPydanticOrchestrator

orch = AACPPydanticOrchestrator(model="openai:gpt-4o-mini")
result = orch.run_workflow("payroll", period="2026-03")

Comparison demo

python3 examples/comparison.py --mock

Links

Licence

MIT

Project details


Download files

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

Source Distribution

aacp_pydantic_ai-0.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

aacp_pydantic_ai-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file aacp_pydantic_ai-0.1.0.tar.gz.

File metadata

  • Download URL: aacp_pydantic_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for aacp_pydantic_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60d8f0ccd7ff0a8e8b43694923761ecfa52f47a1b963ba7322527b57e5aebdd3
MD5 ba5d301b7659240eba8298b51e8938ce
BLAKE2b-256 d2d8912b3a8d57c263cb8ce7ad20a27111e8351f96284ebae18960ac02023040

See more details on using hashes here.

File details

Details for the file aacp_pydantic_ai-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aacp_pydantic_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8e0c8dfccac93dc142a4e16a4d690afc4c0b1d5867ac697bf018c26e579d2a
MD5 05e59ca289cacd1c5c2f383518d50188
BLAKE2b-256 d11a0beab2329c78a3e365bb7ee84781bb1c62696849bf218890f9e795642df6

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