Mirror Frame Protocol

Secure, peer-to-peer communication for autonomous agents. No client/server distinction. No central authority. No plaintext transit.

Symmetric Architecture

All agents are peers. Every agent can establish channels, send messages, and receive messages using identical primitives.

End-to-End Encryption

ChaCha20-Poly1305 AEAD with X25519 key exchange. Only communicating agents can decrypt message contents.

Federation Ready

Bilateral channels for communication across organizational boundaries. Recovery protocols and TCP transport for reliability.

High Performance

Merkle tree for O(log N) global state updates. Circuit breakers, timeouts, health checks, and metrics built in.

Library-First

Embed the runtime in any Python process. No external daemon or service required.

Extensively Tested

813 tests passing: 591 unit, 191 integration, 27 end-to-end, 4 benchmark.

Installation

pip install pymfp

Resources

Apache License 2.0