01
Communication contracts
Bind an authenticated principal to explicit subjects and operations for a bounded session instead of relying on indefinite publish authority.
Open-source message broker
Pigeon Protocol v1 · Apache-2.0
PigeonMQ is an open-source message broker where authenticated services negotiate short-lived communication contracts and every governed message is evaluated against broker policy before delivery.
npm install pigeonmqidentity ✓
intent ✓
schema ✓
region ✓
data ✓
idempotency ✓
receiver → delivered · acknowledgement recorded
What is PigeonMQ?
PigeonMQ keeps the familiar producer, broker, subject and consumer model. It adds a broker-issued communication contract that answers four questions before governed communication proceeds: who is calling, what they may do, under which constraints, and what happened when the broker decided.
01
Bind an authenticated principal to explicit subjects and operations for a bounded session instead of relying on indefinite publish authority.
02
Evaluate identity, intent, schema, region, classification, sensitive data and idempotency before a governed message proceeds.
03
Apply the same contract semantics to publish, receive, replay and acknowledgement rather than enforcing only at connection time.
04
Return allow, deny or quarantine as typed broker outcomes and retain the evidence needed to explain the decision.
How it works
A communication contract establishes the session boundary. It does not bypass runtime enforcement. Every governed publish, receive, replay or acknowledgement is evaluated by the broker under that contract.
01
Resolve the calling principal from credentials at the broker boundary.
02
Request subjects and operations. The broker issues only the permitted communication scope.
03
Evaluate each governed message against the contract and subject policy.
04
Allow delivery, deny the operation, or quarantine the message with evidence.
Core concepts
Authenticated caller identity resolved by the broker.
Named communication channel with broker policy.
Short-lived authority binding principal, subjects and operations.
Governed message plus intent, region, classification and idempotency context.
Ordered checks performed before a message proceeds.
Allow, deny or quarantine with evidence.
Pigeon Protocol v1
The Node.js implementation is the canonical broker today. JavaScript, Python and Rust clients preserve the same contract negotiation and error semantics.
Protocol reference →Messaging patterns
orders.created
jobs.process
agents.tool.invoke
customer.profile.export
deploy.release.request
notifications.send
History
2024
Pigeon traces back to a dissertation on blockchain IoC for autonomous vehicles: when machines exchange messages, who may say what, to whom, and how is that proven afterwards?
Jul 2026
The first policy-native messaging broker is published under Apache-2.0, carrying that question from vehicles to services.
Sep 2026
Broker-issued communication contracts, per-message admission, audit evidence and quarantine become the core model.
Sep 2026
Python and Rust clients join the JavaScript client, with OpenTelemetry decision traces and federation authority primitives.
Start building
The quickstart takes you from installation to broker health, contract negotiation, an accepted message, receiver delivery, and a deliberate policy violation with quarantine evidence.