Knowledge Portal · engineering documentation

Skip to content

PL-003 — AI Runtime ​

Status: Canonical
Owner: AI Platform
Repository: zaixos-ai-platform
Packages: zaixos/ai-platform, zaixos/ai-contracts
Last updated: 2026-07-05


Purpose ​

Central AI execution plane — agents, conversations, intent resolution, planning, tool execution, provider gateway, and memory runtime for all ZAIXOS products.


Responsibilities ​

Owns ​

ComponentRole
AgentRuntimeAgent lifecycle
AgentTurnOrchestratorConversation turn execution
PlatformGoalPlanner / PlatformTaskPlannerGoal → task → tool routing
ToolRegistry / ToolExecutionOrchestratorTool dispatch
ProviderGatewayLLM provider abstraction
MemoryRuntimeSession memory
Intent / signal pipelineStructured understanding inputs

Does not own ​

  • Product domain tools implementation bodies (products register tools)
  • Learning optimization engines (PL-004)
  • Long-term knowledge graph (PL-005)
  • Filament/chat UI (products)

Architecture ​

mermaid
flowchart TB
    subgraph PL003["PL-003 AI Runtime"]
        AR[AgentRuntime]
        TO[TurnOrchestrator]
        PL[Planners]
        TR[ToolRegistry]
        PG[ProviderGateway]
        MR[MemoryRuntime]
    end
    Product[Product AI Adapter] --> AR
    AR --> TO --> PL --> TR
    TO --> PG
    TO --> MR
    TR --> DomainTool[Product Domain Tools]

Contracts ​

Primary: AiRuntimePlatformContract and related DTOs in zaixos/ai-contracts.


Planning & execution ​

  1. Receive user message via product adapter
  2. Resolve intent and signals
  3. Planner selects capability and tools
  4. Execute tools with permission checks
  5. Return structured response DTO

Sequence: AI/agent-lifecycle.md


Capabilities ​

Products register capabilities; PL-003 matches and routes. Catalog: CAPABILITIES/README.md


Known limitations ​

  • Consumer #1 operational; multi-product federation evolving
  • Provider failover policies product-configured

Version history ​

VersionDateNotes
0.7.02026-07Consumer #1 operational

Breadcrumbs: Home → Platforms → PL-003

ZAIXOS Knowledge Portal — public engineering docs at /docs · Staff operations at /admin