Quick Start

Get up and running with CodeBroker in under a minute. This guide will take you from an unindexed repository to having CodeBroker bound to your AI tools.

Prerequisites
Make sure you have already installed the CodeBroker CLI. If not, head over to the Installation guide.
1

Go to Your Project

CodeBroker indexes one project at a time, scoped to whatever directory you run it from. cd into the repository you want to index — every command below (init, bind, update) should be run from this same directory unless noted otherwise.

cd /path/to/your-project
2

Initialize Repository

From inside your project folder, initialize the CodeBroker configuration. This scans the codebase and creates a `.codebroker.json` file in your root directory.

codebroker init
✓ Initialized CodeBroker configuration in .codebroker.json
3

Bind to Your AI Tools

Still in the same project directory, run the bind command to instantly connect it to Claude, Gemini, and your other AI coding tools.

codebroker bind
✓ Bound CodeBroker to Claude ✓ Bound CodeBroker to Gemini Ready — your AI tools can now query this repository's graph
4

Keep the CLI Updated

CodeBroker ships new releases often. Run updateany time — from any directory, since it updates the CLI binary itself, not your project's index — to pull the latest version.

codebroker update
✓ Already on the latest version (v0.x.x)
You're all set!
You have successfully initialized your repository and bound it to your AI tools. Head over to the Core Concepts to dive deeper into how the Semantic Graph works.