AI
Communication Protocols
Production implementations of the open agent protocols, Model Context Protocol (MCP) for tools and Agent-to-Agent Protocol (A2A) for agents, together with the transport, security and policy layers an enterprise needs around them.
Open protocols decide how agents describe themselves, talk to each other and call tools. We implemented them for enterprise agent systems and built the parts the specifications leave to the implementer: message signing, capability-based access control, trust between organizations, and a sandbox for agents nobody trusts yet.
The problem
Every agent framework describes capabilities in its own way, so connecting two of them means writing an adapter, and connecting ten means maintaining forty-five. Tool calls are made with no provenance, so nobody can say later which context an agent had when it acted. And nothing in the common frameworks answers the question an enterprise asks first: how does an agent from another team, or another company, prove who it is and what it is allowed to do.
What we built
- MCP implementation with type-safe contracts for function calling, context injection and result handling, and provenance tracked on every exchange.
- A2A implementation covering message formats, negotiation patterns, delegation semantics and the coordination of shared tasks between agents.
- A transport layer with serialization over JSON-RPC and Protocol Buffers.
- A semantic layer with the message types, the interaction patterns and a capability ontology, a structured vocabulary agents use to describe themselves.
- A policy layer with message signing, capability-based access control and complete audit trails.
- Libraries in Python, TypeScript and Rust, conformance test suites for each protocol, protocol-level mock servers for testing, and an interactive protocol explorer that steps through exchanges as they happen.
Each layer is versioned and extended on its own, so adopting the protocols never requires rewriting an existing system.
Design decisions
Independent layers, incremental adoption. The first version tried to standardize too much and felt heavy; developers said so. The redesign made MCP usable for tool integration without A2A, and A2A usable for agent coordination without MCP compliance. Teams pick what they need.
A capability ontology for negotiation. Agents built on different frameworks describe themselves differently. A shared, hierarchical vocabulary lets the runtime match capabilities and check compatibility, and a capability handshake lets agents discover compatible partners at runtime with zero configuration.
Identity on every message. Each message is signed with the sending agent's identity certificate. An agent can only invoke capabilities the target's policy has granted. Across organizations, a federated trust model defines who trusts whom and which policies apply at the boundary.
A sandbox for untrusted agents. Agents from unknown sources interact through a mediated proxy that validates inputs and outputs and enforces rate limits. Trust is earned through the proxy, not assumed.
In use
A team exposes an internal system to agents through MCP and sees every call with its full context in the audit log. Two agents built on different frameworks negotiate a shared task through A2A without an adapter. A partner organization's agents are allowed in through the federation gateway under a policy the security team wrote. A developer debugging an exchange watches it unfold in the protocol explorer instead of reading logs.
Where it fits
Enterprises assembling agents from several teams, frameworks or vendors that have to interoperate without adapters, and that need identity and policy on every exchange from the first day. Also teams exposing internal systems to agents through MCP.
What we learned
Developers adopt protocols in pieces or not at all. The most requested tool was not a library but the explorer, because seeing an exchange is faster than reading a specification. And security has to be a layer of the protocol, not a product bolted on afterwards, or every deployment reinvents it differently.
Technology
Model Context Protocol and Agent-to-Agent Protocol. JSON-RPC and Protocol Buffers transports. A capability ontology. Message signing with per-agent identity certificates. Capability-based access control. Federated trust between organizations. A mediated sandbox proxy. Libraries in Python, TypeScript and Rust. Conformance test suites, mock servers and an interactive protocol explorer.

