Cérebro
Cérebro — Obsidian Vault for AI-Assisted Development
A structured Obsidian vault designed to give AI coding agents (opencode, Claude, Cursor) persistent memory, project context, and operational knowledge across sessions.
What is this?
Cérebro is a knowledge management system that bridges the gap between AI coding sessions. Instead of losing context between conversations, your vault retains:
Project context — stack, architecture, decisions, current state
Session logs — what was done, what's pending, what's next
Technical decisions — ADRs with rationale and alternatives
Patterns & lessons — failure patterns, prevention checklists, reusable knowledge
Operational runbooks — deploy, debug, rollback procedures
Quick Start
# Clone this repo
git clone https://github.com/ricardopiresqa/cerebro.git
# Open in Obsidian
# File → Open Vault → select the cloned folder
# Set up environment
cp .env.example .env
# Edit .env with your pathsVault Structure
Cérebro/
├── _templates/ ← Templates for projects, ADRs, runbooks, lessons
├── 0_inbox/ ← Drafts and uncategorized ideas
├── 1_projetos/ ← Active projects (CONTEXT.md + DECISIONS.md + CURRENT.md)
├── 2_knowledge/ ← Knowledge base (guides, studies, career)
├── 3_playbooks/ ← Reusable process playbooks
├── 4_runbooks/ ← Operational runbooks
├── 5_adrs/ ← Architecture Decision Records
├── 6_postmortems/ ← Incident postmortems
├── 7_research/ ← Research and proofs of concept
├── 8_patterns/ ← Code/architecture patterns and lessons
├── 9_standards/ ← Vault conventions
└── 10_glossary/ ← Technical glossaryHow It Works
Project Files
Every project gets three mandatory files:
File | Purpose |
| Stack, structure, repo URL, what it is |
| Technical decisions (chronological) |
| Current state, blockers, next step |
Session Lifecycle
START SESSION
1. Read CONTEXT.md + DECISIONS.md + last session log
2. Search RAG for relevant history
3. Load applicable skill
4. Work
END SESSION
5. Log session in sessoes/
6. Reindex RAG
7. Update DECISIONS.md if new decisions madeAdding a Project
Create
1_projetos/<project-name>/Add
CONTEXT.mdwith stack, structure, and repo infoAdd
DECISIONS.mdwith initial decisionsAdd
CURRENT.mdwith current stateOptionally create a ClickUp card and link it
Templates
Template | Use Case |
| Architecture Decision Record |
| Project current state |
| Technical decisions log |
| Session log |
| Learned lesson |
| Operational procedure |
| Incident postmortem |
| Project onboarding checklist |
| Git hooks config |
Features
Deterministic navigation — numbered folders (0-10) for predictable structure
Fuzzy search — RAG-powered hybrid search (vector + BM25) across all markdown
AI agent integration — steering files tell agents how to behave in your vault
Session persistence — every coding session is logged with decisions and context
Self-improvement — pattern mining, failure analysis, skill effectiveness tracking
Integrations
opencode — reads vault context automatically
Obsidian — renders markdown with Dataview for dashboards
ClickUp — task management via API
RAG — hybrid search with ChromaDB + BM25
Philosophy
Your AI agent should never start from zero. Every session builds on the last.
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ricardopiresqa/cerebro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server