SurfSense: an open-source local NotebookLM with MCP agents and a prompt-caching lesson

FurtiveMirth · reddit · 2026-10-23

Maintainers of SurfSense (Apache-2.0), an open-source local NotebookLM-style desktop app, seek design feedback. It offers cited Q&A over documents plus an agent that writes Word/PDF/PPT/Excel files, running on llama.cpp, Docling, hybrid retrieval, and MCP-based tools with strict egress allowlisting.

Key lessons: llama.cpp's prompt cache breaks at the first changed token — moving per-segment podcast instructions after sources cut re-reads from 6,200 tokens to 230 per segment; and gating agent mode on technical limits (tool calling, 32K context) works better than benchmark allowlists.

Original post →

More from coding & agent

coding & agent channel →