A headless CLI orchestrator built on OpenCode that decomposes natural language goals into a task DAG, executing branches concurrently in isolated Git worktrees with strict 5-layer verification.
Central structured persistence decouples agents. Communication happens asynchronously via data contracts, avoiding direct process dependencies.
Sorts task DAGs based on resource allowlists. Spawns independent subtasks in parallel, executing changes in isolated Git worktrees.
Integrates compilation audits, linter scans, Bun unit testing checks, Semgrep code security patterns, and AI review loops before merging.
Configure parameters inside ~/.loopcode/config.toml to restrict model routing definitions, set maximum spend ceilings, and establish validation protocols.
Compatible with all 100+ OpenCode model routers. Route subtasks dynamically to the optimal model based on prompt complexity, cost thresholds, and cached instructions.
[model] default = "anthropic/claude-sonnet-4-6" planning = "anthropic/claude-opus-4-6" [budget] maxMonthlyCostUsd = 100.0 maxGoalCostUsd = 10.0 maxTaskCostUsd = 2.0 [safety] permissionMode = "acceptEdits" allowDestructiveRollback = false maxParallelAgents = 5
Run standalone binary anywhere in seconds. Built on top of OpenCode with support for 100+ AI models.