Brokspace for VS Code
Use Brokspace search, chat, reviews, memories and workflows in VS Code and compatible editors.
The Brokspace extension brings your local Brokspace workspace into VS Code.
It is built for VS Code and designed to run in editors based on it (see
Other editors). The extension
uses the brok CLI, so your terminal, coding agents and editor share the
same .brokspace/ folder, index, LLM settings and memories.
Install
Install the extension from the VS Code Marketplace or run:
code --install-extension brokspace.brokspaceThe extension needs the brok command line tool (0.4.0 or newer). If you
already have it, through Homebrew, APT or the release binary,
the extension finds it on your PATH or at brokspace.brokPath and uses it.
Download on first use
If brok is not installed, the extension asks before doing anything. If you
agree, it:
- downloads the
brokexecutable for your platform from the brokspace/brok GitHub releases (about 150 to 220 MB, no other host); - checks it against the SHA-256 published next to it, and installs nothing if it does not match;
- keeps it in the extension's own storage folder: no administrator rights and
no change to your
PATH.
A brok you already have always wins over the downloaded copy. Run
Brokspace: Download and Install brok to do it later; uninstalling the
extension removes the copy. The download is a convenience: if you manage tools
with a package manager, install brok that way and the extension will use it
(and will not update the downloaded copy). Downloading needs network access to
github.com once.
Other editors
Visual Studio Code is the supported and tested editor. The extension uses only the public VS Code extension API and declares VS Code 1.90 as its minimum, so it is designed to install in editors that implement that API, such as Cursor, Windsurf, Devin Desktop and VSCodium. That is a design goal, not a guarantee:
- Not tested there. We test in VS Code only. A fork may lag behind VS Code's API or lack parts of it
(the
@brokspacechat participant and the MCP registration depend on newer APIs and are skipped where they are missing). Features that need a missing API are turned off, and the rest keeps working. - Where to get it. The Visual Studio Marketplace is for Microsoft's own
products, so those editors do not install from it. Download
brokspace-<version>.vsixfrom the GitHub releases and use Extensions: Install from VSIX. Publishing to Open VSX, the registry many of these editors use, is planned but not available yet. - Report problems. If something does not work in your editor, please open an issue with the editor and its version. We fix what we reasonably can.
The brok CLI, and with it MCP and skills for your coding agents, does not depend on any editor.
Open a project folder, then run Brokspace: Set Up Workspace from the
Brokspace sidebar or Command Palette. It creates .brokspace/brok.yml,
indexes the folder and starts Brokspace.
What you can do
- Search the workspace and linked workspaces by meaning or by name.
- Ask questions with source links, or chat without leaving the editor.
- Review your working tree or staged changes and write a commit message.
- Save, browse and search memories, including the selected code.
- Manage linked workspaces, skills and shards.
- Register Brokspace's MCP server for Copilot and other compatible clients.
The extension needs an LLM and the brok-agent shard for answers, reviews
and commit messages. Search works without an LLM.
Useful commands
| Command | What it does |
|---|---|
| Brokspace: Search | Search code with Ctrl+Alt+F (Cmd+Option+F on macOS). |
| Brokspace: Open Chat | Ask a question with Ctrl+Shift+Alt+B (Cmd+Shift+Option+B on macOS). |
| Brokspace: Set Up Workspace | Create and index the Brokspace workspace. |
| Brokspace: Doctor | Check the executable, workspace and services. |
| Brokspace: Report a Bug | Open an issue with diagnostics, with secrets masked. |
For configuration and development details, see the extension repository.