Dev builds local 'librarian' plugin to stop AI agents trashing repos like raccoons
Deep_Bus_7488 · reddit · 2026-09-10
A developer built baoersignalgrep, a local search plugin for AI agents, after watching them hunt through large repos with dozens of irrelevant matches and abandoned half-searches. Key ideas:
- Small searches return the passage directly with file path and location, so the agent doesn't open every folder.
- Broad searches start with a compact map of relevant files and snippets before dumping text, separating "where should I look?" from "what's the answer?".
- Follow-ups keep their bookmark: results retain a cursor, retained matches, and snapshot relationship so multi-step investigations continue instead of restarting.
- Hybrid mode handles imperfectly remembered wording: exact matches rank first, semantic candidates are clearly labeled, similarity-ranked, and deduplicated — a lead, not proof.
The author notes it's his own project and is seeking feedback from people working with large repos, logs, and local AI tools.
More from coding & agent
- Codex CLI 0.154.0 Ships GPT-6-Astra, Experimental Worktree Isolation — TheMoonMidas · 2026-09-10
- Codex Tip: A Cost-Efficient Luna + Sol Agent Tree Orchestrated by Astra — TheMoonMidas · 2026-09-10
- Developer Rebuilds Broken MRI Software With GPT Astra, Adds Blender 3D Rendering — TheMoonMidas · 2026-09-10
- Open-source Dream Loop skill one-shots 3D scenes on a $20 ChatGPT Plus plan, 80% cheaper — tristanbob · 2026-09-10
- Running 3 parallel vibecad instances tripled one engineer's design iteration speed — IanPritchard · 2026-09-10
- 2026 Survey of Agents opens for responses to map the evolving agent ecosystem — AlexGDimakis · 2026-09-10