@multiagentcoordinationprotocol/proto
v0.1.13
Published
MACP protocol buffer definitions — raw .proto files for the Multi-Agent Coordination Protocol
Maintainers
Readme
@multiagentcoordinationprotocol/proto
Raw .proto files for the Multi-Agent Coordination Protocol (MACP).
Installation
npm install @multiagentcoordinationprotocol/protoUsage
This package ships raw .proto files under proto/. Use them with your preferred protobuf toolchain (e.g., protoc, buf, protobuf.js).
const { resolve } = require('path');
const protoDir = resolve(require.resolve('@multiagentcoordinationprotocol/proto'), '..', 'proto');
// protoDir now points to the directory containing MACP .proto filesThe package also exports the proto directory path:
const { PROTO_DIR } = require('@multiagentcoordinationprotocol/proto');Proto files included
macp/v1/envelope.proto- Canonical Envelope, Ack, Error definitionsmacp/v1/core.proto- Core payloads, capabilities, gRPC servicemacp/v1/policy.proto- Governance policy descriptors and RPCsmacp/modes/decision/v1/decision.proto- Decision Modemacp/modes/proposal/v1/proposal.proto- Proposal Modemacp/modes/task/v1/task.proto- Task Modemacp/modes/handoff/v1/handoff.proto- Handoff Modemacp/modes/quorum/v1/quorum.proto- Quorum Mode
Versioning
This package version tracks the proto schema version from the spec repo.
Pin to a specific version range (e.g., @multiagentcoordinationprotocol/proto@^0.1.0) to avoid
unexpected breaking changes when new proto versions are released.
