Second Brain Agent
PrivateA full-stack agentic RAG pipeline that indexes an Obsidian knowledge base and answers queries with real-time reasoning, source attribution, and knowledge graph traversal.
What I built
Built in 2 hours at the NVIDIA Agents for Impact hackathon. A 4-stage agentic RAG pipeline over my personal Obsidian vault (69 notes with wikilink references).
Stage 1: Nemotron generates 3–5 expanded search queries from the user's question. Stage 2: Each query is embedded via NV-Embedqa-E5-v5 and searched against ChromaDB (top-5 per query, deduplicated). Stage 3: Nemotron reasons over retrieved chunks with extended thinking enabled — the reasoning trace streams to the frontend in real time via SSE. Stage 4: Structured synthesis with the answer, discovered cross-domain connections between notes, and an auto-generated markdown note with backlinks that saves directly into the vault.
The frontend streams status updates through each phase (expanding, searching, retrieving, reasoning, answering, connecting) with a collapsible thinking panel, source cards with relevance scores, and a knowledge graph visualization.