Skip to content

Architecture

How Sypnia Agent is built, where each part runs, and why the safety rules live outside the model.

Applies to EngineCloud
View as Markdown
Figure. Sypnia Agent. The orchestrator decides, the model proposes, the sandbox runs, and the rules are checked outside the model.
  1. You or another agent start a task.
  2. The orchestrator reads your profile, memory, map and plan, and keeps the budget.
  3. The model proposes the next step; the orchestrator checks it against the rules.
  4. The sandbox supervisor runs commands, behind an egress proxy.
  5. Products are used through MCP, with your permissions.
  6. Approvals reach you; nothing on the ask list happens without one.
PartWhat it doesLanguageOpen source
CLIyour terminal: start tasks, answer, approve, read logsTypeScriptyes
Orchestratorplans steps, calls the model, enforces the tiers and the budget, keeps stateTypeScriptyes (the local one)
Sandbox supervisor (sypnia-sandbox)starts the sandbox, enforces file and network policy, limits, logs every commandRustyes
Sandboxeswhere commands run—local: yes; hosted: Cloud
Model gatewaySypnia AI, or your endpoint——
Memory and profileyour level, preferences, project notesSypnia Data (Cloud), files (local)—

Why the rules live outside the model

A model can be wrong, or be tricked by text in a file. So the model only proposes steps; the orchestrator checks every step against the rules before running it, and the supervisor enforces the sandbox no matter what the step says. Rust is used where a mistake would be a security hole: the sandbox and the egress proxy.

    Search pages, sections and terms