NEW: Free hands-on NATS workshops. Live sessions on NATS fundamentals, leaf nodes, AI agents on NATS, & more.
All Episodes

Synadia Agents: Client SDK, Agent SDK & the Wire Protocol

Episode 2

Building agents is one thing — knowing which SDK to reach for, and why, is another. If episode 1 got you running the plugins, this one explains what’s actually happening underneath them.

We walk through the repo structure, break down the three-piece architecture — agent SDK, client SDK, and wire protocol — and build two real examples: a TypeScript agent backed by DeepSeek and Ollama, and a chat client that discovers and prompts it over NATS.

What you’ll learn

  • How the Synadia agent protocol works: discovery, conversation, and liveness
  • Agent SDK: register a NATS microservice, serve the prompt endpoint, and stream responses back
  • Client SDK: discover running agents, send prompts, and consume streamed chunks
  • The wire protocol that connects both sides — three subjects and one chunk format
  • A live demo of a custom agent and client talking over NATS with a real LLM

Next up in the series: building agents from scratch with DSPy and coordinating many at once.

Get the NATS Newsletter

News and content from across the community


Cancel