Your second brain just got a search engine and an AI assistant.
✨ Features • 🏗 Architecture • 🚀 Getting Started • 📖 Usage • 🗺 Roadmap
OBSIZEN is an open-source Retrieval-Augmented Generation (RAG) system built specifically for Obsidian users.
Instead of manually digging through hundreds or thousands of notes, OBSIZEN turns your vault into an intelligent knowledge companion that can:
- 🔍 Search semantically across your notes
- 📄 Understand filenames and metadata
- 🧩 Combine multiple retrieval strategies
- 🎯 Rerank results for better answers
- 🤖 Generate grounded responses using LLMs
Think of it as:
ChatGPT for your Obsidian vault, except it actually knows your notes.
|
Combines:
|
Understands:
|
|
|
┌────────────────┐
│ Obsidian Vault │
└────────┬───────┘
│
▼
┌──────────────────┐
│ Markdown Loader │
└────────┬─────────┘
│
▼
┌───────────────────────────┐
│ Markdown Header Chunking │
└────────┬──────────────────┘
│
▼
┌───────────────────────────┐
│ Embedding Generation │
└────────┬──────────────────┘
│
▼
┌─────────────┐
│ ChromaDB │
└──────┬──────┘
│
▼
┌───────────────────────────────────┐
│ Hybrid Retrieval Engine │
│ Vector + BM25 + Filename Search │
└───────────────────────────────────┘
│
▼
┌────────────────────┐
│ Metadata Boosting │
└────────┬───────────┘
│
▼
┌─────────────────────┐
│ Source Deduplication│
└────────┬────────────┘
│
▼
┌─────────────────────┐
│ CrossEncoder Ranker │
└────────┬────────────┘
│
▼
┌─────────────────────┐
│ Context Builder │
└────────┬────────────┘
│
▼
┌──────────────────────────┐
│ DeepSeek via OpenRouter │
└───────────┬──────────────┘
│
▼
🌌 Grounded AI Answer
git clone https://github.com/sudeepmukul/obsizen.git
cd obsizenpip install -r requirements.txtCreate your environment file:
OPENROUTER_API_KEY=your_api_key
OBSIDIAN_VAULT_PATH=/path/to/your/vaultpython src/main.pyWhat are my YC ideas?
What did I learn about FastAPI?
Summarize my ML notes.
What projects am I procrastinating on?
OBSIZEN retrieves relevant notes, reranks the results, and generates a grounded answer directly from your vault.
LangChain
ChromaDB
SentenceTransformers
CrossEncoder
OpenRouter
Python
- Hybrid Retrieval
- Metadata Retrieval
- Incremental Indexing
- CrossEncoder Reranking
- Logging System
- Comprehensive Tests
- Better Error Handling
- FastAPI Backend
- React Web UI
- Local LLM Support
- Docker Deployment
- Obsidian Plugin
Contributions are welcome and greatly appreciated.
Fork
Clone
Create a Branch
Commit
Open a Pull Request If you have ideas, feature requests, or improvements, open an issue and let's build a better second brain together.
If OBSIZEN helped you organize your knowledge and think better:
🌟 Star the repository 🐛 Report bugs 💡 Suggest features 🤝 Contribute code
