Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Heinrich AINew to Visual Studio Code? Get it now.
Heinrich AI

Heinrich AI

Heinrich AI

|
4 installs
| (0) | Free
Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Heinrich AI

The Autonomous Coding Agent for VS Code

Heinrich AI codes like a developer — because it thinks like one.

VS Marketplace Downloads License: Apache 2.0

📖 Docs · 💬 Discord · 🐛 Issues · 🌐 Website


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 Acts

Heinrich 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 Intelligence

Heinrich 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 Review

Heinrich 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 Commands

Heinrich 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 Control

Heinrich 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 Tools

Through 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:

  • "Add a tool that fetches Jira tickets" → Heinrich builds and installs it automatically
  • "Add a tool that manages AWS EC2 instances" → Done
  • "Add a tool that queries our PostgreSQL database" → Ready to use in future tasks

🔁 Checkpoints — Compare & Restore

Heinrich 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 Mentions

Supercharge your prompts with:

  • @file — Include a specific file's contents directly in context
  • @folder — Include an entire folder at once
  • @url — Paste a URL and Heinrich fetches and reads the page (great for latest docs)
  • @problems — Pull in all VS Code Problems panel errors/warnings for Heinrich to fix

🔑 Bring Your Own API Key — Use Any Model

Heinrich 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 Box

Every 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

  1. Install the extension from the VS Code Marketplace
  2. Click the Heinrich AI icon in the Activity Bar (or sidebar)
  3. Add your API key for any supported provider (Anthropic, OpenAI, Gemini, OpenRouter, etc.)
  4. Type your goal — e.g., "Build a REST API with Express and TypeScript" or "Fix the bug in auth.ts"
  5. Review and approve Heinrich's plan, then watch it work

💡 Tip: Move Heinrich to the right sidebar (View → Open View... → Heinrich AI) to use it side-by-side with your file explorer and see changes in context.


🧩 Example Use Cases

  • Scaffold a new feature from a one-line description
  • Debug a failing test — Heinrich reads the error, finds the root cause, fixes it
  • Refactor legacy code — migrate from callbacks to async/await across a whole module
  • Build a UI from a screenshot — paste a mockup image and get working code
  • Write and run database migrations
  • Set up CI/CD workflows
  • Document an entire codebase with JSDoc/TSDoc comments
  • Audit code for security issues and patch them

🔒 Privacy & Security

  • Your code stays yours — Heinrich only reads files you give it access to
  • BYO key means your API calls go directly to your chosen provider
  • Every action requires approval — Heinrich never makes changes silently
  • MCP connections are configured and controlled by you

🏢 Enterprise

Need enterprise-grade controls? Heinrich AI offers:

  • SSO (SAML/OIDC)
  • Global policies and configuration management
  • Audit trails and observability
  • Private networking (VPC / private link)
  • Self-hosted and on-prem deployment options

Learn more → or talk to us →


🤝 Contributing

We welcome contributions! See our Contributing Guide to get started. Join the conversation on Discord in the #contributors channel.


📄 License

Apache 2.0 © 2026 Heinrich Bot Inc.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft