Skip to main content

Architecture

Pytxo follows a three-tier model:

Presentation → Orchestration → Execution
(Reality Deck) (pytxo-orchestrate) (pytxo-runner + PTY)
↑ ↑
passive telemetry MCP / CLI

Crates

CrateRole
pytxo-cliUser-facing commands
pytxo-orchestrateScheduling, hypervisor, doctor
pytxo-runnerAgent execution, worktrees, PTY
pytxo-coreConfig, tasks, billing types, moat interfaces
pytxo-storeSQLite schema and WAL
pytxo-mcpMCP server for IDE integration

Data flow

  1. CLI or MCP submits a run plan from pytxo.toml
  2. Orchestrator computes waves (path conflicts + depends_on)
  3. Runner spawns agents in worktrees, streams events to SQLite
  4. Optional Reality Deck reads store for topology UI

Moat routing

All new orchestration features should route through Signal Core, Blast Shield, and Race Shield — not bypass them.

See repo layout for directory map.