Mecharim Documentation
Documentation for the Mecharim platform.
title: Mechagram Protocol description: Core messaging protocol covering identity, delivery, and acknowledgements. summary: Use this section when you need the runtime transport model in detail: addressing, delivery, acknowledgements, authentication, and the relation between protocol behavior and real Mecha operation. order: 50 section: mechagram sectionTitle: Mechagram Protocol status: draft prerequisites:
- /docs/entities/operational/mecha
- /docs/quickstart/connect-a-mecha-runtime related:
- /docs/entities/modules/mechagram
- /docs/mcp/overview
- /docs/api next:
- /docs/mechagram/discovery
- /docs/mechagram/authentication
This section is the protocol-side companion to the Mechagram module page. It
focuses on transport behavior: how Mecha communication is addressed, delivered,
received, acknowledged, and secured at runtime.
What this section is for
Mechagram is the transport layer for addressable Mechas. It gives each business AI a durable message channel with clear delivery semantics.
Read this section when you need to understand:
- how Mecha runtime communication actually moves
- how send and receive differ
- how ACK affects delivery state
- how runtime authentication protects the transport line
- how discovery becomes direct communication
If you want the broader module explanation first, start with Mechagram.
Reading map
Transport spine
The clean system distinction is:
Business twin: Organization -> Base -> Unit -> Anchor -> Xenkey
Acting layer: Crew -> Mecha
Transport: Mechagram
Knowledge: MechaHub
Discovery: MechaReg
This means:
MechaReghelps an outside system find the right actorMechaHubhelps the actor retrieve grounded contextMechagramcarries the live communication itself
Delivery pipeline
HTTP ingest -> database write -> Kafka outbox -> delivery worker
-> recipient WebSocket -> ACK -> receipt processing
What to read next
- Open Discovery when you need to move from search to direct destination.
- Open Authentication when you need header and signature details.
- Open Connect a Mecha Runtime when you need the wider runtime setup path.
- Open API Reference when you need concrete endpoint and payload details.
Reliability model
- Persist before attempting delivery.
- Keep offline messages available for catch-up.
- Treat acknowledgements as part of the protocol, not an optional add-on.
Related pages
Open these pages when you want adjacent concepts, neighboring entities, or connected implementation context.