Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>OpenGrok PluginsNew to Visual Studio Code? Get it now.
OpenGrok Plugins

OpenGrok Plugins

kafei520cn

|
60 installs
| (0) | Free
Grok Build coding agent for VS Code. Sign in with your browser, then chat, edit, and run tools in the sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenGrok Plugins

Sidebar client for the Grok Build CLI. It speaks ACP (grok agent stdio) and signs you in through the same browser OAuth flow as grok login.

Publisher: kafei520cn · Extension: kafei520cn.grok-for-vs-code

Use

  1. Install the Grok CLI if it is not already on this machine:

    irm https://x.ai/cli/install.ps1 | iex
    

    macOS / Linux: curl -fsSL https://x.ai/cli/install.sh | bash

  2. Install OpenGrok Plugins from the VS Code Marketplace, or npm run package then Install from VSIX.

  3. Open OpenGrok Plugins in the activity bar, or press Ctrl+; / Cmd+;.

  4. Click Sign in with Grok. VS Code opens auth.x.ai. After the browser round-trip, chat in the sidebar.

The sidebar is the same agent as the CLI. Type / for every slash command (/plan, /imagine, /workflow, /compact, /resume, /mcps, …). Type @ to attach a workspace file. An xAI API key from console.x.ai is the fallback.

中文说明

面向 VS Code 的 Grok Build 编程助手。通过 ACP(grok agent stdio)连接本机 grok CLI,登录流程与 grok login 相同:用浏览器打开 auth.x.ai 即可。

发布者:kafei520cn · 扩展 ID:kafei520cn.grok-for-vs-code

使用

  1. 如果还没有 Grok CLI,先安装:

    irm https://x.ai/cli/install.ps1 | iex
    

    macOS / Linux:curl -fsSL https://x.ai/cli/install.sh | bash

  2. 从 VS Code 扩展市场安装 OpenGrok Plugins,或本地 npm run package 后选择“从 VSIX 安装”。

  3. 在活动栏打开 OpenGrok Plugins,或按 Ctrl+; / Cmd+;。

  4. 点击 使用 Grok 登录。VS Code 会打开 auth.x.ai,浏览器登录完成后即可 在侧边栏对话。

侧边栏里的 Agent 与 CLI 是同一个。输入 / 可调用全部斜杠命令(/plan、 /imagine、/workflow、/compact、/resume、/mcps 等)。输入 @ 可附加 工作区文件。也可用 console.x.ai 的 xAI API 密钥作为 备选登录方式。

Develop

npm install
npm test
npm run compile

Then Run and Debug → Run Grok Build Extension.

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