-
Notifications
You must be signed in to change notification settings - Fork 174
Getting Started
github-actions[bot] edited this page Apr 30, 2026
·
10 revisions
Get Loki Mode running in under 5 minutes.
- Node.js 16+ or Homebrew (macOS/Linux)
- Claude Code CLI installed and authenticated
- A spec describing what to build -- a PRD markdown file, GitHub issue, YAML feature brief, or any natural-language description
npm install -g loki-modebrew install asklokesh/tap/loki-modedocker pull asklokesh/loki-modeloki --version
# Output: Loki Mode v5.49.0A spec can be a PRD markdown file, a GitHub issue, or a YAML brief. The simplest is a markdown PRD. Create a file called my-app.md:
# My Todo App
## Overview
Build a simple todo application with React and localStorage.
## Requirements
- [ ] Add new todos with a text input
- [ ] Mark todos as complete
- [ ] Delete todos
- [ ] Persist todos in localStorage
- [ ] Responsive design
## Tech Stack
- React 18
- TypeScript
- TailwindCSS# Launch Claude with autonomous permissions
claude --dangerously-skip-permissions
# In Claude, invoke:
# "Loki Mode with spec at my-app.md"
# (also accepts: "with PRD at my-app.md", "from issue #42", etc.)Or use the CLI directly:
loki start my-app.mdOpen the dashboard:
loki dashboard openOr check status via CLI:
loki status
loki logs --follow# Use a GitHub issue as the spec (converts issue body to a PRD and starts)
loki issue https://github.com/owner/repo/issues/123 --startloki start my-app.md --background
loki logs --follow # Monitor progressloki start my-app.md --provider codex
loki start my-app.md --provider geminiloki start my-app.md --parallel| Command | Description |
|---|---|
loki status |
Check current session status |
loki pause |
Pause after current phase |
loki resume |
Resume paused session |
loki stop |
Stop immediately |
loki logs |
View recent output |
loki logs -f |
Follow logs in real-time |
Create .loki/config.yaml in your project:
core:
max_retries: 50
dashboard:
enabled: true
port: 57374
notifications:
enabled: trueOr set environment variables:
export LOKI_SLACK_WEBHOOK="https://hooks.slack.com/..."
export LOKI_MAX_RETRIES=100- CLI Reference - Full command documentation
- Configuration - All configuration options
- Use Cases - Real-world examples
- Enterprise Features - Auth, audit, sandbox