Layi Docs
Platform Architecture
Durable Temporal workflows, hierarchical agents, and a zero-trust tool perimeter
ποΈ Platform Architecture
Layi is built around a Temporal-powered durability layer, a supervisor/specialist agent hierarchy, and a zero-trust Tool Gateway so enterprises can run autonomous work across modern APIs, legacy systems, and real-time channels without losing control.
Interactive Architecture Visualization
Explore our system architecture through interactive diagrams showing Context (Level 0) and Logical (Level 1) views with detailed component breakdowns, data flows, and security boundaries.
π Technology Stack
Modern technologies powering the Layi platform:
Frontend
Backend
Infrastructure
π§© Hierarchical orchestration & learning
Every request spins up a Temporal workflow that coordinates a supervisor planner, multiple specialist executors, and two reinforcement loops.
π§ Eight-layer memory fabric
Agents stay grounded by separating knowledge into dedicated layers. Supervisors fetch only what each step needs, reducing token waste and keeping reasoning factual.
π Data Flow
How information moves through the Layi platform:
User Interaction
Voice, chat, or phone call triggers a Temporal workflow via the dashboard, SDK, or phone bridge.
API Processing
FastAPI services authenticate via the Org Manager identity layer + SSO, attach org context, and enqueue the workflow.
Agent Execution
Supervisor/specialist agents fetch relevant memories, call tools via the Gateway, and log state in Cassandra.
Real-time Updates
Temporal signals + realtime channels stream status, KPI deltas, and HITL prompts back to the dashboard.
π Security Architecture
Multi-layered security approach:
π Deployment Options
Flexible deployment strategies for different use cases: