Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ShobAI CodeNew to Visual Studio Code? Get it now.
ShobAI Code

ShobAI Code

ShobAI

|
1 install
| (0) | Free
ShobAI's coding agent in VS Code: a chat panel with diffs and approvals, plus the shobai CLI in a terminal.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ShobAI Code for VS Code

ShobAI's coding agent inside VS Code, Cursor and Windsurf. ShobAI Code is for ShobAI Plus and above, and it uses your ShobAI credits.

Getting started

  1. Install the extension and open a folder.
  2. Open the ShobAI Code panel. The first time, the extension downloads the ShobAI Code CLI for your computer (about 100 MB, once). You don't need npm.
  3. Click Sign in to ShobAI and approve the sign-in in your browser.

The shobai command then also works in VS Code's terminal. To use it in other terminals too, install it with npm i -g @shobai/code (the extension uses that copy when it's there). More at shobai.app/code.

Features

Chat panel

Open the ShobAI Code icon in the activity bar.

  • Chats: start a new chat or reopen a past one from the list at the top.
  • Context: the open file, or the selected lines, goes along with your message. Click the @ file chip to leave it out.
  • Live replies: the reply streams in as markdown. Tool calls show collapsed, with their status.
  • File changes: each change lists the file with its added and removed lines. Open diff shows it in VS Code's diff view.
  • Approvals: when the agent asks to edit a file or run a command, choose Allow once, Always allow or Deny.
  • Model and stop: pick a model under the message box, and stop a running reply with Stop.
  • Sign-in and account messages: if you're signed out, Sign in to ShobAI runs shobai login in a terminal. Messages about credits, your plan or rate limits show as they come from ShobAI, with a link where one helps.

The panel starts a private local server (shobai serve) for the window. It stops when VS Code closes. To share live chats with shobai in the terminal, set shobaiCode.server to service, which uses the CLI's background server.

Terminal

  • Quick launch: Ctrl+Esc (Cmd+Esc on Mac) opens shobai in a split terminal, or focuses the one already open.
  • New tab: Ctrl+Shift+Esc (Cmd+Shift+Esc on Mac), or the ShobAI Code button in the editor title bar, opens another shobai terminal.
  • File references: Ctrl+Alt+K (Cmd+Alt+K on Mac) inserts a reference to the current file or selection into the shobai terminal, for example @src/app.ts#37-42.

Settings

Setting Default What it does
shobaiCode.path shobai The CLI: shobai uses one on PATH or sets one up for you; or give a full path.
shobaiCode.server private private starts a server for this window. service uses the CLI's background server.

Development

  1. cd sdks/vscode, then bun install.
  2. Open sdks/vscode in VS Code (not the repository root) and press F5 to start an Extension Development Host.
  3. Checks: bun run check-types, bun run lint, bun run test:unit, and node esbuild.js --production to build.
  4. Package with bun run vsix. This writes shobai-code-<version>.vsix and doesn't publish it.

Manual test steps for the chat panel are in TESTING.md.

Licence

MIT. Based on OpenCode (MIT), Copyright (c) 2025 opencode. See LICENSE and NOTICE.

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