Pytxo

Architecture

Pytxo follows a three-tier model:

Presentation  ->  Orchestration  ->  Execution
(Pytxo Desktop)   (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 event log
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 Pytxo Desktop reads store for topology UI

Moat routing

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

See repo layout for directory map.

On this page