🤖 AI Summary
Existing academic writing assistants operate as external tools, lacking deep integration with LaTeX editors (e.g., Overleaf) regarding document state, structural semantics, and version history—resulting in limited context awareness and poor synchronization.
Method: We propose the first embedded multi-agent academic writing assistance system, built atop the Model Context Protocol (MCP) toolchain to enable plug-in integration of literature retrieval, citation localization, document scoring, and revision pipelines. A Chrome extension ensures bidirectional editor synchronization; Kubernetes-native orchestration enables fine-grained agent scheduling; and diff-driven updates, secure state management, and localized structured editing ensure robust operation.
Contribution/Results: The system delivers parallel agent execution and context-aware automation—writing and reviewing—within a minimally intrusive UI. Early user engagement is high, empirically validating both the technical feasibility and practical utility of editor-native intelligent assistance for scholarly authoring.
📝 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.