First brain in 15 minutes
Run commands from the Agent KBase OSS repository root (project-brain on GitHub; package.json name project-brain).
Recommended: full agent KB in one command
Creates brain/, Cursor rules, and .engram/config.json in your project folder.
bash
# 1) From project-brain repo (once)
pnpm install
pnpm run build:packages
# 2) Scaffold into your app repo (change the path)
pnpm brain setup \
-n "My Product" \
-d "What we do in one sentence" \
~/path/to/your-repo### With a public site draft
bash
pnpm brain setup \
--url https://yourproduct.com \
-n "My Product" \
~/path/to/your-repoReview extracted facts in brain/facts/project.md before you trust them.
### After setup
bash
pnpm brain validate --dir ~/path/to/your-repo
pnpm brain brief --dir ~/path/to/your-repoPaste the brief into Cursor chat, or reference @brain/ in the repo you opened.
Enable Engram MCP in Cursor once so agents use memory alongside brain/.
Legacy: brain files only
bash
pnpm brain init ./my-appPrefer setup so agents load Engram rules in parallel.
Web wizard
Open the wizard in the browser, export a zip, unzip at your repo root. Prefer CLI setup for Engram config; see Engram doc.
Terminal help
If markdown in the browser is hard to read, run:
bash
pnpm brain quickstartPlain text steps for the terminal (no formatting).