Skip to content
NewBrokspace for VS Code: your workspace, understood

Your workspace,
understood.

Brokspace indexes every repository you work in, on your machine, and gives you, your LLM and your coding agents the context they are missing.

curl -fsSL https://brokspace.org/install.sh | sh

brok search "where do we validate tokens"

0.82 src/auth/jwt.strategy.ts:14-38 method validate

async validate(payload: JwtPayload) {

const user = await this.users.findById(payload.sub);

if (!user || user.tokenVersion !== payload.ver) {

throw new UnauthorizedException();

… 6 more lines

0.74 src/auth/auth.guard.ts:22-41 method canActivate

canActivate(context: ExecutionContext) {

const token = extractBearer(context.switchToHttp().getRequest());

… 15 more lines

Works with

  • Claude Code
  • Cursor
  • VS Code + Copilot
  • Codex
  • Ollama
  • LM Studio
  • any OpenAI-compatible API

What it does

Context, everywhere you work.

One local index of your code, shared by the terminal, VS Code, your LLM and every coding agent you use.

Search that reads code like you do

Functions, classes and doc sections are indexed whole, then found by meaning or by name: hybrid BM25 and semantic search over one repository, its submodules, or a folder full of them.

❯ brok search "rate limit per tenant"

0.86 src/throttle/tenant.guard.ts:12-47 class TenantThrottlerGuard

0.79 billing/README.md:30-58 section Rate limits

0.71 libs/redis/src/window.rs:8-36 function sliding_window

Answers that cite their sources

Ask Ollama, LM Studio or any OpenAI-compatible model about your workspace. Every answer lists the code it was built from.

Sources (qwen2.5-coder:7b via ollama):

src/auth/auth.service.ts:58-91

src/auth/jwt.strategy.ts:14-38

Context for the agents you already use

One command gives Claude Code, Cursor, Copilot and Codex a search tool over MCP, plus your skills.

brok setup agents
  • brok_search
  • brok_status
  • /ask-brok

Reviews and commit messages

A first-pass review of your uncommitted, staged or branch changes, and the commit message written from the staged diff.

❯ brok review --staged

❯ git add -p && brok commit

20 skills, built in

Proven workflows your LLM and your agents follow. Write your own in a SKILL.md and share it with your team.

  • tdd
  • code-review
  • grill-me
  • to-spec
  • diagnosing-bugs
  • handoff
  • +14

Shards: your workspace, programmable

Small programs in any language that react to workspace events on a local bus, each limited to the files, programs and network it declares up front. Start from the template, share them as git repositories.

file:changed

brok-security-auditor

read: src/ · network: false · process: git

security:alert

Local-first

Nothing leaves your machine. Unless you say so.

Brokspace runs next to your code. Your repositories are never sent anywhere to be indexed, and answers come from the model you point it at.

  • Indexed on your machine

    The index lives in .brokspace/, next to your code. No account, no upload, works offline.

  • The model you choose

    A local model by default. A hosted one only when you pick it, even for a single question.

  • Always up to date

    Saves, commits, pulls and branch switches reach the index within seconds.

CLI and VS Code

One workspace. Two ways in.

Use brok in any terminal, then use the same workspace through the Brokspace extension in VS Code and compatible editors. They all read the same .brokspace/ folder.

CLI

brok

Every feature, scriptable, with JSON output for your own tools.

brok search# find code by meaning or by name

brok ask# an answer, with sources

brok chat# follow-up questions

brok review# review your changes

brok commit# write the commit message

brok skill run# run a workflow

brok shard install# add an integration

Getting started

VS Code

Brokspace for VS Code

Search, chat with the Brokspace agent, manage memories, links, skills and shards, review and commit without leaving the editor. Works in VS Code and compatible editors, in English and Portuguese.

Install the extension

Get started

Three commands to a workspace that answers back.

About fifteen minutes from zero, including a local model. Search works right away, even without one.

  1. 1

    Install brok

    curl -fsSL https://brokspace.org/install.sh | sh

    Installs brok and brok-agent and verifies their checksums. Release notes

  2. 2

    Set up your workspace

    cd ~/code/my-project && brok init

    Six guided steps: it picks a model that fits your machine, indexes your code and connects your coding agents. It asks before anything big.

  3. 3

    Ask away

    brok ask "how does the refresh flow work?"

    Or brok search, brok chat, brok review. The index follows your edits from now on.