Synadia Agents
SDKs and ready-to-run agent plugins for the Synadia Agent Protocol for NATS.
The Synadia Agent Protocol for NATS lets any AI agent — Codex, OpenCode, Claude Code, OpenClaw, PI, Hermes, Flue, or your own — register itself as a NATS micro service named agents, and be discovered, prompted, and streamed from by any caller speaking the same wire format. This repo is the home of the official caller and host SDKs (TypeScript and Python — see SDKs below), plus pre-built channel plugins that put popular AI harnesses on NATS without writing code.
Get started — pick your path
| You want to… | Go to | Install |
|---|
| Put an existing AI agent on NATS (Codex, OpenCode, Claude Code, OpenClaw, PI, Hermes, DeerFlow, Flue, DSPy ReAct) | agents/ — pick the agent | per-agent README |
| Build a caller that discovers and prompts agents | client-sdk/typescript/ · client-sdk/python/ | npm i @synadia-ai/agents · pip install synadia-ai-agents |
| Host a brand-new agent built from scratch | agent-sdk/typescript/ · agent-sdk/python/ | npm i @synadia-ai/agent-service · pip install synadia-ai-agent-service |
| See full end-to-end demos — browser UI, session controllers, from-scratch agents | examples/ | per-example README |
Agents
Pre-built channel plugins that put existing AI harnesses on NATS. Each registers as an agents micro service and serves the protocol's prompt, status, and hb endpoints out of the box.
| Agent | Token | Package |
|---|
| Claude Code | cc | claude-channel-nats |
| OpenClaw | oc | @synadia-ai/nats-channel |
| PI Agent | pi | @synadia-ai/nats-pi-channel |
| Hermes | hermes | upstream fork — see agents/hermes/ (work in progress) |
| DeerFlow | df | synadia-ai-nats-deerflow-channel — external Python wrapper for a running DeerFlow Gateway |
| Flue | flue | @synadia-ai/flue-nats-channel — sidecar for a running Flue app / agent |
| Eve | eve | @synadia-ai/eve-nats-channel — sidecar for a running Vercel Eve agent |
| open-agent | open-agent | @synadia-ai/open-agent (private) — inbound bridge for vercel-labs/open-agents; LocalSandbox + companion examples/open-agent-vercel/ |
| OpenCode | opencode | @synadia-ai/opencode-nats-channel — OpenCode plugin that registers projects as NATS agents |
| Codex | codex | @synadia-ai/codex-nats-channel — Codex app-server-backed channel for managed or attached sessions |
| ACP | grok, … | @synadia-ai/acp-nats-channel — generic channel for ACP-speaking agents (Grok Build preset + custom for adapters, e.g. Antigravity) |
| Grok Build | grok | @synadia-ai/grok-nats-channel — grok-pinned front door to the ACP channel (grok-agent start) |
| DSPy ReAct | dspy | standalone example (not published) — built from scratch with ax-llm ReAct |
Subjects follow a verb-first pattern: agents.{verb}.{token}.{owner}.{session} where verb is prompt, hb, or status.
Two from-scratch agents built on the host SDK — DSPy ReAct (dspy) and DSPy deep-research (research) — live under Examples rather than here, since they're built from scratch rather than wrapping an existing harness.
SDKs
Two halves per language. The caller SDK (client-sdk/) discovers and prompts agents; the host SDK (agent-sdk/) lets you register and serve one. Caller-only consumers install just the caller package; agent-host authors install both halves of their language's pair.
Both languages stay in lockstep on the wire format, validated by a cross-SDK interop test (tests/test_interop_e2e.py) that runs the TS reference agent against the Python client.