AnyProtocol
AnyProtocol is a .NET 8 and .NET 10 contract-first messaging library. Define one interface, register it as a client or server, and carry the same contract over local (InMemory), HTTP (REST), gRPC, Kafka, RabbitMQ, ZeroMQ, or MCP server transports according to each transport's declared capabilities.

Start here
Protocols
Choose the transport that matches the deployment boundary and delivery guarantees:
InMemory — process-local execution and deterministic tests
REST / HTTP — HTTP request/reply endpoints
gRPC — native unary and server-streaming RPC
MCP — expose selected methods as MCP tools
Kafka — durable partitioned event streams
RabbitMQ — durable topic routing and consumer groups
ZeroMQ — brokerless socket-based messaging
AnyProtocol validates selected protocols against contract operations during startup. Review transport semantics before production use: request/reply and streaming may be native or emulated, and delivery, durability, ordering, cancellation, and backpressure guarantees differ by transport.