slogansand
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).
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)
Effective Harnesses for Long-Running Agents - Anthropic Engineering Claude Agent SDK Overview - Anthropic Platform New Patterns:
One Feature at a Time (Rule #7 in Core Autonomy)
Work on exactly one feature per iteration Complete, commit, verify before moving to next Prevents over-commitment and ensures clean progress tracking E2E Browser Testing with Playwright MCP
Features NOT complete until verified via browser automation New Essential Pattern: Playwright MCP -> Automate browser -> Verify UI features visually Detailed verification flow added to SKILL.md Note: Playwright cannot detect browser-native alert modals Advanced Task Tool Parameters
run_in_background: Returns output_file path, output truncated to 30K chars resume: Continue interrupted agents with full context Use cases: Context limits, rate limits, multi-session work Fixed Release workflow: Use gh CLI instead of softprops action for atomic release creation
Show HN: Research-Backed Multi-Agent System for Autonomous Development
https://github.com/asklokesh/claudeskill-loki-mode
Hey HN, author here. Loki Mode orchestrates specialized AI agents to take a PRD to deployed product with zero human intervention. But what I'm most proud of is the research foundation - we implemented virtually every scientifically proven pattern from the 2025-2026 AI agent literature. From Anthropic:Constitutional AI self-critique against principles Building Effective Agents...
New version has configurable research modes. You can disable external crawling entirely and run fully offline if needed. Feedback heard.
vs other multi-agent frameworks: Most focus on chat or simple task delegation. Loki Mode runs full SDLC - from PRD to deployed product with monitoring and business ops.
vs hiring a team: Obviously humans are better for ambiguous problems. But for well-defined PRDs, this removes the "I'll get to it this weekend" bottleneck.
I reviewed outputs and approved deployments. But architecture decisions, code, tests, docs - all Loki Mode.
It's not perfect. Some rough edges. But it works and enterprises can self-host it today.
Engineering (8 types): frontend, backend, database, mobile, API, QA, perf, infra Operations (8 types): devops, SRE, security, monitoring, incident, release, cost, compliance Business (8 types): marketing, sales, finance, legal, support, HR, investor, partnerships Data (3 types): ML, data eng, analytics Product (3 types): PM, design, tech writer Growth (4 types): growth hacker, community, success, lifecycle Review (3 types): code, business, security
Agents don't step on each other. Frontend agent never thinks about database schemas. QA agent never writes deployment scripts. Domain isolation is key.
We used RARV (Retrieve, Analyze, Reason, Validate) pattern with multi-agent collaboration. Each problem gets worked by specialized agents, reviewed by 3 parallel reviewers (code, business logic, security), and only merged after consensus.
The 99.67% isn't cherry-picked. Full run against standard SWE-Bench dataset. Happy to share methodology if anyone wants to reproduce.
Show HN: Loki Mode hit 99.67% SWE-Bench – MAF built a SaaS overnight
https://github.com/asklokesh/claudeskill-loki-mode
Last month I shared Loki Mode here. Since then, benchmarks came back.SWE-Bench: 99.67% (299/300 problems) HumanEval: 98.78% Pass@1 (162/164)For context, most single-agent systems hit 30-50%. Best proprietary ones hover around 70-80%.The difference is architecture. 37 specialized agent types across 6 swarms (engineering, ops, business, data, product, growth). Parallel 3-reviewer code review....
It's a Claude Code skill that orchestrates 37 specialized AI agents (engineering, ops, marketing, legal, etc.) to take a PRD and autonomously build, deploy, and operate a product.
Key features: - Parallel 3-reviewer code review (code, business logic, security) - Multi-cloud deployment (AWS, GCP, Azure, Vercel) - State persistence for rate limit recovery - Full business ops (Stripe billing, legal docs, landing pages)
Open source, MIT licensed. Feedback welcome - still iterating.