Monogram
One share action to capture, organize, and search personal knowledge
Built with Python · EmbeddingGemma · ONNX Runtime · BM25 / RRF · Git Tree API
WHY
Useful ideas from news, social media, arXiv, YouTube, and reports were becoming scattered across apps and bookmarks, then disappearing when I needed them again. I wanted one share action to capture any source, preserve why it mattered, organize it automatically, and make it searchable later. The goal was a personal knowledge system that both I and my agents could reuse.
Orchestrator, classifier, extractor, verifier, writer
Related notes and assets written atomically
The same knowledge can be reused as agent context
HOW
From an unstructured input to a searchable, versioned note
The system separates understanding from writing, then uses Git as both the storage transaction and recovery boundary.
- 01 Capture
Accept Telegram, MCP, Obsidian, or document inputs through the same ingestion boundary.
- 02 Structure and verify
Classify the input, extract fields, and verify the proposed note before writing.
- 03 Atomic storage
Create or update all files with one Git Tree commit so partial writes cannot split the knowledge item.
- 04 Hybrid retrieval
Combine sharded semantic search and BM25 through RRF, with optional graph expansion, MMR, and reranking.
RESULT
Contribution
- Designed the five-stage capture pipeline, atomic Git Tree writer, sharded semantic index, hybrid retrieval path, MCP surface, and recovery controls.
- Added SSRF defense, secret redaction, cassette evaluation, backup, and a kill switch around automatic capture and retrieval.