Heinrich AIThe Autonomous Coding Agent for VS CodeHeinrich AI codes like a developer — because it thinks like one. What is Heinrich AI?Heinrich AI is a fully autonomous coding agent that lives inside VS Code. Unlike simple code completers or chatbots, Heinrich plans, explores, and executes — reading your codebase, writing and editing files, running terminal commands, and even using a browser, all while keeping you in control at every step. Tell Heinrich what you want to achieve. It figures out the how. ✨ Key Features🧠 Agentic Planning — Understands Before It ActsHeinrich analyzes your request, explores your codebase structure, reads relevant files, and presents a clear plan before making any changes. No blind code generation — you always see the reasoning behind every decision. 📂 Deep Codebase IntelligenceHeinrich doesn't work in a vacuum. It performs AST analysis, regex searches, and targeted file reading to fully understand your project's architecture — even in large, complex codebases — before touching a single line. ✏️ Create & Edit Files with Diff ReviewHeinrich creates and edits files directly in your editor and shows you an inline diff view of every proposed change. Accept, reject, or give feedback right in the diff editor. All changes are recorded in your file's Timeline for easy rollback. 🖥️ Run Terminal CommandsHeinrich can install packages, run build scripts, start dev servers, run tests, and deploy applications — directly in your VS Code terminal. It monitors output in real-time and reacts to errors automatically. 🌐 Built-in Browser ControlHeinrich can launch a headless browser, click elements, fill forms, scroll, and capture screenshots and console logs. Perfect for testing web apps, debugging visual issues, and end-to-end automation — no copy-pasting error logs required. 🔌 MCP — Extend with Custom ToolsThrough the Model Context Protocol (MCP), Heinrich can connect to databases, APIs, and external services. Use community MCP servers or ask Heinrich to build a custom tool tailored to your workflow:
🔁 Checkpoints — Compare & RestoreHeinrich takes a workspace snapshot at every step. Use Compare to diff a checkpoint against your current state, or Restore to roll back cleanly — perfect for experimenting with different approaches safely. 📎 Rich Context MentionsSupercharge your prompts with:
🔑 Bring Your Own API Key — Use Any ModelHeinrich supports all leading AI providers: | Provider | Models | |----------|--------| | Anthropic | Claude Sonnet, Claude Opus, Claude Haiku | | Google | Gemini 2.0, Gemini 1.5 Pro/Flash | | OpenAI | GPT-4o, GPT-4 Turbo, o1, o3 | | OpenRouter | 300+ models, always up to date | | AWS Bedrock | All Bedrock-hosted models | | Azure OpenAI | Your Azure deployments | | GCP Vertex AI | Gemini on Vertex | | Groq / Cerebras | Ultra-fast inference | | Local (Ollama / LM Studio) | 100% private, offline models | Heinrich tracks token usage and cost for every request and task — full cost transparency, always. 👁️ Full Transparency — No Black BoxEvery file read, every proposed diff, every terminal command is shown to you before it runs. Nothing happens without your approval. Heinrich is built around human-in-the-loop control. 🚀 Getting Started
🧩 Example Use Cases
🔒 Privacy & Security
🏢 EnterpriseNeed enterprise-grade controls? Heinrich AI offers:
🤝 ContributingWe welcome contributions! See our Contributing Guide to get started. Join the conversation on Discord in the 📄 License |