What if you could talk to your second brain?
Mockingbird is a local-first AI assistant that lets you have natural conversations with your personal knowledge base. Built on a RAG (Retrieval-Augmented Generation) pipeline using LangChain, ChromaDB, and Ollama, it runs entirely on your machine — no cloud, no API keys, no data leaving your device. Currently supports Markdown files with intelligent chunking that preserves heading structure, metadata-aware retrieval that understands dates, filenames, and note types, and smart routing that distinguishes between personal and technical content. Planned support for PDFs, Word documents, and plain text files.
- Ensure
.env.jsoncontains a validVAULTpath andCHAT_MODEL. (See.env-example.json) - Start Ollama and pull required models (for example
nomic-embed-text(REQUIRED) and a chat model likeqwen2.5:3b). - Run:
python main.py- The app creates
chroma.dbon first run. - On later runs, it hashes markdown file content and only re-embeds files whose content changed.
- Unreadable files and embedding failures are logged and skipped instead of crashing the whole run.
- Pass
--watchto keep the index fresh in the background while you chat. - You can force rebuild at any time:
python main.py --reindexCurrently in the test branch. Work in progress.