Skip to main content

agent_workflow_contracts

Dependency-neutral frozen pydantic wire models shared by the gateway, the product agent runtimes, and any external consumer. No gateway imports — that is the point of the split.

AgentOperationSnapshot.execution_class records the operation's work-kind. Optional role and effort declarations participate in its semantic identity; they do not resolve a model here. Both fields are omitted when None, preserving historical snapshot dumps and sealed admitted-task digests.

awaiting_approval is an attempt settlement awaiting a human decision, not success or failure. It retains the exact admitted task identity, provenance, and observed usage, with a reason but no analytical outcome or result values. Executable approval binding and continuation belong to the gateway approval owner, not these wire contracts.

File What it is
models.py Frozen WireModel contracts including CapabilityBind, AdmittedTask, TaskResult, DeliveryEnvelopeV1/V2, WorkflowView, PublishedOutput, and ContentHandle
ticker_contract.py, research_file_contract.py the two typed identifier contracts
context_refs.py exact door-readback ref minter and declared-context renderer shared by pipeline stages and named children
schema.py public_json_schemas() / public_schema_bundle() / export_public_json_schemas()
generated/ build output — JSON Schemas, agent-workflow-contracts.d.ts, the schema bundle, and delivery-envelope goldens. Regenerate from the checkout with .venv/bin/python3 scripts/generate_agent_workflow_contracts.py; do not hand-edit.

Consumers and lifecycle: ../../agent-gateway/docs/api-reference.md (section "Workflow Delivery Contracts") The embedding application owns the workflow executor that admits and persists these contracts.

Metadata

Release files for agent-workflow-contracts 1.0.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 agent-workflow-contracts 1.0.0
File Size Uploaded
agent_workflow_contracts-1.0.0.tar.gz 78.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-workflow-contracts 1.0.0
File Interpreter ABI Platform
agent_workflow_contracts-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 184.8 kB

Release files / agent_workflow_contracts-1.0.0.tar.gz

Download URL agent_workflow_contracts-1.0.0.tar.gz
Size 78.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5e2a9065edd8608787f0a8ecd7ef5ffd9f8127c29634fde8ee952936df2bc4b6
BLAKE2b-256 checksum
How to use checksums
8bc02fd5ac2b552cede77714a0613e16784d8aee696fa6605042c38290e6607c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / agent_workflow_contracts-1.0.0-py3-none-any.whl

Download URL agent_workflow_contracts-1.0.0-py3-none-any.whl
Size 106.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ad308d2602fe6feab43feb95faacd931e592d05fe7d3747f671657969060ce0
BLAKE2b-256 checksum
How to use checksums
8df7dcfbeffe6c89e549cb0f831318a9439e60f96c329803021c771a41454ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

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