AI coding copilot for VS Code powered by the local Grok CLI — chat, agentic edits, slash commands, file & folder context, @-mentions, image paste, and live sessions in a focused sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Not an official xAI product. Independent, community-built, and held together by
TypeScript and reasonable intentions. It drives your local Grok CLI over stdio.
Not affiliated with, endorsed by, or published by xAI — there is no official Grok
extension from xAI for VS Code, which is roughly why this one exists. "Grok" is a
trademark of xAI, borrowed here only to describe what this talks to.
A focused VS Code sidebar that puts the local Grok CLI where you already live —
next to your code, instead of in yet another browser tab.
Requirements
The Grok CLI, installed and signed in (it does the actual thinking)
Setup — log in to the Grok CLI first
This extension is a friendly face for the Grok CLI. No CLI, no face. Install and
sign in before opening the sidebar, otherwise it sits there loading models
with the patience of a saint and the results of a brick.
Install the Grok CLI:
Windows (PowerShell): irm https://x.ai/cli/install.ps1 | iex