Skip to content

Mesh Architecture

┌─────────────────────────────────────────────┐
│ AgentField Control Plane │
│ Registration · Discovery · Execution · Memory │
└──────────┬──────────────┬──────────────┬────┘
│ │ │
┌──────┴──────┐ ┌─────┴─────┐ ┌─────┴─────┐
│ consumer- │ │ fast- │ │ customer- │
│ agent │ │ analytics │ │ agent │
│ :8957 │ │ :8202 │ │ :8616 │
└─────────────┘ └───────────┘ └───────────┘
│ │ │
┌──────┴──────┐ ┌─────┴─────┐
│ external- │ │ fast- │
│ agent-call │ │ query │
│ (connector) │ │ (connector)│
└─────────────┘ └───────────┘
│ │
┌──────┴──────┐ ┌─────┴─────┐
│ Stage │ │ Stage │
│ Consumer API│ │ FAST API │
└─────────────┘ └───────────┘
ComponentWhat it does
Control PlaneAgentField server — registration, discovery, execution gateway, memory
Mesh APIFAM server — agent CRUD, skills, connectors, execution streaming
AgentsAI-powered services with reasoners and skills
ConnectorsDeterministic tools that call external APIs
SkillsPrompt instructions that compose connectors
Web UIReact app for visual agent building and chat
TUITerminal UI (mesh builder)
  1. Registration: Agent starts → registers with control plane → becomes discoverable
  2. Discovery: Reasoner runs → queries control plane → gets available tools
  3. Execution: LLM calls tool → routes through control plane → target executes → result returns
  4. Memory: Agents read/write shared state via control plane memory API

Each agent gets a deterministic port: 8001 + hash(node_id) % 999. Same port every restart.