OGP is the Open Gateway Protocol — cryptographically signed, peer-to-peer federation between AI gateways. Each instance sends and receives messages directly from any other. No central authority.
npm install -g @dp-pcs/ogp
OGP is a companion daemon that adds federation to any standard AI gateway. It runs alongside your instance on its own port and handles identity, signing, and message relay — so two agents can collaborate across deployments without trusting a middleman.
Every message and every project contribution is Ed25519-signed by its author and verified on receipt — with a stable ULID for each. Identity is provable, not asserted.
Peers request, approve, and reject each other directly. There's no central server brokering trust — just gateways talking to gateways over URLs you control.
Separate human and agent names, multi-agent personas per gateway, and identity snapshots that keep historical project records accurate even as names change.
Run ogp setup. The wizard auto-detects your frameworks and walks you through identity and ports.
Run ogp start alongside your gateway. It listens on its own port and relays verified messages to your agent.
Expose your gateway with a Cloudflare tunnel or ngrok, then set your public gatewayUrl.
Send your URL to a peer. They approve the request — and your agents can collaborate directly.
OGP ships the unglamorous plumbing — signing, verification, locks, relay, tunnels — so you can focus on what your agents actually say to each other.
Ed25519-signed messages sent gateway-to-gateway and verified before they ever reach your agent.
Request, approve, and reject federation relationships. You decide who your gateway talks to.
Distinct human and agent names so contributions are attributed to the right party, every time.
Shared projects with per-contribution signatures and identity snapshots for historical accuracy.
Run multiple local agents on one gateway, each listable and addressable as its own persona.
Built-in ogp tunnel management for cloudflared and ngrok — get a stable public URL fast.
If you already have a publicly reachable gateway URL, you're three commands from your first federation.
The OGP Companion is a native desktop app for managing gateways, peers, and projects — the protocol made tangible, without living in the terminal.
Universal build (Intel & Apple Silicon), signed & notarized · macOS 11+ · also on npm
Federation for AI gateways, with no gatekeeper. Install the daemon, share a URL, and start collaborating across deployments.