Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>BzcodeNew to Visual Studio Code? Get it now.
Bzcode

Bzcode

Boltzbit

|
60 installs
| (1) | Free
Boltzbit Code (Bzcode) in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

bzcode

The bzcode coding agent in VS Code: chats in editor tabs that read, edit and run code in your workspace, and the workspace's sessions in the sidebar.

  • Open a chat from the bzcode icon at the top right of an editor, or bzcode: Open Chat. Each tab is its own agent and session, so several can run side by side.

  • The sidebar lists this workspace's sessions, newest first: click one to open it in a tab (or to go to its tab), or start a New Chat.

  • MCP Servers, in the sidebar, lists the servers your settings name: add, remove, disable or enable one, for every chat (open chats reload on it). In a chat, /mcp shows how each is doing there, with Connect, Disconnect and Sign in for that chat.

  • Send with Enter; steer a running agent with Ctrl/Cmd+Enter; interrupt with Esc, which hands back anything still queued.

  • / lists commands: the session's own, plus /new and /resume.

  • @ lists the workspace's files: a file or folder named with @path (or @path#L5-10 for lines) is attached to the message when it is sent.

  • + in the message box: Upload image…, or Add context, which starts an @. Images can also be pasted or dropped into the box.

  • Add to bzcode Chat, on a file or folder in the explorer, an editor's tab, or in an editor, mentions it in the message box; Add Selection to bzcode Chat mentions the selected lines (@path#L5-10), or puts the code itself in when the file has unsaved changes or is not saved anywhere yet. ⌘L on macOS / Ctrl+L on Windows and Linux does the same in the editor: adds the selected lines, or the whole file if nothing is selected. VS Code shows the shortcut beside the menu actions; it replaces the editor's usual Select Line binding and can be remapped in Keyboard Shortcuts.

  • Add Terminal Selection to bzcode Chat, in the integrated terminal's right-click menu, copies selected terminal text into the message box as a quoted snapshot (not an @file reference). The same ⌘L / Ctrl+L shortcut works while terminal text is selected; with no selection the terminal's usual shortcuts are unchanged. This action replaces the clipboard with the selected text. Neither action sends the message automatically.

Sign in

The account view offers two buttons:

  • Sign in asks for your username/email and password in native VS Code prompts, then the six-digit code emailed to you if two-factor authentication is required. Passwords are masked and submitted exactly as typed, without trimming. This is direct sign-in to BoltzHub, not browser login or OAuth. If account verification is required, verify your BoltzHub account before trying again.
  • Use API key retains the masked native prompt for pasting an existing key.

In the chat header, Sign in is the main button; its adjacent arrow opens Use API key. A red note above the composer reminds signed-out users how to access Boltzbit models. It disappears for a stored sign-in or an environment key.

Both paths check the API key with Boltzbit before keeping it in VS Code's SecretStorage (OS keychain); the account then shows in VS Code's Accounts menu. Username/password sign-in creates a three-month key named bzcode VS Code — <hostname>. Temporary login tokens stay only in extension-host memory long enough to create that key; refresh tokens are discarded. The agent and platform requests continue to use only the API key. Escape cancels a prompt; switching windows does not discard what you have typed.

Sign Out attempts to revoke a key generated by this extension and clears the stored sign-in even if revocation fails, with a warning to revoke it in BoltzHub. A key you pasted yourself is only removed locally, never revoked. An effective BZ_API_KEY from bzcode.env or VS Code's environment still takes priority over either stored sign-in; success warns if that override remains active. Remove it to use the stored key. Signing out does not remove an environment override.

After saving a different key, replacement awaits best-effort cleanup of the previous extension-generated key before the next account operation, with a 10-second deadline; manual keys and the same key are never revoked. Cleanup failure or late cancellation does not undo the saved sign-in; cleanup failures warn. Cancelling after key creation was dispatched lets that request finish under its own timeout so an unused key can be revoked; an unknown outcome warns you to check BoltzHub's API-key settings. Unrecoverable keychain write or rollback failures show a safe recovery warning even after cancellation.

Downgrading: this build reads existing raw manual keys, but its managed-key records are versioned and unreadable by older builds. Sign out with this build before downgrading, or use Use API key to retain the legacy raw-key storage format. Compatibility is one-way; older builds are not guaranteed to read new credentials.

The agent reads its settings from ~/.bzcode/settings.json (or $BZCODE_HOME) and the workspace's .bzcode/, as the bzcode CLI does.

The extension runs the bzcode bundled with it, else bzcode on the PATH; bzcode.binaryPath (a User setting) runs another, or a .ts entry through Bun for working on bzcode. The bzcode Output channel logs how the agent was started, what it wrote to stderr, and why it stopped.

Workspaces & Models

After sign-in, manual API-key entry or startup with an effective key, the extension lists your Boltzbit workspaces. Only a valid empty list creates My workspace; creation is asynchronous, so it waits for that workspace to be ready with a proxy URL, then selects it only if no explicit user or project endpoint is configured. Pre-existing workspaces and endpoint choices are left untouched. A failure keeps your sign-in; Refresh can resume setup for the workspace this attempt created without creating another. Cancel stops waiting, not workspace creation; an already-submitted settings write may still finish.

The view hides the Boltzbit (direct) preset and reset-to-default action. Manual endpoint settings remain accepted as Other endpoint. The CLI default and direct capability, credentials and runtime/provider behavior are unchanged; no new flag is required.

Environment variables

Use Preferences: Open User Settings (JSON) to set variables for bzcode without relaunching VS Code from a terminal:

{
  "bzcode.env": {
    "HUBSPOT_CLIENT_SECRET": "YOUR_ROTATED_HUBSPOT_CLIENT_SECRET"
  }
}

In bzcode's own settings.json, reference it as "clientSecret": "$HUBSPOT_CLIENT_SECRET". The extension passes the variable to both chat agents and the sidebar's short-lived bzcode processes. Effective changes restart open agents, so save this setting between turns. Removing an override restores the inherited value. Values preserve whitespace and empty strings. $NAME and ${NAME} expand once from VS Code's inherited environment (not other overrides), so a package reference can be "BZ_PACKAGE": "file:$HOME/Repos/app/.pack/boltzbit-app.tgz". Unknown or undefined variables stay literal; an inherited empty string expands to empty. Use $$ for a literal $ (for example, $$HOME or $${HOME} in a secret), and $! for a literal !. Resolved values are not expanded again, and !commands never run.

bzcode.env is machine-scoped: only your User settings apply, not repository/workspace settings. With Remote SSH, configure it in the remote User settings. It is excluded from Settings Sync, but values remain plaintext in VS Code settings—not SecretStorage. Do not commit or share secrets; the variables are available to the agent and processes it runs. Prefer Sign In to BoltzHub or Use API Key to store the Boltzbit key in the OS keychain.

Overrides win over VS Code's inherited environment. A configured BZ_API_KEY also wins over the signed-in key; remove that override to stop using it. Sign Out clears the stored sign-in (and attempts to revoke an extension-generated key), not an environment key. The extension does not modify VS Code's environment or your integrated terminals.

Proxies and certificates

Add these entries to your existing bzcode.env object (keep any other variables):

{
  "bzcode.env": {
    "HTTP_PROXY": "http://127.0.0.1:8080",
    "HTTPS_PROXY": "http://127.0.0.1:8080",
    "NODE_EXTRA_CA_CERTS": "/absolute/path/to/ca.pem"
  }
}

Use an absolute path to the PEM certificate file; new environment values are literal, so ~/ is not expanded. HTTP, HTTPS and ALL proxy variables get consistent uppercase and lowercase spellings. An explicit override wins over an inherited alias. On case-sensitive hosts, uppercase wins if both spellings are explicitly set; Windows keeps its case-insensitive environment semantics. Existing bypass domains are retained when no explicit NO_PROXY override is given, and localhost, 127.0.0.1 and ::1 always stay direct while a proxy is active. An explicit empty proxy disables an inherited alias. These variables configure bzcode, not the extension's own account/usage/workspace requests.

Breaking change: bzcode.network.httpProxy, bzcode.network.httpsProxy and bzcode.network.caCertificates are unsupported. Move their values manually to HTTP_PROXY, HTTPS_PROXY and NODE_EXTRA_CA_CERTS in bzcode.env, respectively, using an absolute certificate path. Then remove the obsolete keys from the relevant Local or Remote User settings. There is no automatic migration, deprecated registration or compatibility fallback; the extension does not copy or delete existing settings.

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