PaperDebugger: A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editing
- Overleaf-native multi-agent LLM: structured review, segment-level rewrites, semantic retrieval; deterministic patch diffs provenance
- Adoption: 112 installs, 78 users, 23 MAU; 158 projects, 797 threads; 4.9/5 rating
Explained:
PaperDebugger brings LLM-powered writing, review, and research directly into the Overleaf editor. Instead of copying text into external tools, you trigger agent workflows in-place and get patch diffs you can apply with version provenance.
Under the hood, a layered architecture uses a Chrome extension to inject UI, SSE streaming and gRPC for real-time sync, and Kubernetes to scale agent pods. Agents range from lightweight editors (spelling/style) to multi-step workflows for critique, rewriting, scoring, and literature retrieval.
When you request a full-document review, the system decomposes the manuscript into segments, runs reviewer/enhancer agents in parallel, and merges results into deterministic before–after diffs with rationale. This keeps edits transparent, traceable, and easy to apply.
For research, a MCP-based researcher agent performs semantic search over arXiv and curated corpora, ranks relevant papers, and synthesizes comparisons. It can generate citation-ready summaries and suggest section enhancements without leaving the editor.
Telemetry shows sustained, iterative use: authors view diffs, copy suggestions, and insert patches repeatedly across sessions—evidence that fine-grained, provenance-preserving revision (not one-click rewrites) is the dominant interaction mode.
The key contribution is an editor-native, protocol-driven multi-agent framework that reduces context switching, structures review to match academic norms, and makes LLM edits auditable. It also sets an architectural template—via MCP extensibility and robust streaming/orchestration—for future collaborative, domain-adaptive writing support.