Skip to main content

Architecture

How the Conductor, layers, memory, and observability fit together.

High-level flow

  1. Task enters via CLI or HTTP API
  2. Conductor (management layer) parses routing intent
  3. Layer executor dispatches agents with role-aware SOUL prompts
  4. Tools run through the registry (Read, Write, Bash, WebSearch, MCP)
  5. Memory writes to topics or Memvid
  6. Checkpoint saves RunState; SSE streams events to clients

Architecture diagram

Components

ComponentLocationRole
Python packagetechtide-swarmAgent, Swarm, CLI, FastAPI server
Memvid bridgememvid-swarm-bridgeRust CLI for .mv2 memory
Landing siteSeparate Next.js repoMarketing, docs, live demo BFF
Configswarm-compact.yaml357-role roster

Request lifecycle

Write operations require X-SWARM-API-KEY when SWARM_API_KEY is set. SSE streams end with stream.end on terminal run status.

See HTTP API overview and Streaming events.