Python SDK and reference runtime for the MPLP Protocol v1.0.0 (Multi-Agent Lifecycle Protocol).
Project description
MPLP Python SDK (mplp-sdk)
Protocol: MPLP v1.0.0 (Frozen) License: Apache-2.0
The MPLP Python SDK provides a protocol-compliant Python interface for the Multi-Agent Lifecycle Protocol (MPLP) — the Agent OS–level lifecycle specification for AI agent systems.
This package focuses on schema-level correctness, model validation, and protocol alignment. It is designed to be used together with the official MPLP specification and documentation.
Scope & Guarantees (Important)
✅ What this package provides
- Protocol-compliant Python models aligned with MPLP v1.0.0
- Structural validation helpers for core protocol objects (Context, Plan, Trace)
- Strict version alignment with the frozen MPLP protocol specification
- Type-safe integration surface for higher-level runtimes and tools
❌ What this package does NOT provide
- ❌ Full execution runtime (LLM orchestration, tool execution)
- ❌ Golden Flow execution engines (Flow-01 ~ Flow-05)
- ❌ Observability pipelines or distributed tracing backends
- ❌ Production agent orchestration
These capabilities belong to reference runtimes and products built on top of MPLP, not to the protocol SDK itself.
Installation
pip install mplp-sdk
Basic Validation Usage
from mplp import validate_context, validate_plan, validate_trace
result = validate_context({
"protocolVersion": "1.0.0",
# ...
})
if result.ok:
print("Context is protocol-compliant")
else:
print(result.errors)
Validation helpers are provided to assist protocol adoption, not as a substitute for full lifecycle management.
Protocol Documentation (Authoritative)
- Homepage: https://mplp.io
- Specification & Docs: https://docs.mplp.io
- Source Repository: https://github.com/Coregentis/MPLP-Protocol
- Issues: https://github.com/Coregentis/MPLP-Protocol/issues
All normative definitions, lifecycle semantics, and Golden Flows are defined exclusively in the official documentation.
Versioning & Compatibility
- Protocol version: MPLP v1.0.0 (Frozen)
- SDK compatibility: Guaranteed for v1.0.0 only
- Breaking changes require a new protocol version.
License
Apache License, Version 2.0
© 2025 Bangshi Beijing Network Technology Limited Company Coregentis AI
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mplp_sdk-1.0.2.tar.gz.
File metadata
- Download URL: mplp_sdk-1.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d1fce94b7da473f9c1c1c5bfc84e40c2a979467ae246fb0771630f9f7ba85d3
|
|
| MD5 |
71e982c1683ecf20e53819d17ec9e521
|
|
| BLAKE2b-256 |
8a2a25f267c149388894ca369b4a8749548fdec2b08bc65b67cbd9c79e45f14a
|
File details
Details for the file mplp_sdk-1.0.2-py3-none-any.whl.
File metadata
- Download URL: mplp_sdk-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285a872408c8284361808eed7713766106754d7290aaad6db4e82e3c625ede91
|
|
| MD5 |
4a0d8d2e9b1ccc103fb736ec27b7ac78
|
|
| BLAKE2b-256 |
132e2181a80bd70f0ee549642fcc69f3fa322cb681a077e78aac1d882f907534
|