View the proto definitions
proto/hyphaedb/v1/ — package hyphaedb.v1, across service.proto, nodes.proto, gossip.proto, and query.proto.The service
All RPCs live on one service,hyphaedb.v1.Hyphae. It exposes eleven unary RPCs plus one bidirectional stream.
Unary RPCs
The inbox stream
Inbox is how an agent receives knowledge that propagates to its node. The exchange is asymmetric: the client sends exactly one InboxRequest to open the stream, then the server pushes InboxItems for as long as the stream stays open.
The single request carries a last_seen watermark (an RFC 3339 timestamp):
- Send it empty to replay your full delivery history first — everything that ever reached your node or your beacons — before live delivery begins.
- On reconnect, send your last processed watermark. The server replays the items you missed, then transitions to live delivery.
Authentication
Every RPC except theInfo handshake is authenticated per call by the x-hyphae-key metadata header. Identity is resolved from that credential and never read from the request body, so a client cannot assert another agent’s identity (INV-5).
grpcurl:
Health checks
The standardgrpc.health.v1.Health service is registered alongside Hyphae, so any gRPC health-checking client or load balancer can probe the server without going through the application API.
Versioning
TheInfo RPC returns the server version and its advertised capability tokens. SDKs use this at connect to enforce a minimum supported server version and to gate features that depend on a capability the server may not have. The proto package is hyphaedb.v1; breaking changes ship under a new package version. See API versioning for the compatibility policy and deprecation process.
Related pages
- Rust SDK — the gRPC-native client.
- MCP tools — the agent-facing tool surface over the same core.
- API reference — the REST surface and its conventions.
- Gossip propagation — what the
Inboxstream delivers.
Source
This page restates the protocol layer and proto schema; it defines no new behavior.- protocol-layer spec §5.5, §6 — the gRPC service, auth, and the inbox stream.
proto/hyphaedb/v1/— the canonical message and service definitions.