Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Forge for GrokNew to Visual Studio Code? Get it now.
Forge for Grok

Forge for Grok

LeBrainJames

|
34 installs
| (1) | Free
Unofficial · not affiliated with xAI. Forge whatever you want with Grok Build right inside VS Code — images through Imagine, code through Grok — in a clean chat sidebar on your own subscription, with zero terminal needed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚒️ Grok Forge — the unofficial Grok app for VS Code

Forge whatever you decide you want to make. Images through Imagine. Code through Grok Build. All from friendly chat tabs in VS Code — running on your own Grok subscription, with the terminal kept completely out of sight.

Unofficial. Grok Forge is a community project and is not affiliated with, endorsed by, or supported by xAI. "Grok" is a trademark of xAI. This extension is simply a friendly window onto the official Grok Build CLI that you install and sign into yourself.

🆕 What's new in 1.3 — "Say It Once"

Plan mode plans, and Accept means accept. Picking Plan on a chat that was already running could leave Grok in its normal mode — Forge blocked the edit, but no plan ever arrived. And when a plan did arrive, Forge had already answered it with "the user wants to revise", so Grok asked what to change right above the Approve button. Both are fixed: your click is now Grok's answer, and Accept starts the build in the same turn — watched working in a real editor.

Forge says each thing once. The transcript stops filling with connection notices and cleanup receipts. The Ask-first and Plan disclosures come from one source and sit in one banner for the mode you are actually in, instead of a stack of amber boxes that included one for a mode you had already left. The part of each disclosure that admits what Forge cannot see is no longer the part that gets cut off.

A new MCP server can be approved. Vet & approve on a never-approved server did nothing at all; it now vets and approves. The Plugins & MCP panel no longer shows disabled plugins as live, and a plugin's server row says exactly what Forge can do about it: disable the whole plugin, not that one server.

Your X-High effort setting is kept when Forge can't identify the model, instead of being dropped with an explanation that wasn't true. Agent lanes keep their real names when Grok runs a helper in the foreground — those used to stay labelled "Subagent 1". And a plan left waiting 30 minutes says it expired instead of leaving an Accept button that looked live.

Still true, still stated: Grok's own shell can read files Forge refuses, Ask first does not mean every command asks, and MCP servers are not inside Forge's sandbox. The changelog lists these rather than leaving them for you to find.

🆕 What's new in 1.2 — "Nothing Disappears"

Deleting a chat asks first, and can be undone. Every row in Recent used to carry a delete button that was invisible until you hovered, sat inside the row you click to open the chat, and destroyed it on a single click — no confirmation, no undo, no trash. It ate a real transcript mid-session, which is how it was found. The button is now visible at rest, the first click asks and names the chat it will destroy, and deleted chats stay recoverable for 30 days with an Undo offered the moment one goes.

A step you refused stops looking like a crash. Expanding a turn marked blocked showed a red ✗ beside the step you had just declined — reporting your own decision back to you as a failure. It now shows a muted ⊘ that matches the badge above it. A genuine failure keeps its red ✗.

Plan mode's disclosure fits on the screen, and is accurate. The part that admits Grok auto-runs some commands Forge never sees was being clipped mid-sentence, so you read the promise and none of the exception. It now sits in a banner that wraps and cannot be missed — and it no longer says "directory-level", because a bare touch creates a file and never reaches Forge either.

A missing file is reported as a missing file. A failed read used to say "that folder wasn't found" and blame a tool that never ran.

Eight defects, six of them found by a person using the product rather than by the 2,007 unit and 614 browser tests — including two inside the fix for the first one. The changelog says which, and why the tests missed them.

🆕 What's new in 1.1 — "See It Work"

Turn a generated sprite into a transparent PNG. Ask for game art in one of the 2D modes and the lightbox offers Remove background — it previews the result on a checkerboard so you can actually judge it, then Rename / Add to assets/ writes it into your project with a row in ASSETS.md. Nothing reaches disk until you have seen it and named it, and a name that is already taken gains -2 rather than overwriting what was there.

The keyer cuts a matte, not a hole. Anti-aliased and JPEG-compressed edges used to survive as a bright ring of key colour around the sprite — measured at 14.7% of the visible subject on a real generated sprite. Forge now recovers how much of each edge pixel is background and unmixes the key back out, taking that to 1.94% with ~30,000 genuinely soft edge pixels where there were none.

See what each subagent actually said. Run two agents in parallel and every lane gets a toggle that opens onto its own words — its reasoning, its tool calls and what it wrote — instead of a step count.

Plan mode says what it actually does. It now names exactly what it blocks (file edits and content-writing shell commands), names the exception it cannot see (simple shell commands that create files and folders — touch, mkdir — run without asking Forge), and tells you "Grok hasn't proposed a plan yet" when that is the actual reason, instead of pointing you at a plan that does not exist.

Limits worth knowing before you install. An MCP server's question now renders and answers, and agent lane transcripts now survive reopening a chat — both were limits here in 1.1 and both were fixed and verified in a real editor. What remains: a required field on an MCP question will still accept an empty answer, and Plan mode has a second gate inside Grok that refuses edits without explaining itself. Both are written up in the changelog rather than left for you to discover — as is the larger one, that Grok auto-runs some simple commands Forge never sees at all.

🆕 What's new in 0.9 — "Parity II"

Plan mode — read the plan before Grok edits your files. A Plan pill in the chat title bar flips Grok into planning: it investigates your code and writes up what it intends to do instead of doing it. The plan arrives as a card you can actually read, and Forge blocks file edits and content-writing shell commands until you approve it — then Grok switches back and carries it out. Reading and searching still work, so Grok can research first. Toggle it mid-conversation for the one risky change and come straight back out. Connect your own tools (MCP) with the new Manage MCP Servers command — Forge connects to each server itself first, reads back every tool it offers, and shows you the list to approve; a server you add reaches Grok only once you approve it, and if it later changes its tools the approval is void. (A Grok plugin can also bring its own MCP server, which bypasses that flow entirely — the Plugins & MCP panel shows you those and says so.) Grok reads your AGENTS.md project rules, and a live activity panel shows the tools it's running as it runs them, so a long turn is no longer a blank wait. Plus a security pass: hidden characters are stripped from what Grok reads, permission cards show the verbatim command, destructive commands stay carded even on auto-approve, and a per-turn tool-call brake stops runaway loops. Full details on the Changelog tab.

🆕 What's new in 0.8 — "Checkpoints & Speed"

Checkpoints — a safety net for letting Grok edit. Every message you send now snapshots your project first. A clock button in the chat title bar lists every turn; click one and your files roll back to exactly how they were before it — an edit undone, a deleted file restored, a file Grok created removed. It reverts files only (your conversation with Grok stays exactly as it is) and never touches your own Git history or your .gitignored secrets. @-mention files too: type @ in the message box to filter your project's files and attach one as context, so "explain @thing.ts" just works — with secrets never shown or attachable. Plus a faster first message (Grok warms up in the background while you read and type) and a smaller install. Full details on the Changelog tab.

🆕 What's new in 0.7.5 — "Polish"

A bigger, cleaner media viewer. Open a tall image or clip in a wide window and the viewer now splits into three columns — actions on the left, the media centred and filling the full height, caption and Refine on the right — instead of a narrow strip with wide black margins. The clip gets about two-thirds more area, the description shows in full, and it flips back to the familiar stacked layout on narrow panels automatically as you resize. Plus a history button in the chat title bar to jump straight to any past conversation, a Stop button that stays reachable from inside the viewer, and a round of security hardening — Grok no longer inherits your whole environment (including your SSH agent). Full details on the Changelog tab.

🆕 What's new in 0.7

Video. Every generated image now carries a ▶ badge — click it, pick 6 or 10 seconds, and watch the video appear right where you're looking: a spinner with a live second-count runs on the image itself, then the finished clip replaces it in place. Nothing closes, nothing kicks you back to the chat, and the conversation stays clean — no repeated photos, no restated requests. Open a clip and describe the motion in plain English ("camera cranes up", "360° orbit") to re-animate it, or use the ✨ Suggestions picker (Camera · Lighting · Mood · Style) in either composer. A photo and everything made from it now share one gallery tile: the grid shows the newest version, ‹ › flips across tiles and ↑ ↓ walks a tile's history back to the original.

0.7 also ships a security hardening pass: credential files (~/.ssh/id_rsa, .aws/credentials, .netrc, .npmrc, .env*) are refused for reads and writes, and Grok's file tools write only inside your project folder — with no folder open it works in a private contained folder instead of your entire home directory. Every file action is re-checked before it runs.

Security, stated plainly. Grok Forge runs a real coding agent on your machine — that is the point of it — and it is the only way to run Grok Build with an OS-level sandbox in front of it. Forge launches Grok under a kernel profile that denies ~/.ssh, ~/.aws, ~/.azure, ~/.gnupg, gcloud and kube outright. Run grok yourself in a terminal and nothing does that.

We would rather tell you where it stops. All three are open, all three are upstream, and all three were re-verified against grok 1.0.13 on 2026-08-29 rather than assumed:

  • The approval card gates a path, not an intention. Deny a write and Grok may reach the same goal through its shell a second later. We have watched exactly that, in ordinary use, land in /tmp — outside your project. The sandbox holds the line at your home directory and your credentials. It does not hold it at your project folder, and we will not pretend otherwise.
  • "Ask first" does not mean everything asks. Grok keeps its own list of commands it runs without showing a card, and Forge does not control that list. On grok 1.0.13 we watched it create a directory and a file unasked — one of them in /tmp, outside the project folder. The sandbox permits temp by design; what is missing is the question. Every command is still written to Forge's Grok Forge — Security output channel — a record after the fact, not a gate. It is the only handle we have here. The list is upstream and moves between releases, so we describe its shape rather than publish a roster that will go stale.
  • An MCP server is not contained by anything. Approving one in Forge means a person read its tool descriptions — that is all it has ever meant. We proved the gap rather than assuming it: a server child read a path the kernel denies the shell and handed back the contents. Servers that arrive inside a plugin never reach our approval flow at all, and the Plugins & MCP panel exists to show you those by name.

We publish what we have measured, including the parts that make us look worse. A tool that hides its own holes is a tool you cannot calibrate against.

Full detail, measured against this build rather than assumed: docs/SECURITY.md.

What you get

  • 💬 Multi-chat in real editor tabs — the anvil icon opens a sidebar hub; start a new chat or reopen a past one and it opens as its own editor tab. Live streaming responses, a model picker, and a chat · plan · build · imagine cue so you always know what Grok is set up to do.
  • 🗂️ Local chat history — conversations are saved on your machine; reopen or delete them from the sidebar hub. Nothing leaves your device.
  • 🎨 A real image workflow — ask Grok to imagine something and results arrive as compact cards. Click an image to expand it with its exact generation prompt beneath it and ‹ › arrows to flip through the batch; refine the one you're viewing from right there. Each card opens its own per-batch gallery. Right-click any image for Copy / Save As… / Open / Show in Finder / Save to assets/ (with optional ASSETS.md logging for license tracking). Images are detected from disk, so it works no matter how Grok phrases its output.
  • 📎 Attach & paste — attach files to a message, @-mention a workspace file to filter and attach it inline, paste a screenshot straight from the clipboard, and click any image to expand it in a lightbox.
  • ↩️ Checkpoints — every turn snapshots your project, so you can rewind your files to before any message with one click. Files only — your conversation stays put, and your own Git history and .gitignored secrets are never touched.
  • 📋 Plan mode — flip the Plan pill and Grok proposes an approvable plan first. Forge blocks file edits and content-writing shell commands until you approve the plan. Reading and searching still work. Approve and it executes; toggle back out whenever you like. One limit, stated plainly: Grok auto-runs some simple shell commands without asking Forge — including ones that create files and folders, like touch and mkdir — so those are not covered.
  • 🔌 Your own tools via MCP — add MCP servers from Manage MCP Servers. Forge vets each one itself and shows you every tool before it approves, and a server that changes its tools has to ask again.
  • 📐 Project rules — Grok picks up your AGENTS.md house rules automatically; the Project Rules (AGENTS.md) command will scaffold one if you don't have it.
  • ⏱️ Never looks frozen — a live "Grok is working… Ns" timer that settles into "took Ns" when the turn finishes.
  • 🔐 Your subscription, your machine — everything runs through the official Grok Build CLI locally. No keys to paste, no third-party servers in between.
  • 🛡️ Real permission prompts — when Grok wants to act, you get big Allow/Deny buttons (or flip on auto-approve in settings if you like to live fast).
  • ♿ Accessibility-first — large click targets, high contrast, dictation button, zero drag-and-drop, zero required keyboard shortcuts. Designed from day one for single-click (including BCI) use.

Getting started

  1. Install this extension.
  2. Click the ⚒️ anvil icon in the activity bar.
  3. No Grok Build CLI yet? The welcome screen installs it for you — one button runs the official installer (curl -fsSL https://x.ai/cli/install.sh | bash), another runs grok login so you can sign in with your subscription.
  4. Click New chat in the hub — it opens as an editor tab. Chat, imagine, forge.

Settings

Setting What it does
grokForge.grokPath Path to the grok binary (blank = $GROK_CLI_PATH or ~/.grok/bin/grok)
grokForge.model Default model for new sessions
grokForge.permissionMode ask (Allow/Deny buttons, default) or auto-approve
grokForge.maxToolCallsPerTurn Brake on runaway turns — max tool calls Grok may make in one turn (default 100, 0 = off)

How it works

Grok Forge speaks the Agent Client Protocol (ACP) to a persistent grok agent stdio session — the same architecture the official Claude Code and Zed integrations use to talk to their CLIs. The extension is a thin, friendly cockpit; the CLI does the flying.

License

MIT. Not affiliated with xAI — see the disclaimer above.

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