Skip to main content

maivn-contracts

maivn-contracts contains the typed wire models, JSON Schemas, loaders, and validators shared by mAIvn services and the Python SDK.

Install

pip install maivn-contracts

Import from a focused public namespace rather than from its implementation modules:

from maivn_contracts.events import Event, validate_event
from maivn_contracts.messages import Message, validate_message
from maivn_contracts.tools import ToolCall, validate_tool_call

The package exposes contract families for agents, artifacts, events, messages, resources, runtime state, scenarios, swarms, tools, toolsets, and workers. Each family's load_*_schema functions return the checked-in schema, validate_* functions validate untrusted wire data, and Pydantic models provide typed construction and parsing.

Treat schemas and their canonical encodings as protocol boundaries. Do not copy private fields into logs or relax a validator only in one consumer. Update the shared contract and all affected producers and consumers together.

Metadata

Release files for maivn-contracts 0.1.3

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

Source distribution (sdist)

Source distribution for maivn-contracts 0.1.3
File Size Uploaded Provenance Actions
maivn_contracts-0.1.3.tar.gz 610.2 kB With provenance Details for maivn_contracts-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maivn-contracts 0.1.3
File Interpreter ABI Platform Actions
maivn_contracts-0.1.3-py3-none-any.whl Python 3 none any Details for maivn_contracts-0.1.3-py3-none-any.whl

Total release size: 909.9 kB

Release files / maivn_contracts-0.1.3.tar.gz

Download URL maivn_contracts-0.1.3.tar.gz
Size 610.2 kB
Tags Source
SHA-256 checksum
How to use checksums
18f4ea04e20ed027acd0b484b9f716d6b770fe1ec06ddf46b2f067c8b5c65eeb
BLAKE2b-256 checksum
How to use checksums
96b4fcd62d85e1ae92bc7d9cbe56e1fd3c5e2177133d7b1f05940fc0df27e5d7
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 Nov 1, 2026.

Transparency log

Release files / maivn_contracts-0.1.3-py3-none-any.whl

Download URL maivn_contracts-0.1.3-py3-none-any.whl
Size 299.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bf7f6076c6d453154a9b8e37c3bd7620d1b2276b27a76dddf23b16366d52daa
BLAKE2b-256 checksum
How to use checksums
2be3bf1fb2a73d0b9ee56c4aaa5911dda7b6d548e3e6a5b9279bda46f2bd5c3e
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 Nov 1, 2026.

Transparency log

Security for maivn-contracts 0.1.3

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for maivn_contracts-0.1.3.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 Nov 1, 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.

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