PaperDebugger: A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editing

Junyi Hou, Andre Lin Huikai, Nuo Chen, Yiwei Gong, Bingsheng He
12/2/2025
cs.AIcs.SE

Official code: PaperDebugger/paperdebugger (1,519 stars, AGPL-3.0, last commit 2026-05-02).

Abstract

Large language models are increasingly embedded into academic writing workflows, yet existing assistants remain external to the editor, preventing deep interaction with document state, structure, and revision history. This separation makes it impossible to support agentic, context-aware operations directly within LaTeX editors such as Overleaf. We present PaperDebugger, an in-editor, multi-agent, and plugin-based academic writing assistant that brings LLM-driven reasoning directly into the writing environment. Enabling such in-editor interaction is technically non-trivial: it requires reliable bidirectional synchronization with the editor, fine-grained version control and patching, secure state management, multi-agent scheduling, and extensible communication with external tools. PaperDebugger addresses these challenges through a Chrome-approved extension, a Kubernetes-native orchestration layer, and a Model Context Protocol (MCP) toolchain that integrates literature search, reference lookup, document scoring, and revision pipelines. Our demo showcases a fully integrated workflow, including localized edits, structured reviews, parallel agent execution, and diff-based updates, encapsulated within a minimal-intrusion user interface (UI). Early aggregated analytics demonstrate active user engagement and validate the practicality of an editor-native, agentic writing assistant. More details about this demo and video could be found at https://github.com/PaperDebugger/PaperDebugger.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editing

1,51971Go, CSSApr 12, 20255 months agoAGPL-3.0
agentagentic-aiai-agentai-agents-frameworkchatgpt+9 more

Cite this paper

@article{hou2025paperdebugger,
  title  = {PaperDebugger: A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editing},
  author = {Junyi Hou and Andre Lin Huikai and Nuo Chen and Yiwei Gong and Bingsheng He},
  year   = {2025},
  eprint = {2512.02589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.02589v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.02589.svg)](https://codeofpaper.com/paper/2512.02589)

Discussion