Orchestrator
Multi-agent task execution with cache coordination.Overview
Orchestrator supervises agents that claim and execute tasks from a shared cache.Architecture
Features
- Tasks: LLM generates DAG from instructions
- Locking: Time-limited task leases
- States:
BLOCKED → READY → RUNNING → DONE/FAILED - Control: Heartbeat files accept
PAUSE,RESUME,DROP-TASK, etc. - Spawning: Each agent gets instruction file, heartbeat, goal ID
Files
Configuration
systemg.yaml:PORKI_LLM_MAX_CONCURRENCY raises the number of global LLM leases available
across agents, and PORKI_LLM_CONCURRENCY_WAIT_SECONDS controls how long agents
wait for a lease before timing out.
instructions/INSTRUCTIONS.md:
DAG Format
Usage
Validation
Usesysg status, sysg logs --service orchestrator, and Redis keys to validate
runtime behavior. Package-level runtime tests execute in the porki repository.