DietCode: The Agentic Orchestrator

Stop Chatting. Start Building. DietCode is a professional-grade agentic pair programmer that doesn't just suggest code—it orchestrates your entire development environment.
⚡ The Agentic Leap
Most AI tools are "reactive chatbots" that wait for you to copy-paste. DietCode is a proactive agent that observes your codebase, creates formal implementation plans, and executes changes across your terminal, browser, and file system.
| Feature |
Standard AI Assistants |
DietCode |
| Logic |
Reactive Autocomplete |
Proactive Agentic Reasoning |
| Workflow |
Blocks your main window |
Git Worktrees (Parallel Windows) |
| Planning |
Informal Chat |
Deep Planning & Implementation Docs |
| Privacy |
Cloud-indexed |
Local-first / Zero-Trust |
| Model |
Provider Lock-in |
Model Agnostic (Claude, GPT, Gemini, Llama) |
🚀 The First 5 Minutes: Your First Task
Traditional onboarding is boring. Let's build something real in your first 5 minutes with DietCode.
Step 1: Forensic Investigation
Type /deep-planning followed by a feature you've been putting off.
"DietCode performs a silent investigation of your codebase, mapping dependencies and creating a formal implementation_plan.md before touching a single line."
Step 2: Parallel Productivity
Click the "New Worktree Window" button on the home screen.
"DietCode opens a separate window on a parallel branch. You keep coding in your main window while the agent builds the new feature in the background. No more stashing or interruptions."
Step 3: Set Your Guardrails
Add a rule to your .dietcoderules or create a Custom Interceptor.
"The Universal Guard ensures every change the agent makes follows your architectural standards. You remain the 'Human-in-the-Loop', approving every action."
💎 The DietCode Edge
- Architectural Sovereignty: The built-in Universal Guard enforces your project's layering rules in real-time. Every edit is followed by a Self-Healing pass that ensures architectural consistency.
- Forensic Context: DietCode uses a Knowledge Graph to calculate the "Blast Radius" of every change and maintains Long-Term Memory via AI-compacted landmarks.
- Extensible Lifecycle: Write your own Custom Interceptors (Hooks) in any language to monitor, modify, or block the agent's actions at every stage.
- Privacy First: Your code stays on your machine. Task history and context are stored in a local SQLite database (BroccoliDB).
📐 Project Blueprint
DietCode is architected for transparency and professional scale.
src/core/: The reasoning engine and Observe-Plan-Act loop.
src/integrity/: The forensic monitors (Guard, Stability, Policy).
src/services/: Context mapping, Knowledge Graphs, and AI communication.
src/infrastructure/: The tools (Terminal, Browser, File System, MCP).
🛠️ How to Start
- Install: Search for "DietCode" in your IDE marketplace.
- Configure: Add your API key (Anthropic, OpenAI, or local).
- Command: Open the panel and try
/deep-planning to see the agent in action.
Explore the Full Documentation | The DietCode Edge | Architectural Enforcement
Built for quality. Orchestrated for speed. You stay in control.