Skip to content

Architecture (Deep Dive)

This section is for operators, contributors, and anyone who wants to know what's actually happening when an entity registers, gossip propagates, or a deployer worker rebuilds a Caddy route.

If you only want to use Zynd, you can skip this entire section. The earlier chapters (Build, Discover & Integrate) cover the user view.

What's here

PageWhat it covers
Registry SpecThe protocol every registry node implements — mesh, gossip, DHT, search ranking, EigenTrust, ZNS. Implementation-agnostic.
AgentDNS (Implementation)The Go reference implementation of the spec — subsystem map, startup sequence, background loops, wire protocol.
Dashboard (Implementation)Internals of www.zynd.ai — Next.js + Supabase Auth + Prisma + AES-256-GCM key encryption.
Python SDK InternalsModule map of zyndai_agent — what each file owns.
MCP Server InternalsHow the persona-runner is detached, the mailbox flow, launchd/systemd integration.

How the surfaces relate

The spec is the source of truth. AgentDNS is the canonical implementation. SDKs speak the spec. Hosted services are user-facing apps built on top of the SDKs.

Reading order

If you're new here, read in this order:

  1. Registry Spec — what the network is.
  2. AgentDNS — how one node serves the spec.
  3. Python SDK Internals — how a client speaks to it.
  4. Dashboard — a concrete consumer of the SDK.
  5. MCP Server — a chat-bridged consumer.

Released under the MIT License.