asklokesh/loki-mode

Public

Autonomous software factory. Give it a GitHub issue, a spec or a one-line task; get back a pull request with a signed receipt anyone can re-check offline. Runs on your machine with your own keys: Claude, Codex, OpenCode.

  • Stars1.1k+7 tuần này
  • Forks204
  • Watchers7
  • Issues184
  • Ngày tạo26/12/2025
  • Cập nhật gần nhất29/10/2026
  • Ngôn ngữShell
  • Giấy phép—
README.md6.4 KBRaw

Your agent says done. Loki proves it.

An autonomous software factory that knows what it is supposed to deliver, and proves it did.

loki-seal demo script

Install

git clone https://github.com/asklokesh/loki-mode
claude plugin marketplace add ./loki-mode/packages/loki-seal   # then /plugin in Claude Code, install loki-seal
npx loki-mode tour                                             # zero-key replay of a real Evidence Receipt

loki-seal is a Claude Code Stop hook: when your agent tries to finish, it runs your repo's real test suite and refuses "done" if tests newly fail or if tests or CI config were deleted, skipped or weakened. Details: packages/loki-seal/README.md.

The Seal is the verdict loki-seal prints on every stop attempt: PASS with a receipt, or a block with the reason.

What Loki Mode does

Hand it a PRD, GitHub issue, OpenAPI doc or one-line brief. It derives a delivery contract (the acceptance criteria), builds against it with a Reason, Act, Reflect, Verify loop, and ends with an Evidence Receipt that states what was proven and what was not. If the contract cannot be derived, it stops and asks one question instead of guessing.

npm install -g loki-mode      # or: bun install -g loki-mode
loki quickstart               # guided first build
loki start ./prd.md           # build from a PRD
loki start owner/repo#123     # build from an issue

Works with Claude Code (full support), Cline, OpenAI Codex CLI, Aider and opencode.

Before a build counts as done, a review council selects reviewers from a specialist pool (agents/types.json, scored by run.sh:FOCUS_KEYWORDS). The bundled MCP server exposes 36 tools over stdio (mcp/server.py).

Loki 10 engine (preview)

Opt-in: set LOKI_ENGINE=v10

Guide, provider table and summary format: docs/v10/GUIDE.md.

Full reference

The previous long README moved, unchanged apart from link paths, to docs/README-FULL.md. It holds:

  • Install methods (Bun, npm, Homebrew, Docker), the Claude Code plugin, and first-build commands
  • Try it without installing, and read-only brownfield mode

Nội dung README thuộc về asklokesh và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/asklokesh/loki-mode