loki-mode 6.71.1 → 6.72.0

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.
Files changed (91) hide show
  1. package/README.md +9 -1
  2. package/SKILL.md +2 -2
  3. package/VERSION +1 -1
  4. package/autonomy/hooks/migration-hooks.sh +26 -0
  5. package/autonomy/loki +429 -92
  6. package/autonomy/run.sh +219 -38
  7. package/dashboard/__init__.py +1 -1
  8. package/dashboard/server.py +101 -19
  9. package/docs/INSTALLATION.md +20 -11
  10. package/docs/bug-fixes/agent-01-cli-fixes.md +101 -0
  11. package/docs/bug-fixes/agent-02-purplelab-fixes.md +88 -0
  12. package/docs/bug-fixes/agent-03-dashboard-fixes.md +119 -0
  13. package/docs/bug-fixes/agent-04-memory-fixes.md +105 -0
  14. package/docs/bug-fixes/agent-05-provider-fixes.md +86 -0
  15. package/docs/bug-fixes/agent-06-integration-fixes.md +101 -0
  16. package/docs/bug-fixes/agent-07-dash-run-fixes.md +101 -0
  17. package/docs/bug-fixes/agent-08-docker-fixes.md +164 -0
  18. package/docs/bug-fixes/agent-09-e2e-build-fixes.md +69 -0
  19. package/docs/bug-fixes/agent-10-e2e-fullstack-fixes.md +102 -0
  20. package/docs/bug-fixes/agent-11-e2e-session-fixes.md +70 -0
  21. package/docs/bug-fixes/agent-12-scenario-fixes.md +120 -0
  22. package/docs/bug-fixes/agent-13-enterprise-fixes.md +143 -0
  23. package/docs/bug-fixes/agent-14-uat-newuser-fixes.md +88 -0
  24. package/docs/bug-fixes/agent-15-uat-poweruser-fixes.md +132 -0
  25. package/docs/bug-fixes/agent-19-code-review.md +316 -0
  26. package/docs/bug-fixes/agent-20-architecture-review.md +331 -0
  27. package/docs/competitive/bolt-new-analysis.md +579 -0
  28. package/docs/competitive/emergence-others-analysis.md +605 -0
  29. package/docs/competitive/replit-lovable-analysis.md +622 -0
  30. package/docs/test-scenarios/edge-cases.md +813 -0
  31. package/docs/test-scenarios/enterprise-scenarios.md +732 -0
  32. package/mcp/__init__.py +1 -1
  33. package/mcp/server.py +49 -5
  34. package/memory/consolidation.py +33 -0
  35. package/memory/embeddings.py +10 -1
  36. package/memory/engine.py +83 -38
  37. package/memory/retrieval.py +36 -0
  38. package/memory/storage.py +56 -4
  39. package/memory/token_economics.py +14 -2
  40. package/memory/vector_index.py +36 -7
  41. package/package.json +1 -1
  42. package/providers/gemini.sh +89 -2
  43. package/templates/README.md +1 -1
  44. package/templates/cli-tool.md +30 -0
  45. package/templates/dashboard.md +4 -0
  46. package/templates/data-pipeline.md +4 -0
  47. package/templates/discord-bot.md +47 -0
  48. package/templates/game.md +4 -0
  49. package/templates/microservice.md +4 -0
  50. package/templates/npm-library.md +4 -0
  51. package/templates/rest-api-auth.md +50 -20
  52. package/templates/rest-api.md +15 -0
  53. package/templates/saas-starter.md +1 -1
  54. package/templates/slack-bot.md +36 -0
  55. package/templates/static-landing-page.md +9 -1
  56. package/templates/web-scraper.md +4 -0
  57. package/web-app/dist/assets/Badge-CeBkFjo6.js +1 -0
  58. package/web-app/dist/assets/Button-yuhqo8Fq.js +1 -0
  59. package/web-app/dist/assets/{Card-B1bV4syB.js → Card-BG17vsX0.js} +1 -1
  60. package/web-app/dist/assets/{HomePage-CZTV6Nea.js → HomePage-BMSQ7Apj.js} +3 -3
  61. package/web-app/dist/assets/{LoginPage-D4UdURJc.js → LoginPage-aH_6iolg.js} +1 -1
  62. package/web-app/dist/assets/{NotFoundPage-CCLSeL6j.js → NotFoundPage-Di8cNtB1.js} +1 -1
  63. package/web-app/dist/assets/ProjectPage-BtRssmw9.js +285 -0
  64. package/web-app/dist/assets/ProjectsPage-B-FTFagc.js +6 -0
  65. package/web-app/dist/assets/{SettingsPage-Xuv8EfAg.js → SettingsPage-DIJPBla4.js} +1 -1
  66. package/web-app/dist/assets/TeamsPage--19fNX7w.js +36 -0
  67. package/web-app/dist/assets/TemplatesPage-ChUQNOOv.js +11 -0
  68. package/web-app/dist/assets/TerminalOutput-Dwrzecyl.js +31 -0
  69. package/web-app/dist/assets/activity-BNRWeu9N.js +6 -0
  70. package/web-app/dist/assets/{arrow-left-CaGtolHc.js → arrow-left-Ce6g1_YE.js} +1 -1
  71. package/web-app/dist/assets/circle-alert-LIndawHL.js +11 -0
  72. package/web-app/dist/assets/clock-Bpj4VPlP.js +6 -0
  73. package/web-app/dist/assets/{external-link-CazyUyav.js → external-link-BhhdF0iQ.js} +1 -1
  74. package/web-app/dist/assets/folder-open-CM2LgfxI.js +11 -0
  75. package/web-app/dist/assets/index-8-KpWWq7.css +1 -0
  76. package/web-app/dist/assets/index-kPDW4e_b.js +236 -0
  77. package/web-app/dist/assets/lock-sAk3Xe54.js +16 -0
  78. package/web-app/dist/assets/search-CR-2i9by.js +6 -0
  79. package/web-app/dist/assets/server-DuFh4ymA.js +26 -0
  80. package/web-app/dist/assets/trash-2-BmkkT8V_.js +11 -0
  81. package/web-app/dist/index.html +2 -2
  82. package/web-app/server.py +1321 -53
  83. package/web-app/dist/assets/Badge-CBUx2PjL.js +0 -6
  84. package/web-app/dist/assets/Button-DsRiznlh.js +0 -21
  85. package/web-app/dist/assets/ProjectPage-D0w_X9tG.js +0 -237
  86. package/web-app/dist/assets/ProjectsPage-ByYxDlKC.js +0 -16
  87. package/web-app/dist/assets/TemplatesPage-BKWN07mc.js +0 -1
  88. package/web-app/dist/assets/TerminalOutput-Dj98V8Z-.js +0 -51
  89. package/web-app/dist/assets/clock-C_CDmobx.js +0 -11
  90. package/web-app/dist/assets/index-D452pFGl.css +0 -1
  91. package/web-app/dist/assets/index-Df4_kgLY.js +0 -196
@@ -0,0 +1,579 @@
1
+ # Competitive Analysis: bolt.new
2
+
3
+ **Date:** 2026-03-24
4
+ **Analyst:** Agent 16
5
+ **Subject:** bolt.new (by StackBlitz) vs Loki Mode / Purple Lab
6
+
7
+ ---
8
+
9
+ ## 1. Executive Summary
10
+
11
+ bolt.new is a browser-based AI web development platform built on StackBlitz's WebContainers technology. It transforms natural language prompts into full-stack web applications entirely in the browser -- no local setup required. Launched October 2024, it reached $40M ARR in 5 months with 5M+ users, making it the second-fastest-growing software product behind ChatGPT. However, it suffers from severe limitations at scale: 1.4/5 Trustpilot rating, JavaScript-only backends, catastrophic token consumption on complex projects, and production-readiness issues that require $5K-$20K of professional remediation. Its strengths (instant gratification, zero setup, live preview) are genuine but serve a fundamentally different market segment than Loki Mode.
12
+
13
+ **Competitive threat level to Loki Mode: MODERATE**
14
+ - bolt.new targets non-coders and rapid prototypers
15
+ - Loki Mode targets developers building production systems from PRDs
16
+ - Overlap exists in the "idea to working app" value proposition
17
+ - Purple Lab (Loki Mode's web IDE) is the most direct competitive surface
18
+
19
+ ---
20
+
21
+ ## 2. Company Overview
22
+
23
+ | Metric | Value |
24
+ |---|---|
25
+ | Parent company | StackBlitz, Inc. |
26
+ | Founded | 2017 (StackBlitz); Oct 2024 (bolt.new pivot) |
27
+ | Funding | $105.5M Series B (Jan 2025) |
28
+ | Valuation | ~$700M (Jan 2025) |
29
+ | ARR | $40M (Mar 2025); projected $80-100M by end 2025 |
30
+ | Users | 5M+ total; ~1M DAU (Mar 2025) |
31
+ | Team size | ~35 people (15 engineers) |
32
+ | Revenue per engineer | ~$2.67M ARR/engineer |
33
+ | Open source | MIT license (bolt.new repo: 16.3K stars, 14.6K forks) |
34
+ | Self-hosted variant | bolt.diy (community fork, supports multiple LLMs) |
35
+
36
+ ---
37
+
38
+ ## 3. Features
39
+
40
+ ### 3.1 Core Capabilities
41
+
42
+ | Feature | Description | Quality |
43
+ |---|---|---|
44
+ | Prompt-to-app | Describe app in natural language, get working code | Strong for simple apps |
45
+ | Browser IDE | Full file tree, code editor, terminal in browser | Functional but basic |
46
+ | Live preview | Real-time preview panel alongside code editor | Excellent -- instant feedback |
47
+ | One-click deploy | Deploy to Netlify, Vercel, or Bolt's own hosting | Works for simple apps |
48
+ | Package management | Auto-installs npm packages in browser | Seamless |
49
+ | Database integration | Built-in Bolt Cloud DB or Supabase connection | Functional but auth is problematic |
50
+ | GitHub integration | Import from / push to GitHub repos | Auto-commits to main branch |
51
+ | Stripe integration | "Add payments" prompt enables Stripe setup | Recently added, first-party |
52
+ | Mobile apps | Expo integration for React Native | Scaffolding only; deployment still manual |
53
+ | Custom domains | Available on paid plans | Standard |
54
+ | AI image editing | Edit images with AI prompts | Pro feature |
55
+
56
+ ### 3.2 Model Selection (Claude Agent)
57
+
58
+ bolt.new exposes model choice within the Claude model family:
59
+
60
+ | Model | Use Case | Token Efficiency |
61
+ |---|---|---|
62
+ | Haiku 4.5 | Fast follow-ups, polish, simple edits | Most efficient |
63
+ | Sonnet 4.5 | Default recommended; well-rounded | Balanced |
64
+ | Sonnet 4.6 | Multi-step reasoning, larger codebases | Moderate |
65
+ | Opus 4.5/4.6 | Hardest problems, deepest reasoning | Most expensive |
66
+
67
+ Default is Sonnet 4.5. Users cannot bring non-Anthropic models (GPT, Gemini, open-source) to bolt.new -- that requires bolt.diy.
68
+
69
+ ### 3.3 V2 Features (2025-2026)
70
+
71
+ - **Bolt Cloud**: Built-in backend infrastructure (databases, auth, hosting)
72
+ - **Visual Inspector**: Click-to-edit UI components directly on the preview
73
+ - **Plan Mode**: AI generates step-by-step plan before implementation; user approves
74
+ - **Responsive testing**: Preview on mobile, tablet, and desktop viewports
75
+ - **Sidebar panels**: Auth, Functions, Storage, Analytics, and Domains tabs
76
+ - **Prompt enhancement**: AI refines vague prompts into detailed specifications
77
+ - **Design System knowledge**: Per-package prompts for consistent styling (Teams tier)
78
+
79
+ ### 3.4 bolt.diy: The Open-Source Fork
80
+
81
+ bolt.diy is the community-driven open-source fork that addresses several bolt.new limitations:
82
+
83
+ | Dimension | bolt.new | bolt.diy |
84
+ |---|---|---|
85
+ | Hosting | Cloud-only | Self-hosted |
86
+ | LLM providers | Anthropic Claude only | 20+ providers (OpenAI, Anthropic, Ollama, Gemini, DeepSeek, Groq, etc.) |
87
+ | Cost | Subscription + tokens | Free (bring your own API keys) |
88
+ | Customization | Fixed configurations | Custom AI models, prompts, pipelines |
89
+ | Data privacy | Data on StackBlitz servers | All data stays local |
90
+ | Target user | Beginners, non-developers | Experienced developers |
91
+ | GitHub stars | 16.3K | 14.6K (nearly equal adoption) |
92
+
93
+ bolt.diy is actually a closer competitor to Loki Mode than bolt.new itself, since it targets developers who want control over their AI toolchain. However, bolt.diy inherits the same WebContainer/JavaScript-only limitation.
94
+
95
+ ### 3.5 Supported Technologies
96
+
97
+ | Category | Supported | Not Supported |
98
+ |---|---|---|
99
+ | Frontend | React, Vue, Svelte, Astro, Next.js, Vite, Tailwind, ShadCN | -- |
100
+ | Backend | Node.js only | Python, Django, Flask, Go, Rust, Java, PHP |
101
+ | Database | Bolt Cloud DB, Supabase, PostgreSQL | MySQL, MongoDB (native) |
102
+ | Mobile | Expo/React Native (scaffolding) | Native iOS/Android, Flutter |
103
+ | Browsers | Chrome, Chromium-based (desktop only) | Firefox, Safari, mobile browsers |
104
+ | Deployment | Netlify, Vercel, Bolt hosting, GitHub Pages | AWS, GCP, Azure, Docker, K8s |
105
+
106
+ ---
107
+
108
+ ## 4. UX Patterns
109
+
110
+ ### 4.1 Interface Layout
111
+
112
+ ```
113
+ +------------------+-------------------+-------------------+
114
+ | | | |
115
+ | Chat Panel | Code Editor | Live Preview |
116
+ | (left) | (center) | (right) |
117
+ | | | |
118
+ | - Prompt input | - File tree | - Real-time |
119
+ | - AI responses | - Syntax HL | rendering |
120
+ | - Plan mode | - Terminal | - Visual |
121
+ | - History | - Tabs | inspector |
122
+ | | | - Responsive |
123
+ | | | testing |
124
+ +------------------+-------------------+-------------------+
125
+ ```
126
+
127
+ ### 4.2 Build Experience Flow
128
+
129
+ 1. User enters prompt (e.g., "Build a task management app with auth")
130
+ 2. Optional: AI enhances the prompt for better results
131
+ 3. Optional: Plan Mode generates step-by-step implementation plan
132
+ 4. User approves plan (or skips directly to generation)
133
+ 5. Files populate in the editor; dependencies install automatically
134
+ 6. Live preview renders in real-time as code is generated
135
+ 7. User iterates via chat: "Make the header blue" / "Add a dark mode toggle"
136
+ 8. Visual Inspector allows click-to-edit on preview elements
137
+ 9. One-click deploy to Netlify/Vercel/Bolt hosting
138
+
139
+ ### 4.3 Progress Indicators
140
+
141
+ - Files appear sequentially in the file tree during generation
142
+ - Terminal shows dependency installation and build output
143
+ - Live preview updates in real-time as code is written
144
+ - Token usage counter visible in the interface
145
+ - No explicit build progress bar or ETA (generation just streams)
146
+
147
+ ### 4.4 Key UX Strengths
148
+
149
+ - **Zero friction start**: No signup required for free tier; start building immediately
150
+ - **Instant gratification**: See results in seconds, not minutes
151
+ - **Tight feedback loop**: Chat -> code change -> preview update is near-instantaneous
152
+ - **No local environment**: Works entirely in browser; nothing to install
153
+ - **Prompt enhancement**: AI improves vague descriptions before generation
154
+
155
+ ### 4.5 Key UX Weaknesses
156
+
157
+ - **No undo beyond chat history**: Cannot revert specific changes easily
158
+ - **No branching/experimentation**: No way to try alternatives without losing current state
159
+ - **Token counter anxiety**: Users watch tokens drain, creating stress
160
+ - **Context loss visible to user**: AI starts forgetting earlier decisions as projects grow
161
+ - **No collaborative editing**: Single-user experience only (Teams plan has billing, not real-time collab)
162
+
163
+ ---
164
+
165
+ ## 5. Pricing
166
+
167
+ ### 5.1 Current Tiers (March 2026)
168
+
169
+ | Tier | Monthly Cost | Tokens | Key Limits |
170
+ |---|---|---|---|
171
+ | Free | $0 | 300K/day, 1M/month | Bolt branding, 10MB upload, 333K web requests |
172
+ | Pro | $25/month | 10M/month (no daily limit) | 100MB upload, 1M web requests, custom domains |
173
+ | Pro+ (implied) | $50-$200/month | Up to 120M/month | Scaled token allotments |
174
+ | Teams | $30/member/month | Per-member allotment | Centralized billing, admin controls, private NPM |
175
+ | Enterprise | Custom | Custom | SSO, audit logs, SLAs, dedicated support |
176
+
177
+ ### 5.2 Token Economics
178
+
179
+ - Token rollover: Unused tokens roll over for one additional month (max 2 months)
180
+ - No daily limits on paid plans
181
+ - Annual billing saves 10%
182
+ - Simple prompt: ~10K tokens
183
+ - Same prompt on 20-component project: ~100K tokens (10x inflation)
184
+ - Auth bug fix loops: 3-8M tokens reported per incident
185
+ - Realistic monthly cost for active development: $50-$200+
186
+
187
+ ### 5.3 Hidden Costs
188
+
189
+ - Token consumption is opaque -- users report unexpected depletion
190
+ - Debugging loops consume tokens exponentially
191
+ - Complex projects hit token walls requiring plan upgrades
192
+ - Some users report spending $1,000+ on tokens for single projects
193
+ - Supabase auth integration alone has consumed 5-8M tokens for some users
194
+
195
+ ---
196
+
197
+ ## 6. Limitations
198
+
199
+ ### 6.1 Technical Limitations
200
+
201
+ | Limitation | Impact | Severity |
202
+ |---|---|---|
203
+ | JavaScript-only backends | Cannot build Python, Go, Rust, or Java backends | HIGH |
204
+ | WebContainer constraints | Limited to what Node.js can do in a browser sandbox | HIGH |
205
+ | No local execution | Cannot debug locally, run native tooling, or access file system | HIGH |
206
+ | Chrome-only (desktop) | Firefox, Safari, and mobile browsers not fully supported | MEDIUM |
207
+ | No Docker/containers | Cannot use Docker, docker-compose, or container-based workflows | HIGH |
208
+ | No CI/CD pipelines | No built-in testing, linting, or deployment pipelines | MEDIUM |
209
+ | No multi-repo support | Single project at a time; no monorepo or multi-service architecture | HIGH |
210
+ | File size limits | 10MB free, 100MB pro; large assets require external hosting | MEDIUM |
211
+
212
+ ### 6.2 Scalability Problems
213
+
214
+ | Problem | Details | User Impact |
215
+ |---|---|---|
216
+ | Context degradation | Projects with 15-20+ components cause AI to forget patterns | Duplicate code, inconsistencies |
217
+ | Token explosion | Token cost scales non-linearly with project size | Budget overruns, abandoned projects |
218
+ | "Project size exceeded" | Context window limits trigger hard stops on large projects | Cannot continue development |
219
+ | Deployment failures | Complex apps get blank screens, missing files on deploy | Broken production deployments |
220
+ | No architecture guidance | AI makes ad-hoc decisions; no architectural consistency | Technical debt from line one |
221
+
222
+ ### 6.3 Testing and Quality Gap
223
+
224
+ bolt.new claims to "automatically test, refactor, and iterate" but this refers to runtime error detection and retry loops, not automated test suite generation. Key gaps:
225
+
226
+ - **No unit test generation**: bolt.new does not create test files (Jest, Vitest, etc.)
227
+ - **No E2E test generation**: No Playwright, Cypress, or similar test creation
228
+ - **No linting configuration**: No ESLint, Prettier, or code quality tooling setup
229
+ - **No CI/CD pipeline**: No GitHub Actions, deployment pipelines, or quality gates
230
+ - **"Auto-testing" is retry loops**: When code fails, bolt.new retries the fix -- this consumes tokens exponentially and is the root cause of the token waste complaints
231
+ - **Recommended practice**: Users are advised to "hire an engineer early to harden security, add tests, and remove platform-specific glue"
232
+
233
+ ### 6.4 Production Readiness Gap
234
+
235
+ bolt.new produces code that is approximately **70% complete** for production use. The remaining 30% requires professional development for:
236
+
237
+ - Proper error handling and edge cases
238
+ - Security hardening (input validation, auth, CORS, etc.)
239
+ - Performance optimization (lazy loading, caching, pagination)
240
+ - Accessibility compliance (WCAG)
241
+ - Automated test suites (unit, integration, E2E)
242
+ - Architecture refactoring (no separation of concerns)
243
+ - Estimated remediation cost: $5,000-$20,000
244
+
245
+ ### 6.5 Enterprise Readiness
246
+
247
+ Despite offering an Enterprise tier, bolt.new has limited enterprise production use:
248
+
249
+ - **Primary enterprise use**: Prototyping and internal tools, not production applications
250
+ - **No public case studies**: No named enterprise customers using bolt.new for production systems
251
+ - **Anthropic uses it**: AI research groups use it to benchmark new models (meta/ironic)
252
+ - **1M+ websites deployed via Netlify**: But these are predominantly simple sites, not enterprise apps
253
+ - **Technical blockers**: Multi-user auth, secure data operations, and complex integrations require migration to traditional development environments
254
+
255
+ ### 6.6 User Sentiment
256
+
257
+ - **Trustpilot**: 1.4/5 stars
258
+ - **Product Hunt**: Mixed reviews; praised for speed, criticized for reliability
259
+ - **Reddit**: Common complaints about token waste, auth bugs, deployment failures
260
+ - **Developer communities**: Categorized as "throwaway demo" tool, not for production
261
+
262
+ ---
263
+
264
+ ## 7. Tech Stack
265
+
266
+ ### 7.1 Architecture
267
+
268
+ ```
269
+ User Prompt
270
+ |
271
+ v
272
+ Anthropic Claude (Sonnet 4.5 default, Haiku/Opus selectable)
273
+ |
274
+ v
275
+ Remix Framework (app shell)
276
+ |
277
+ v
278
+ Vercel AI SDK (LLM integration)
279
+ |
280
+ v
281
+ WebContainers (in-browser Node.js runtime)
282
+ |
283
+ +---> Virtual File System (Rust -> WASM)
284
+ +---> Process Model (Web Workers as Node processes)
285
+ +---> Networking (Service Workers + MessagePort)
286
+ +---> Module Resolution (custom Node-compatible resolver)
287
+ +---> Package Management (CDN-cached npm packages)
288
+ |
289
+ v
290
+ Browser Tab (SharedArrayBuffer, Atomics API, IndexedDB)
291
+ ```
292
+
293
+ ### 7.2 Key Technologies
294
+
295
+ | Component | Technology |
296
+ |---|---|
297
+ | Runtime | WebAssembly + Rust kernel running Node.js in browser |
298
+ | Concurrency | Web Workers + SharedArrayBuffer + Atomics API |
299
+ | File system | Rust-based POSIX-compliant FS compiled to WASM |
300
+ | Shell | Custom TypeScript shell (JSH) emulating Unix |
301
+ | Module system | Custom Node-compatible resolver (ESM + CJS bridge) |
302
+ | Networking | Service Workers + MessagePort + WebSocket bridges |
303
+ | Build tools | Vite (default for most frameworks) with HMR |
304
+ | Package caching | CDN-cached npm packages; IndexedDB for node_modules |
305
+ | LLM | Claude Sonnet 4.5 (primary, default); Haiku 4.5, Sonnet 4.6, Opus 4.5/4.6 selectable |
306
+ | App framework | Remix (React-based) |
307
+ | Language | TypeScript (89.9%), SCSS (9.5%) |
308
+ | Deployment | Cloudflare Workers integration |
309
+ | Runtime bundle | Under 10MB after stripping debug symbols |
310
+
311
+ ### 7.3 Architectural Strengths
312
+
313
+ - **Zero server costs per user session**: Computation happens in the user's browser
314
+ - **Near-instant npm installs**: Pre-cached packages from CDN (<500ms)
315
+ - **No cold starts**: No server to spin up; browser tab is always ready
316
+ - **Hot module replacement**: Vite HMR works natively in WebContainers
317
+ - **Offline-capable**: Some operations work without network after initial load
318
+
319
+ ### 7.4 Architectural Weaknesses
320
+
321
+ - **Browser sandbox constraints**: No access to native OS features, GPU, filesystem
322
+ - **Memory ceiling**: Browser tabs have memory limits (~2-4GB)
323
+ - **No multi-process debugging**: Cannot attach debuggers or profilers
324
+ - **Single-language lock-in**: WebContainers only run Node.js
325
+ - **SharedArrayBuffer requirement**: Limits browser compatibility (requires COOP/COEP headers)
326
+
327
+ ---
328
+
329
+ ## 8. Competitive Positioning
330
+
331
+ ### 8.1 Market Segment Comparison
332
+
333
+ | Dimension | bolt.new | Loki Mode | Winner |
334
+ |---|---|---|---|
335
+ | **Target user** | Non-coders, rapid prototypers | Developers, technical founders | Different segments |
336
+ | **Setup time** | 0 (browser-based) | ~2 min (CLI install) | bolt.new |
337
+ | **Time to first preview** | ~30 seconds | Depends on project complexity | bolt.new |
338
+ | **Production readiness** | 70% (needs $5-20K remediation) | Production-grade (RARV cycle, quality gates) | Loki Mode |
339
+ | **Language support** | JavaScript/Node.js only | Any language (Python, Go, Rust, etc.) | Loki Mode |
340
+ | **Architecture quality** | Ad-hoc, no consistency | PRD-driven, architecture-first | Loki Mode |
341
+ | **Test generation** | None | Automated (unit, E2E, Playwright) | Loki Mode |
342
+ | **Code review** | None | 3-reviewer parallel system | Loki Mode |
343
+ | **Scale** | 15-20 components max | Enterprise-scale projects | Loki Mode |
344
+ | **Cost predictability** | Poor (opaque token consumption) | Better (iteration-based, budget controls) | Loki Mode |
345
+ | **Deployment** | One-click to Netlify/Vercel | Docker, K8s, any cloud | Loki Mode |
346
+ | **Multi-provider** | Claude only (bolt.diy supports others) | Claude, Codex, Gemini, Cline, Aider | Loki Mode |
347
+ | **Collaboration** | Single-user (Teams = billing only) | Git worktrees, parallel streams | Loki Mode |
348
+ | **Memory/learning** | None (fresh context each session) | Episodic/semantic memory system | Loki Mode |
349
+ | **Visual feedback** | Real-time in-browser preview | Dashboard + Purple Lab (in progress) | bolt.new |
350
+
351
+ ### 8.2 Where bolt.new Wins
352
+
353
+ 1. **Zero-friction onboarding**: No install, no config, no terminal -- open browser and go
354
+ 2. **Instant visual feedback**: Live preview updates in real-time during code generation
355
+ 3. **Non-coder accessibility**: Genuinely usable by people who have never written code
356
+ 4. **Speed to first demo**: ~28 minutes to working prototype (benchmark tested)
357
+ 5. **Integrated deployment**: One-click deploy with custom domains included
358
+ 6. **Visual Inspector**: Click on UI elements to edit them directly
359
+ 7. **Prompt enhancement**: AI improves prompts before generation
360
+
361
+ ### 8.3 Where bolt.new Loses
362
+
363
+ 1. **Production quality**: Code is not production-ready; requires significant remediation
364
+ 2. **Scale ceiling**: Hard wall at 15-20 components; context degradation is severe
365
+ 3. **Language lock-in**: JavaScript only; cannot build Python/Go/Rust backends
366
+ 4. **No architecture**: Ad-hoc code generation with no design patterns or separation of concerns
367
+ 5. **No testing**: Zero automated test generation
368
+ 6. **Token economics**: Opaque consumption; debugging loops burn through budgets
369
+ 7. **No code review**: No quality gates; AI generates and ships without verification
370
+ 8. **No memory**: Each session starts fresh; cannot learn from project history
371
+ 9. **Single-provider**: Locked to Claude (unless using bolt.diy fork)
372
+ 10. **No local development**: Cannot debug locally, use IDE extensions, or access native tools
373
+
374
+ ---
375
+
376
+ ## 9. How to Beat Them: Actionable Recommendations for Loki Mode / Purple Lab
377
+
378
+ ### 9.1 Steal Their Strengths (HIGH PRIORITY)
379
+
380
+ These are bolt.new advantages that Purple Lab should match or exceed:
381
+
382
+ #### R1: Zero-to-Preview in Under 60 Seconds
383
+ - **What bolt.new does**: User types prompt, sees live preview in ~30 seconds
384
+ - **What Purple Lab needs**: `loki start --quick` or Purple Lab "New Project" flow that generates a scaffold and shows live preview within 60 seconds
385
+ - **Implementation**: Pre-built project templates (SaaS, landing page, dashboard, CLI) that scaffold instantly, then iterate with AI
386
+ - **Priority**: P0 -- this is bolt.new's strongest differentiator
387
+
388
+ #### R2: Real-Time Live Preview During Generation
389
+ - **What bolt.new does**: Preview panel updates in real-time as code streams from the LLM
390
+ - **What Purple Lab needs**: WebSocket-connected iframe that hot-reloads as files are written during `loki run`
391
+ - **Implementation**: Extend Purple Lab's existing iframe preview with HMR/file watcher integration
392
+ - **Priority**: P0 -- instant visual feedback is the core of the "vibe coding" experience
393
+
394
+ #### R3: Visual Inspector (Click-to-Edit)
395
+ - **What bolt.new does**: Click on any UI element in the preview to edit its properties
396
+ - **What Purple Lab needs**: Inspector overlay on the preview iframe that maps DOM elements to source file locations
397
+ - **Implementation**: Inject a development overlay script into the preview iframe; on click, send file path + line number to the editor; open inline edit panel
398
+ - **Priority**: P1 -- impressive for demos, useful for non-coders
399
+
400
+ #### R4: Prompt Enhancement
401
+ - **What bolt.new does**: AI refines vague prompts into detailed specifications before generation
402
+ - **What Purple Lab needs**: Pre-generation step that expands "Build me a CRM" into a structured mini-PRD with components, features, and data models
403
+ - **Implementation**: Use a lightweight model (Haiku) to expand prompts into structured PRD format before passing to the full generation pipeline
404
+ - **Priority**: P1 -- helps bridge the gap between idea and specification
405
+
406
+ ### 9.2 Exploit Their Weaknesses (HIGH PRIORITY)
407
+
408
+ These are bolt.new weaknesses that Loki Mode already solves or can emphasize:
409
+
410
+ #### R5: Advertise Production Readiness as Key Differentiator
411
+ - **bolt.new's gap**: 70% done code, no tests, no review, $5-20K remediation
412
+ - **Loki Mode's advantage**: RARV cycle, 10 quality gates, 3-reviewer system, automated testing
413
+ - **Action**: Create comparison content showing: "bolt.new gives you a prototype. Loki Mode gives you a product."
414
+ - **Messaging**: "From PRD to production, not PRD to prototype"
415
+
416
+ #### R6: Highlight Multi-Language Support
417
+ - **bolt.new's gap**: JavaScript-only backends
418
+ - **Loki Mode's advantage**: Any language, any framework, any deployment target
419
+ - **Action**: Showcase Python/Django, Go, Rust projects in marketing materials
420
+ - **Messaging**: "Build in any language, not just JavaScript"
421
+
422
+ #### R7: Emphasize Scale and Architecture
423
+ - **bolt.new's gap**: Hits a wall at 15-20 components; no architecture
424
+ - **Loki Mode's advantage**: Enterprise-scale projects with architecture-first approach
425
+ - **Action**: Publish case studies of complex projects (50+ files, multiple services, databases)
426
+ - **Messaging**: "Scales with your ambition, not against it"
427
+
428
+ #### R8: Transparent Cost Model
429
+ - **bolt.new's gap**: Opaque token consumption; debugging loops drain budgets
430
+ - **Loki Mode's advantage**: Iteration-based model with budget controls and circuit breakers
431
+ - **Action**: Dashboard showing cost-per-iteration, total project cost, and budget remaining
432
+ - **Messaging**: "Know exactly what you're spending, before you spend it"
433
+
434
+ ### 9.3 Create New Advantages (MEDIUM PRIORITY)
435
+
436
+ Features that neither product has well, where Loki Mode can lead:
437
+
438
+ #### R9: "Eject to Pro" Workflow
439
+ - **Concept**: Start with bolt.new-style rapid prototyping, then "eject" into full Loki Mode for production hardening
440
+ - **Implementation**: `loki eject` command that takes a quick-start project and applies quality gates, generates tests, adds CI/CD, restructures architecture
441
+ - **Value**: Best of both worlds -- fast start, professional finish
442
+
443
+ #### R10: Collaborative Multi-Agent Building
444
+ - **Concept**: Multiple AI agents working on different parts of the project simultaneously
445
+ - **Implementation**: Git worktrees + parallel agent streams (already in Loki Mode)
446
+ - **Value**: bolt.new is single-threaded; Loki Mode can build frontend + backend + tests in parallel
447
+
448
+ #### R11: Project Memory and Learning
449
+ - **Concept**: AI remembers project decisions, user preferences, and past mistakes
450
+ - **Implementation**: Already implemented (episodic/semantic memory system)
451
+ - **Value**: bolt.new starts fresh every session; Loki Mode gets smarter over time
452
+
453
+ #### R12: Architecture Visualization
454
+ - **Concept**: Auto-generated architecture diagrams showing components, data flow, and dependencies
455
+ - **Implementation**: Integrate with the existing code review knowledge graph
456
+ - **Value**: bolt.new gives you code with no map; Loki Mode gives you code with a blueprint
457
+
458
+ ### 9.4 Purple Lab Specific Recommendations
459
+
460
+ | Feature | Priority | Effort | Impact | bolt.new Equivalent |
461
+ |---|---|---|---|---|
462
+ | Instant scaffold + preview (<60s) | P0 | Medium | Critical | Core value prop |
463
+ | Real-time preview during `loki run` | P0 | High | Critical | Live preview panel |
464
+ | Monaco editor (already in PRD) | P0 | Medium | High | Code editor |
465
+ | Integrated terminal (already in PRD) | P0 | Medium | High | Terminal panel |
466
+ | Visual Inspector overlay | P1 | High | Medium | Visual Inspector |
467
+ | Prompt-to-PRD enhancement | P1 | Low | Medium | Prompt enhancement |
468
+ | One-click deploy (Netlify/Vercel) | P1 | Medium | High | One-click deploy |
469
+ | Build progress bar with ETA | P1 | Low | Medium | Not available (advantage) |
470
+ | Cost tracker per session | P2 | Low | Medium | Token counter (but opaque) |
471
+ | Template gallery | P2 | Medium | Medium | Starter templates |
472
+
473
+ ---
474
+
475
+ ## 10. Key Takeaways
476
+
477
+ ### 10.1 bolt.new Is Not the Competitor -- The Experience Is
478
+
479
+ bolt.new does not produce production-quality code. It does not support multi-language backends. It does not scale beyond toy projects. But none of that matters to its 5 million users. What matters is:
480
+
481
+ 1. Zero setup
482
+ 2. Instant results
483
+ 3. Visual feedback
484
+ 4. Feeling of progress
485
+
486
+ Loki Mode produces far better output, but the **experience gap** is what needs closing. Purple Lab is the vehicle for closing that gap.
487
+
488
+ ### 10.2 The Market Is Segmenting
489
+
490
+ | Segment | Tool | User |
491
+ |---|---|---|
492
+ | Throwaway demos | bolt.new, v0 | Non-coders, marketers |
493
+ | Design-quality prototypes | Lovable | Designers, product managers |
494
+ | Quick prototypes with backend | Replit | Hobby developers |
495
+ | Production applications | Cursor, Loki Mode | Professional developers |
496
+
497
+ Loki Mode should own the "production applications" segment while making the onboarding experience competitive with the "prototype" segment. The path: make the first 5 minutes feel like bolt.new, then the next 5 hours deliver what bolt.new cannot.
498
+
499
+ ### 10.3 Three Things to Ship
500
+
501
+ If Loki Mode / Purple Lab ships three things, it neutralizes bolt.new's core advantages:
502
+
503
+ 1. **Instant scaffold + live preview** (matches bolt.new's zero-friction start)
504
+ 2. **Real-time preview during generation** (matches bolt.new's visual feedback)
505
+ 3. **One-click deploy** (matches bolt.new's deployment simplicity)
506
+
507
+ Everything else -- quality gates, testing, multi-language, memory, multi-agent, architecture -- is already a Loki Mode advantage. The goal is not to become bolt.new. The goal is to remove the reasons someone would choose bolt.new over Loki Mode.
508
+
509
+ ---
510
+
511
+ ## 11. Market Context: The Vibe Coding Boom
512
+
513
+ ### 11.1 Market Size
514
+
515
+ The "vibe coding" market -- AI tools that generate code from natural language -- went from a meme to a **$4.7 billion market** in under 18 months. Analysts project growth to **$12.3 billion by 2027** (~38% CAGR).
516
+
517
+ ### 11.2 Adoption
518
+
519
+ - 92% of US-based developers use AI coding tools daily (2026)
520
+ - 63% of vibe coding users identify as non-developers
521
+ - The market is splitting between "prototype" tools (bolt.new, Lovable, v0) and "production" tools (Cursor, Loki Mode)
522
+
523
+ ### 11.3 Competitive Landscape Valuation
524
+
525
+ | Company | Product | Valuation / ARR | Category |
526
+ |---|---|---|---|
527
+ | Anysphere | Cursor | $9B valuation, $100M+ ARR | Production IDE |
528
+ | StackBlitz | bolt.new | $700M valuation, $40M ARR | Browser prototype builder |
529
+ | Lovable | Lovable | $100M ARR in 8 months | Design-quality prototypes |
530
+ | Vercel | v0 | Part of Vercel ($3.5B+) | UI component generator |
531
+ | Replit | Replit | $1.16B valuation | Browser IDE + AI |
532
+ | Autonomi | Loki Mode | Open source, early stage | PRD-to-production system |
533
+
534
+ ### 11.4 Strategic Implication for Loki Mode
535
+
536
+ The market is enormous and growing fast. bolt.new proved that "idea to app" is a $40M+ ARR opportunity with just 15 engineers. Loki Mode does not need to compete in the "throwaway prototype" segment -- the "production-ready from PRD" segment is underserved and higher value. But the onboarding experience matters: users who try bolt.new first will judge Loki Mode by how fast they see their first result.
537
+
538
+ ### 11.5 Recommended Implementation Timeline
539
+
540
+ | Quarter | Deliverable | Competitive Impact |
541
+ |---|---|---|
542
+ | Q2 2026 | Instant scaffold + live preview in Purple Lab | Neutralizes bolt.new's #1 advantage |
543
+ | Q2 2026 | Prompt-to-PRD enhancement (Haiku-powered) | Matches bolt.new's prompt enhancement |
544
+ | Q3 2026 | One-click deploy (Netlify/Vercel integration) | Matches bolt.new's deployment UX |
545
+ | Q3 2026 | Visual Inspector overlay in Purple Lab | Matches bolt.new's click-to-edit |
546
+ | Q4 2026 | "Eject to Pro" workflow | Creates unique competitive advantage |
547
+ | Q4 2026 | Comparison marketing campaign | Capitalizes on bolt.new dissatisfaction |
548
+
549
+ ---
550
+
551
+ ## Sources
552
+
553
+ - [bolt.new official site](https://bolt.new/)
554
+ - [bolt.new pricing](https://bolt.new/pricing)
555
+ - [bolt.new GitHub repository](https://github.com/stackblitz/bolt.new) (16.3K stars, MIT license)
556
+ - [bolt.new supported technologies](https://support.bolt.new/building/supported-technologies)
557
+ - [bolt.new Trustpilot reviews](https://www.trustpilot.com/review/bolt.new) (1.4/5 rating)
558
+ - [PostHog: From 0 to $40M ARR -- Inside the Tech Behind bolt.new](https://newsletter.posthog.com/p/from-0-to-40m-arr-inside-the-tech)
559
+ - [bolt.new user and revenue statistics](https://shipper.now/bolt-new-stats/)
560
+ - [Bolt limitations guide](https://www.p0stman.com/guides/bolt-limitations/)
561
+ - [Cursor vs Replit vs Bolt vs Lovable comparison](https://hellocrossman.com/resources/blog/cursor-vs-replit-vs-bolt-vs-lovable)
562
+ - [bolt.new V2 features](https://bolt.new/blog/inside-bolt-v2-hidden-power-features)
563
+ - [bolt.new Stripe integration](https://support.bolt.new/integrations/stripe)
564
+ - [bolt.new GitHub integration](https://support.bolt.new/integrations/git)
565
+ - [bolt.new Expo mobile apps](https://support.bolt.new/integrations/expo)
566
+ - [bolt.diy open source fork](https://github.com/stackblitz-labs/bolt.diy)
567
+ - [bolt.new 2026 review and alternatives](https://www.banani.co/blog/bolt-new-ai-review-and-alternatives)
568
+ - [Bolt vs Lovable pricing 2026](https://www.nocode.mba/articles/bolt-vs-lovable-pricing)
569
+ - [Sacra: bolt.new revenue and funding](https://sacra.com/c/bolt-new/)
570
+ - [StackBlitz Series B at $700M valuation](https://www.arr.club/signal/bolt-new-arr-at-4m-in-just-4-weeks)
571
+ - [bolt.new agents and models](https://support.bolt.new/building/using-bolt/agents)
572
+ - [bolt.diy vs bolt.new comparison](https://vibecoding.app/compare/bolt-diy-vs-bolt-new)
573
+ - [Vibe coding market statistics 2026](https://www.secondtalent.com/resources/vibe-coding-statistics/)
574
+ - [State of vibe coding 2026](https://hashnode.com/blog/state-of-vibe-coding-2026)
575
+ - [Vibe coding market report 2025-2035](https://www.rootsanalysis.com/vibe-coding-market)
576
+ - [bolt.new deploy documentation](https://support.bolt.new/building/deploy)
577
+ - [Netlify + bolt.new integration](https://www.netlify.com/integrations/bolt/)
578
+ - [bolt.new Supabase integration](https://support.bolt.new/integrations/supabase)
579
+ - [Bolt Cloud + Supabase launch](https://supabase.com/blog/bolt-cloud-launch)