Reads your PRD and breaks work into phases: Discovery, Architecture, Infrastructure, Development, QA, Deployment, and Growth
Runs the RARV cycle (Reason, Act, Reflect, Verify) continuously
Uses parallel agents for independent tasks (up to 10 Haiku agents simultaneously on Claude)
Maintains working memory across sessions via .loki/CONTINUITY.md
Includes a 7-gate quality system with 3-reviewer blind review
Multi-provider support (v5.0+):
Claude Code: Full features (parallel agents, Task tool, MCP)
OpenAI Codex CLI: Degraded mode (sequential)
Google Gemini CLI: Degraded mode (sequential)
bash # npm npm install -g loki-mode
# Homebrew brew install asklokesh/tap/loki-mode
# Docker docker pull asklokesh/loki-mode Usage:
bash # CLI wrapper loki start ./prd.md loki start --provider codex ./prd.md loki start --provider gemini ./prd.md
# Or directly in Claude Code claude --dangerously-skip-permissions # Then say: "Loki Mode" or "Loki Mode with PRD at path/to/prd.md" Human intervention controls:
touch .loki/PAUSE — Pause after the current task
echo "instructions" > .loki/HUMAN_INPUT.md — Inject guidance
Ctrl+C once to pause, twice to exit
Research foundation:
Built on 2025 patterns from OpenAI Agents SDK, Anthropic Constitutional AI, DeepMind SIMA, Chain-of-Verification (arXiv:2309.11495), and MemEvolve (arXiv:2512.18746).