Local-first, cloud-optional autonomous agent runtime. 18,324 lines of pure Rust powering distributed swarm intelligence with economic constraints and cognitive mesh reasoning. This is the live command center — wired to the running stack.
Each sector maps to specific backend Rust modules, exposing unified API endpoints to the frontend command interface.
The Command Center — real-time system metrics, ROI calculations, and swarm tracking.
src/economic_engine/ — Credit cost per token, ROI trackingsrc/agent_loop/ — Autonomous task spawningGET /metrics — Swarm size, missions completedLong-running, asynchronous, and scheduled tasks without requiring user presence.
src/mission_engine/ — DAG-based task graph parsingsrc/config/ — Persistent configuration statesPOST /cron/schedule — Create recurring jobsUnified timeline converging chats, extracted knowledge, and past mission logs.
src/memory_store/ — Sled (fast), Nerd (hybrid), SoulBrain (planetary)src/chat_history.rs — Multi-turn session statesGET /memories — Tiered memory recallPrimary input vector for direct user instruction and terminal-like execution.
src/cognitive_mesh/ — Multi-model parallel reasoningsrc/tool_executor/ — Safe bash, file I/O, API executionPOST /chat/stream — Real-time reasoning outputSpecialized roles and capabilities that the Swarm can assume on demand.
src/cognitive_architecture/ — Workflow patterns (Coder, Writer, Reviewer)src/models/ — LLM registry with success rate trackingGET /skills/list — Available role definitionsExternal connections, integrations, and distributed compute node fabric.
src/swarm_manager/ — UDP peer discovery, load balancingsrc/messaging_gateway/ — Discord, Slack, SMS integrationsrc/security/ — AES-GCM P2P encryption, CSM sandboxingSelf-contained Rust binary. Single configuration file. Zero external dependencies. The complete Tron platform runtime for autonomous agent swarms.