2026 Indie Lean BYOK Stack (<500MB RAM • Zero Per-Seat Markup)
Monthly TCO: $102.50/mo (Saves $104.70/mo) • Cumulative p50 Latency: 14.7 ms • Concurrent RAM: 459 MB
Build Your AI Stack in 3 Simple Steps
Pick a starting preset below, toggle only the tools you actually need (skip the rest), and export your ready-to-run config bundle.
Pick a starting template
Start from a ready-made stack for your situation, then change anything. Cost, RAM and license checks update as you go.
[+] Fine-Tune Compliance Mode, Monthly Session Volume, Compute Power & Budget Cap
Seat a tool in each slot
Each slot is one layer of your AI stack. Choose one tool per slot, or skip the layers you do not need. Hover the i for what each layer does.
AI Coding IDE & EditoriWhat Socket 01 DoesYour primary code editor for inline AI diffs, multi-file edits, and tab autocomplete.Essential for daily interactive coding • Skip only for headless server pipelines.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
Autonomous Terminal & SWE AgentiWhat Socket 02 DoesAutonomous terminal agent that plans, edits across your repo, runs tests, and commits.Best for multi-file refactors & PR automation • Optional if you only use an IDE.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
Agent Harness & Context OSiWhat Socket 03 DoesCompresses repo context (CLAUDE.md / AST maps) so agents stop re-reading junk files.Recommended for all stacks • Cuts per-turn prompt token waste by 40% to 75%.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
LLM Gateway, KV-Cache & FinOps RouteriWhat Socket 04 DoesRoutes simple prompts to fast/cheap models and caches repeated context (65/35 cascade).High-ROI FinOps layer • Cuts monthly frontier API bills by ~58%.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
Multi-Agent Orchestration & State GraphiWhat Socket 05 DoesCoordinates multi-step agent workflows, tool handoffs, and typed state graphs.Use when chaining multiple agents/tools • Skip for single-agent coding.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
Structured Output & Schema CompileriWhat Socket 06 DoesForces LLM outputs to strictly match your JSON/Pydantic types with zero parse crashes.Essential for production APIs & tool calling • Skip for plain chat outputs.
+ Add a tool that is not listed
We cannot check unlisted tools for license or speed. We use your answers for the cost and privacy checks, and list it by name in your export.
Review and export your stack
Plain-English verdict, live architecture summary, and your 9-file production config bundle for the slots seated above.
Compiled ADR-2026-AI-STACK.md (Live Preview)
# ADR-2026-AI-STACK: Production AI Architecture Decision Record for `zed-industries/zed` - **Status**: PROPOSED (Curated via PulseForge 12-Slot Deterministic BOM Engine) - **Team & Workload Profile**: `1` Engineers | `50,000` Monthly Agent Sessions | Mode: `STANDARD` - **Configured Stack Slots**: `6` Active Layers | `6` Intentionally Omitted Layers (Lean YAGNI Setup) - **Total Monthly TCO**: `$102.50/mo` (vs. `$207.20/mo` Unoptimized Baseline -> **Saves `$104.70/mo`**) - **Concurrent Local RAM Footprint:** `459 MB` | **Cumulative p50 Overhead:** `14.7 ms` | **Min Local VRAM:** `0.0 GB` ## 1. Curated Active Bill of Materials (BOM) & License Audit | Slot # | Architectural Layer | Selected Tool (`owner/repo`) | License | Cloud Egress | p50 Overhead | RAM (50 Agents) | Est. Monthly Cost | |---:|---|---|---|---|---:|---:|---:| | 1 | **AI Coding IDE & Editor** | `zed-industries/zed` (Zed AI (Rust Native BYOK)) | `GPL-3.0-only` | Zero-Egress Local/Self-Host | `4.2 ms` | `140 MB` | `$27.50/mo` | | 2 | **Autonomous Terminal & SWE Agent** | `anomalyco/opencode` (OpenCode Terminal Agent) | `MIT` | Zero-Egress Local/Self-Host | `6.4 ms` | `110 MB` | `$40.00/mo` | | 3 | **Agent Harness & Context OS** | `affaan-m/ECC` (ECC v2.2 (Everything Claude Code Harness)) | `MIT` | Zero-Egress Local/Self-Host | `1.8 ms` | `45 MB` | `$7.50/mo` | | 4 | **LLM Gateway, KV-Cache & FinOps Router** | `tensorzero/tensorzero` (TensorZero (Rust 0.8ms Gateway)) | `Apache-2.0` | Zero-Egress Local/Self-Host | `0.8 ms` | `64 MB` | `$16.00/mo` | | 6 | **Structured Output & Schema Compiler** | `BoundaryML/baml` (BAML (Rust Schema-Aligned Parser)) | `Apache-2.0` | Zero-Egress Local/Self-Host | `0.9 ms` | `55 MB` | `$9.00/mo` | | 10 | **50-Probe OWASP Red-Team & Regression CI Gate** | `gitleaks/gitleaks` (Gitleaks Pre-Commit Secret Gate) | `MIT` | Zero-Egress Local/Self-Host | `0.6 ms` | `45 MB` | `$2.50/mo` | ## 1B. Intentionally Omitted Layers (Lean YAGNI Justification) - **Slot 05 (Multi-Agent Orchestration & State Graph)**: `OMITTED BY DESIGN` - Single-agent tool loop suffices; omitting orchestration graph avoids 3.2x cyclic token chatter and 1,450MB RAM. - **Slot 07 (Agent Memory, Vector & Hybrid RAG Engine)**: `OMITTED BY DESIGN` - 200k prompt-cached KV window + AST RepoMap suffices; omitting Vector DB saves 420-1,850MB RAM. - **Slot 08 (Code Sandbox, MicroVM & Browser Runtime)**: `OMITTED BY DESIGN` - No untrusted remote code execution or headless browser automation required for this workload. - **Slot 09 (MCP Server Runtime & Tool-Poisoning Firewall)**: `OMITTED BY DESIGN` - No external third-party MCP servers mounted; MCP firewall layer omitted. - **Slot 11 (Voice, WebRTC & Realtime Multimodal Agent)**: `OMITTED BY DESIGN` - Text/code-only workload; WebRTC voice & realtime audio pipeline not required. - **Slot 12 (Local Inference & QLoRA / GRPO Fine-Tune Engine)**: `OMITTED BY DESIGN` - Using routed frontier API models; dedicated local GPU/VRAM inference & QLoRA fine-tuning not required.
9-File Ready-to-Run Production Bundle
# docker-compose.ai-stack.yml - Generated for zed-industries/zed (6 Active Slots | 6 Omitted | STANDARD)
version: '3.9'
services:
layer_1_ide:
image: ghcr.io/zed-industries/zed:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=AI Coding IDE & Editor
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 140M
layer_2_terminal_agent:
image: ghcr.io/anomalyco/opencode:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=Autonomous Terminal & SWE Agent
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 128M
layer_3_agent_harness:
image: ghcr.io/affaan-m/ecc:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=Agent Harness & Context OS
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 128M
layer_4_gateway_router:
image: ghcr.io/tensorzero/tensorzero:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=LLM Gateway, KV-Cache & FinOps Router
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 128M
layer_6_structured_output:
image: ghcr.io/boundaryml/baml:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=Structured Output & Schema Compiler
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 128M
layer_10_eval_redteam:
image: ghcr.io/gitleaks/gitleaks:latest
restart: unless-stopped
environment:
- PULSEFORGE_SLOT=50-Probe OWASP Red-Team & Regression CI Gate
- COMPLIANCE_MODE=standard
deploy:
resources:
limits:
memory: 128M
Export Your Curated Stack Bundle (Pay Once, Owned Forever)
Browse rankings and configure your 12 slots free. Unlock the compiled execution configs, router rules, and CI gates below:
- [FREE PREVIEW] 12-Slot Studio, +Add to Stack Bag & Live ADR Summary
- [GATED • $9.99 BOM .ZIP] Compiled docker-compose.yml, LiteLLM 65/35 Router, CLAUDE.md & CI Gates
- [GATED • $49 BUILDER KIT] Full 9-File .ZIP + Verified README Shield + Weekly Price/CVE Drift Alerts
[+] Maintainer / DevTool Founder: Test & Verify Your Repository in Any of the 12 BOM SlotsPreview Compatibility & Claim Slot Placement ▾
Preview how your tool pairs with upstream/downstream stack layers, or verify your repository's p50 latency, RAM, and license telemetry for default slot placement.