EDP + MEP + SAVOIR SDK for context-aware, certainty-aware, federated multi-agent environments
Project description
AxiomMesh SDK
EDP + MEP + SAVOIR for context-aware, certainty-aware, federated multi-agent systems.
AxiomMesh is a release-ready SDK for building agents that operate inside structured environments rather than free-form prompt loops. It combines:
- EDP — an environment design runtime with contexts, rules, actions, reactions, mission planning, and mathematical world export
- MEP — the Model Environment Protocol, a JSON-RPC-based protocol surface for envelopes, explanation, planning, execution, federation, provenance, health, and resilience
- SAVOIR — a certainty layer that separates what is observed, verified, derived, stale, contradicted, or shared
- Drone SDK — a reference implementation for drones, swarms, internal sub-agents, and federated mission execution
Positioning
This SDK is designed for systems where the world matters:
- drones and swarms
- embodied AI
- robotics middleware
- multi-agent coordination
- internal subsystem orchestration inside one machine
- federated execution across environments
The core idea is simple:
the agent should not guess the world from scratch every turn. it should receive a structured environment, a constrained action surface, and a certainty-aware state.
What makes this stack different
EDP
EDP turns the environment into an executable decision surface:
- contexts deform the available action space
- rules can be hard or soft
- roles and situation can limit action visibility
- plans can be built locally, cooperatively, or across environments
- the environment can be exported as matrices, graphs, adjacency structures, and factor-like constraints
MEP
MEP is not a prompt wrapper. It is not an MCP overlay either. It is the protocol layer between agents and structured environments. Its scope is broader than tool invocation:
- world state and certainty transport
- constrained action surfaces
- explanation and why-not semantics
- multi-agent and multi-context coordination
- federated execution across environments
- provenance, replay, resilience, and recovery
It exposes:
- context envelopes
- WHY / WHY-NOT explanations
- health and protocol introspection
- planning and mission preview
- multi-agent bindings and shared envelopes
- negotiation, execution, rollback, recovery, and rerouting
- federation across multiple environments
- chained provenance
SAVOIR
SAVOIR is the certainty engine. It distinguishes between:
- observed
- verified
- derived
- stale
- contradicted
- shared
This lets the runtime reason on a validated operational state instead of collapsing every fact into probability.
Repository layout
src/
edp_core/ # semantic layer, contracts, rules, runtime, missions, multi-agent coordination
savoir_core/ # certainty, evidence, local/shared knowledge, mesh propagation
mep_core/ # protocol surface, gateway, federation, JSON-RPC, registry/spec
drone_sdk/ # drone/swarm reference implementation
edp/ # compatibility imports
mep/ # compatibility imports
savoir/ # compatibility imports
Install
Local development:
pip install -e .
Quickstart
Run the drone demo:
PYTHONPATH=src python -m drone_sdk.demo
Run the full test suite:
PYTHONPATH=src python -m unittest discover -s tests -v
MEP vs MCP
MEP is not implemented as a thin layer over MCP.
The difference in design intent is structural:
- MCP is centered on exposing resources, prompts, and tools to language-model applications
- MEP is centered on exposing environments, contexts, action surfaces, certainty states, causal traces, and federated multi-agent execution
In other words:
- MCP helps an application call capabilities
- MEP helps an agent operate inside a constrained, evolving world
MEP can be bridged to other ecosystems later, including MCP-style surfaces, but its native model is environmental, causal, and multi-agent rather than merely tool-oriented.
Protocol surface
The runtime can expose its protocol shape directly:
mep.specmep.spec.schemamep.spec.markdownmep.method.describemep.health
Generated protocol artifacts are included in this repository:
MEP_SPEC.mdMEP_PROTOCOL_SCHEMA.jsonMEP_METHOD_CATALOG.jsonMEP_METHOD_CATALOG.md
Current status
- SDK version:
1.0.1 - MEP version:
2.0.0 - Status: release-ready public baseline
Publication assets included
LICENSENOTICECHANGELOG.mdRELEASE_NOTES.mdCONTRIBUTING.mdSECURITY.mdCODE_OF_CONDUCT.mdCITATION.cffMEP_SPEC.mdMEP_PROTOCOL_SCHEMA.jsonMEP_METHOD_CATALOG.jsontools/export_protocol_catalog.py
License
Apache-2.0.
See LICENSE and NOTICE.
Publishing
The repository includes GitHub Actions workflows for CI and tagged publishing.
.github/workflows/ci.ymlruns the test suite on pushes and pull requests.github/workflows/publish.ymlbuilds and publishes on tags likev1.0.1
Before a real release, set your repository URLs in pyproject.toml and configure a PyPI Trusted Publisher for the GitHub repository.
Project details
Release history Release notifications | RSS feed
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 axiomesh_sdk-1.0.1.tar.gz.
File metadata
- Download URL: axiomesh_sdk-1.0.1.tar.gz
- Upload date:
- Size: 81.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00cfcdfa51c67177a0cfb08f5fb88ccec32b4f934afd55ed21901fad278ec44d
|
|
| MD5 |
8a25c9373db9577b943e909ed0a5da46
|
|
| BLAKE2b-256 |
3216123caee40a34703da4be701bf612372ad004fa1d0104dc45fc831d3cbb78
|
File details
Details for the file axiomesh_sdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: axiomesh_sdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 72.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
794d6aa93f9a41a4d567fb17785d93040296fd803429547371192cc4598399a9
|
|
| MD5 |
d25cf6f6f44205ed1a27abec03929381
|
|
| BLAKE2b-256 |
2fe6173897ad4eb46834647e127939eff72761f5f9449cb2a0f24c7d7fc51e08
|