Español: es/getting-started.md.
This guide takes you from zero to a running yaggo-brain with your IDE connected.
- Node.js >= 20 and pnpm (the repo pins
pnpm@11.9.0;corepack enable pnpmworks). - Docker Desktop (WSL2 backend recommended on Windows).
- Git.
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/YaggoSEO/yaggo-brain/main/install.sh | bashWindows (PowerShell):
Invoke-WebRequest -Uri https://raw.githubusercontent.com/YaggoSEO/yaggo-brain/main/install.ps1 -OutFile install.ps1
notepad install.ps1 # optional: inspect before running
.\install.ps1The installer clones the repo, runs pnpm install, pnpm db:up, pnpm db:migrate, and
pulls the local Ollama models. Flags: --dir=PATH, --no-docker, --no-models, --dev.
git clone https://github.com/YaggoSEO/yaggo-brain.git
cd yaggo-brain
pnpm install
cp .env.example .env
pnpm db:up
pnpm db:migratepnpm devThis terminal stays open on purpose (Ctrl+C to stop). Within ~30s you should see the web, api, and worker lines. Then open:
- Panel: http://localhost:3000
- API: http://localhost:3333
If a port is busy (EADDRINUSE), stop the other process on :3000/:3333 or a previous
pnpm dev.
docker exec yaggo-ollama ollama pull nomic-embed-text
docker exec yaggo-ollama ollama pull qwen2.5:3b
docker exec yaggo-ollama ollama pull qwen2.5-coder:7bnomic-embed-text powers embeddings; qwen2.5:3b is the default ASK_MODEL;
qwen2.5-coder:7b is the coder tier.
- Open the panel and create a project.
- Go to the Explorer tab and connect a repository by absolute local path
(e.g.
C:\path\to\your\repoon Windows) or a Git URL. - Wait for the worker to scan it (or click Re-scan repo). The Graph tab renders the code graph.
Note: the "approve diff → new branch + commit" flow (write agents) requires the connected target to be a git repository.
- Add content first: upload a document in Docs or create a page in Wiki so the RAG index has material.
- Use the Ask panel (or
POST /api/projects/:id/ask) to ask about the project. Answers come back with clickablecitedIds.
- In the Agents tab, run the read-only architect to get an architecture analysis.
- Runs appear on the kanban board; failed evals create a
proposedlesson.
npx yaggo-brain install --target=cursor # also: claude-code, windsurf, --all
npx yaggo-brain doctor --jsonThen, in your agent, say "Index this project". As you work, hooks stream observations
into the Memory tab and session.end produces a session summary + a quality review.
| You do | Data lands in | Panel |
|---|---|---|
| Connect + scan a repo | file_nodes, code graph |
Explorer, Graph |
| Upload docs / edit wiki | documents, chunks |
Docs, Wiki, Ask |
| Rebuild vectors | vector_snapshots |
Vectors |
| Ask / classify | model_calls |
Costs |
| Run agents | agent_runs, lessons |
Agents, Lessons |
| Use the IDE (MCP) | observations, session_summaries |
Memory |
| Run evals | eval_runs |
Quality |
pnpm devseems stuck — it's a persistent process; look for theReady/listeninglines rather than a returned prompt./askis weak — add docs/wiki first; retrieval needs content.- Vectors empty — ask/ingest first so chunks have embeddings, then rebuild the snapshot.
- Docker not running — start Docker Desktop, then
pnpm db:up && pnpm db:migrate.
See also: Architecture and Deployment.