loki-mode 5.48.2 → 5.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -40
- package/SKILL.md +3 -3
- package/VERSION +1 -1
- package/autonomy/CONSTITUTION.md +2 -2
- package/autonomy/app-runner.sh +9 -0
- package/autonomy/completion-council.sh +58 -4
- package/autonomy/hooks/validate-bash.sh +11 -1
- package/autonomy/loki +107 -0
- package/autonomy/run.sh +299 -4
- package/autonomy/sandbox.sh +9 -0
- package/dashboard/__init__.py +1 -1
- package/dashboard/server.py +39 -1
- package/docs/COMPARISON.md +10 -10
- package/docs/COMPETITIVE-ANALYSIS.md +3 -3
- package/docs/INSTALLATION.md +20 -12
- package/docs/auto-claude-comparison.md +1 -1
- package/docs/cursor-comparison.md +3 -3
- package/docs/thick2thin.md +2 -2
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
- package/references/agent-types.md +2 -2
- package/references/agents.md +1 -1
- package/references/competitive-analysis.md +1 -1
- package/skills/agents.md +3 -3
- package/skills/parallel-workflows.md +1 -1
- package/skills/quality-gates.md +1 -1
package/docs/INSTALLATION.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
The flagship product of [Autonomi](https://www.autonomi.dev/). Complete installation instructions for all platforms and use cases.
|
|
4
4
|
|
|
5
|
-
**Version:** v5.
|
|
5
|
+
**Version:** v5.49.1
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## What's New in v5.
|
|
9
|
+
## What's New in v5.49.1
|
|
10
10
|
|
|
11
11
|
### Enterprise Security (v5.36.0-v5.37.1)
|
|
12
12
|
- TLS/HTTPS support for dashboard connections
|
|
@@ -63,7 +63,7 @@ npm install -g loki-mode
|
|
|
63
63
|
brew tap asklokesh/tap && brew install loki-mode
|
|
64
64
|
|
|
65
65
|
# Option C: Docker
|
|
66
|
-
docker pull asklokesh/loki-mode:
|
|
66
|
+
docker pull asklokesh/loki-mode:latest
|
|
67
67
|
|
|
68
68
|
# Option D: Git clone
|
|
69
69
|
git clone https://github.com/asklokesh/loki-mode.git ~/.claude/skills/loki-mode
|
|
@@ -160,6 +160,10 @@ Install via npm for the easiest setup with automatic PATH configuration.
|
|
|
160
160
|
npm install -g loki-mode
|
|
161
161
|
|
|
162
162
|
# The skill is automatically installed to ~/.claude/skills/loki-mode
|
|
163
|
+
|
|
164
|
+
# Opt out of anonymous install telemetry:
|
|
165
|
+
# LOKI_TELEMETRY_DISABLED=true npm install -g loki-mode
|
|
166
|
+
# Or set DO_NOT_TRACK=1
|
|
163
167
|
```
|
|
164
168
|
|
|
165
169
|
### Usage
|
|
@@ -207,8 +211,8 @@ brew tap asklokesh/tap
|
|
|
207
211
|
# Install Loki Mode
|
|
208
212
|
brew install loki-mode
|
|
209
213
|
|
|
210
|
-
# Set up Claude Code skill integration
|
|
211
|
-
loki-mode-
|
|
214
|
+
# Set up Claude Code skill integration (manual symlink required)
|
|
215
|
+
ln -sf "$(brew --prefix)/opt/loki-mode/libexec" ~/.claude/skills/loki-mode
|
|
212
216
|
```
|
|
213
217
|
|
|
214
218
|
### Dependencies
|
|
@@ -254,7 +258,7 @@ Run Loki Mode in a container for isolated execution.
|
|
|
254
258
|
|
|
255
259
|
```bash
|
|
256
260
|
# Pull the image
|
|
257
|
-
docker pull asklokesh/loki-mode:
|
|
261
|
+
docker pull asklokesh/loki-mode:latest
|
|
258
262
|
|
|
259
263
|
# Or use docker-compose
|
|
260
264
|
curl -o docker-compose.yml https://raw.githubusercontent.com/asklokesh/loki-mode/main/docker-compose.yml
|
|
@@ -264,10 +268,10 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/asklokesh/loki-mode
|
|
|
264
268
|
|
|
265
269
|
```bash
|
|
266
270
|
# Run with a PRD file
|
|
267
|
-
docker run -v $(pwd):/workspace -w /workspace asklokesh/loki-mode:
|
|
271
|
+
docker run -v $(pwd):/workspace -w /workspace asklokesh/loki-mode:latest start ./my-prd.md
|
|
268
272
|
|
|
269
273
|
# Interactive mode
|
|
270
|
-
docker run -it -v $(pwd):/workspace -w /workspace asklokesh/loki-mode:
|
|
274
|
+
docker run -it -v $(pwd):/workspace -w /workspace asklokesh/loki-mode:latest
|
|
271
275
|
|
|
272
276
|
# Using docker-compose
|
|
273
277
|
docker-compose run loki start ./my-prd.md
|
|
@@ -280,7 +284,7 @@ Pass your configuration via environment variables:
|
|
|
280
284
|
```bash
|
|
281
285
|
docker run -e LOKI_MAX_RETRIES=100 -e LOKI_BASE_WAIT=120 \
|
|
282
286
|
-v $(pwd):/workspace -w /workspace \
|
|
283
|
-
asklokesh/loki-mode:
|
|
287
|
+
asklokesh/loki-mode:latest start ./my-prd.md
|
|
284
288
|
```
|
|
285
289
|
|
|
286
290
|
### Updating
|
|
@@ -396,12 +400,12 @@ Pass the provider as an environment variable:
|
|
|
396
400
|
# Use Codex with Docker
|
|
397
401
|
docker run -e LOKI_PROVIDER=codex \
|
|
398
402
|
-v $(pwd):/workspace -w /workspace \
|
|
399
|
-
asklokesh/loki-mode:
|
|
403
|
+
asklokesh/loki-mode:latest start ./my-prd.md
|
|
400
404
|
|
|
401
405
|
# Use Gemini with Docker
|
|
402
406
|
docker run -e LOKI_PROVIDER=gemini \
|
|
403
407
|
-v $(pwd):/workspace -w /workspace \
|
|
404
|
-
asklokesh/loki-mode:
|
|
408
|
+
asklokesh/loki-mode:latest start ./my-prd.md
|
|
405
409
|
```
|
|
406
410
|
|
|
407
411
|
### Degraded Mode
|
|
@@ -652,7 +656,11 @@ Add the source command to your startup file so completions load every time you o
|
|
|
652
656
|
Add this line to your `~/.bashrc` (Linux) or `~/.bash_profile` (macOS):
|
|
653
657
|
|
|
654
658
|
```bash
|
|
655
|
-
|
|
659
|
+
# npm install: use the npm package path
|
|
660
|
+
source "$(npm root -g)/loki-mode/completions/loki.bash"
|
|
661
|
+
|
|
662
|
+
# git clone: use the skills directory
|
|
663
|
+
source ~/.claude/skills/loki-mode/completions/loki.bash
|
|
656
664
|
```
|
|
657
665
|
|
|
658
666
|
---
|
|
@@ -169,7 +169,7 @@ Loki Mode:
|
|
|
169
169
|
**Verdict: Loki Mode wins** - Simpler, lighter footprint.
|
|
170
170
|
|
|
171
171
|
### 10. Cursor Scale Patterns (v3.3.0)
|
|
172
|
-
Loki Mode now incorporates proven patterns from Cursor's
|
|
172
|
+
Loki Mode now incorporates proven patterns from Cursor's large-scale agent deployments:
|
|
173
173
|
- Recursive sub-planners
|
|
174
174
|
- Judge agents for cycle decisions
|
|
175
175
|
- Optimistic concurrency control
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
| Dimension | Cursor | Loki Mode | Winner |
|
|
11
11
|
|-----------|--------|-----------|--------|
|
|
12
|
-
| **Proven Scale** | 1M+ LoC,
|
|
12
|
+
| **Proven Scale** | 1M+ LoC, large agent count | Benchmarks only | Cursor |
|
|
13
13
|
| **Research Foundation** | Empirical iteration | 25+ academic citations | Loki Mode |
|
|
14
14
|
| **Quality Assurance** | Workers self-manage | 7-gate system + anti-sycophancy | Loki Mode |
|
|
15
15
|
| **Anti-Sycophancy** | Not mentioned | CONSENSAGENT blind review | Loki Mode |
|
|
@@ -122,7 +122,7 @@ BOOTSTRAP -> DISCOVERY -> ARCHITECTURE -> INFRASTRUCTURE
|
|
|
122
122
|
-> DEVELOPMENT -> QA -> DEPLOYMENT -> GROWTH (continuous)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
**41 Specialized Agent Types across
|
|
125
|
+
**41 Specialized Agent Types across 8 swarms:**
|
|
126
126
|
- Engineering (8 types)
|
|
127
127
|
- Operations (8 types)
|
|
128
128
|
- Business (8 types)
|
|
@@ -184,7 +184,7 @@ We incorporated Cursor's proven patterns:
|
|
|
184
184
|
|
|
185
185
|
1. **Recursive Sub-Planners** - Planning scales horizontally
|
|
186
186
|
2. **Judge Agents** - Explicit CONTINUE/COMPLETE/ESCALATE/PIVOT decisions
|
|
187
|
-
3. **Optimistic Concurrency** - No locks, scales
|
|
187
|
+
3. **Optimistic Concurrency** - No locks, scales horizontally
|
|
188
188
|
4. **Scale-Aware Review** - Full review for high-risk only at scale
|
|
189
189
|
|
|
190
190
|
---
|
package/docs/thick2thin.md
CHANGED
|
@@ -49,7 +49,7 @@ skills/
|
|
|
49
49
|
|
|
50
50
|
references/ (unchanged)
|
|
51
51
|
+-- 18 detailed reference files
|
|
52
|
-
+-- agents.md (23KB) - Full
|
|
52
|
+
+-- agents.md (23KB) - Full 41 agent specs
|
|
53
53
|
+-- openai-patterns.md, lab-research-patterns.md, etc.
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -117,7 +117,7 @@ Content that didn't exist in v2.38.0:
|
|
|
117
117
|
| Handoff message format | A2A specification | skills/agents.md |
|
|
118
118
|
| Agentic patterns table | awesome-agentic-patterns | skills/agents.md |
|
|
119
119
|
| "Ralph Wiggum Mode" insight | moridinamael | skills/agents.md |
|
|
120
|
-
| Full
|
|
120
|
+
| Full 41 agent reference | references/agent-types.md | skills/agents.md (pointer) |
|
|
121
121
|
| References directory listing | New | skills/00-index.md |
|
|
122
122
|
|
|
123
123
|
---
|
package/mcp/__init__.py
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ Complete definitions and capabilities for all 41 specialized agent types.
|
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
|
9
|
-
Loki Mode has 41 predefined agent types organized into
|
|
9
|
+
Loki Mode has 41 predefined agent types organized into 8 specialized swarms (37 domain agents + 4 orchestration agents). The orchestrator spawns only the agents needed for your project -- typically 5-10 for simple projects, more for complex ones.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -98,7 +98,7 @@ Loki Mode has 41 predefined agent types organized into 7 specialized swarms (37
|
|
|
98
98
|
|
|
99
99
|
## Orchestration Swarm (4 types)
|
|
100
100
|
|
|
101
|
-
> **Source:** [Cursor Scaling Learnings](./cursor-learnings.md) - patterns proven at
|
|
101
|
+
> **Source:** [Cursor Scaling Learnings](./cursor-learnings.md) - patterns proven at large agent scale
|
|
102
102
|
|
|
103
103
|
| Agent | Capabilities |
|
|
104
104
|
|-------|-------------|
|
package/references/agents.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Complete specifications for all 41 specialized agent types in the Loki Mode multi-agent system (37 domain agents + 4 orchestration agents).
|
|
4
4
|
|
|
5
|
-
**Note:** These are agent TYPE definitions, not a fixed count. Loki Mode dynamically spawns agents based on project needs - a simple todo app might use 5-10 agents, while a complex startup
|
|
5
|
+
**Note:** These are agent TYPE definitions, not a fixed count. Loki Mode dynamically spawns agents based on project needs - a simple todo app might use 5-10 agents, while a complex startup spawns more as needed.
|
|
6
6
|
|
|
7
7
|
## Agent Role Prompt Template
|
|
8
8
|
|
|
@@ -182,7 +182,7 @@ Dexter shows value of domain specialization. Our 41 agent types follow this patt
|
|
|
182
182
|
- Most haven't scaled across enterprise
|
|
183
183
|
|
|
184
184
|
### Loki Mode Alignment
|
|
185
|
-
- Multi-agent architecture (41 types,
|
|
185
|
+
- Multi-agent architecture (41 types, 8 swarms)
|
|
186
186
|
- Plan Agents (orchestrator, planner)
|
|
187
187
|
- Execution Agents (eng-*, ops-*, biz-*)
|
|
188
188
|
- Security controls (LOKI_SANDBOX_MODE, LOKI_BLOCKED_COMMANDS)
|
package/skills/agents.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent Dispatch & Structured Prompting
|
|
2
2
|
|
|
3
|
-
> **Full agent type definitions:** See `references/agent-types.md` for complete 41 agent role specifications across
|
|
3
|
+
> **Full agent type definitions:** See `references/agent-types.md` for complete 41 agent role specifications across 8 swarms (Engineering, Operations, Business, Data, Product, Growth, Review, Orchestration).
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -245,7 +245,7 @@ Priority order for context:
|
|
|
245
245
|
|
|
246
246
|
---
|
|
247
247
|
|
|
248
|
-
## The
|
|
248
|
+
## The 41 Agent Roles (37 Domain + 4 Orchestration)
|
|
249
249
|
|
|
250
250
|
See `references/agent-types.md` for complete specifications. Summary:
|
|
251
251
|
|
|
@@ -259,4 +259,4 @@ See `references/agent-types.md` for complete specifications. Summary:
|
|
|
259
259
|
| Growth | hacker, community, success, lifecycle | 4 |
|
|
260
260
|
| Review | code, business, security | 3 |
|
|
261
261
|
|
|
262
|
-
**Spawn only what you need.** Simple project: 5-10 agents. Complex startup:
|
|
262
|
+
**Spawn only what you need.** Simple project: 5-10 agents. Complex startup: more as needed.
|
package/skills/quality-gates.md
CHANGED
|
@@ -472,7 +472,7 @@ See `references/quality-control.md` for complete details.
|
|
|
472
472
|
|
|
473
473
|
## Scale Considerations
|
|
474
474
|
|
|
475
|
-
> **Source:** [Cursor Scaling Learnings](../references/cursor-learnings.md) - integrators became bottlenecks at
|
|
475
|
+
> **Source:** [Cursor Scaling Learnings](../references/cursor-learnings.md) - integrators became bottlenecks at high agent counts
|
|
476
476
|
|
|
477
477
|
### Review Intensity Scaling
|
|
478
478
|
|