Skip to content

Protocols

Wire formats, communication standards, and protocol specifications with reference implementations.

What Are Protocols?

Protocols are specification-first — the spec is the product, the implementation is secondary. Every protocol must have a formal SPEC.md document that defines the wire format, semantics, error handling, and versioning.

Principles

PrincipleRequirement
External DependenciesZero (reference implementation)
Tuulbelt DependenciesAllowed
ScopeSpecification-focused
InterfaceSpec + Reference Implementation
DocumentationSPEC.md required

Governance

Protocols require high governance:

  • Specification completeness review
  • Edge case and error handling coverage
  • Versioning and evolution strategy
  • Cross-language compatibility verification

Available Protocols

No protocols implemented yet. Coming soon!

Planned Protocols

ProtocolDescriptionLanguage
wire-protocolSelf-describing binary TLV formatRust
message-envelopeStandard request/response wrapperTypeScript
pubsub-protocolMinimalist pub-sub wire formatRust
rpc-protocolSimple RPC over TCP/Unix socketsRust

Creating a Protocol

bash
/new-protocol <name>

See Contributing Guide for details.

Released under the MIT License.