Sandbox
@PaperDebugger/paperdebugger

Overleaf paper review extension with multi-agent backend

PaperDebugger adds AI chat, comment insertion, and revision suggestions inside Overleaf. Its backend uses a custom MCP-based orchestration engine to run a Research → Critique → Revision workflow, and the extension can point to a self-hosted backend if needed.

1,534 stars72 forksTypeScriptUpdated 2mo ago
Who it's for

Builders who write and edit academic papers in Overleaf and want agent help inside the editor.

What it delivers

You can review and revise a paper with AI help without switching out of Overleaf.

What it does

In-editor chat

Lets you ask questions about the current Overleaf project from the extension.

One-click insertion

Lets you insert AI replies or suggested text back into the paper.

Comment generation

Creates comments that can be added to the project.

Prompt library

Includes prompt templates for different paper-writing tasks.

Multi-agent workflow

Uses the XtraMCP engine for literature-grounded research, critique, citation checks, and revision passes.

Self-hosted backend support

Lets you point the extension at a custom backend endpoint.

README

PaperDebugger

Chrome Web Store Users Chrome Web Store Version GitHub Release Build Status License

PaperDebugger is an AI-powered academic writing assistant that helps researchers debug and improve their research papers with intelligent suggestions and seamless Overleaf integration, without leaving the editor. It is powered by our custom MCP-based orchestration engine that simulates the full academic workflow Research → Critique → Revision.
This enables multi-step reasoning, reviewer-style critique, and structured revision passes beyond standard chat-based assistance.

Community

Our team is actively working to improve long-term reliability, hoping to iron out issues this month. Thank you for your patience.
Stay connected with the PaperDebugger community! Join our Discord or WeChat channels for updates, announcements, and support.

Table of Contents

Features

PaperDebugger never modifies your project, it only reads and provides suggestions.

  • 🤖 AI-Powered Chat: Intelligent conversations about your Overleaf project
  • ⚡ Instant Insert: One-click insertion of AI responses into your project
  • 💬 Comment System: Automatically generate and insert comments into your project
  • 📚 Prompt Library: Custom prompt templates for different use cases
  • 🔒 Privacy First: Your content stays secure - we only read, never modify
  • 🧠 Multi-Agent OrchestrationXtraMCP support for literature-grounded research, AI-Conference review, citation verification, and domain-specific revision

https://github.com/user-attachments/assets/6c20924d-1eb6-44d5-95b0-207bd08b718b

Quick Start

For Users

  1. Install the extension fron Chrome Web Store

  2. Ready to use

    • Open any Overleaf project
    • Click the PaperDebugger icon on the top-left
    • Begin chatting with your LaTeX document!

Custom Endpoint Configuration

If you want to use a self-hosted PaperDebugger backend, you can configure a custom endpoint. Here are the steps:

  1. Open the PaperDebugger extension

    (a.) Go to Settings, click the version number 5 times to enable "Developer Tools"

    (b.) Enter your backend URL in the "Backend Endpoint" field

  2. Refresh the page

    Note: you can only use "Login by Overleaf" if you are self-hosting the backend.

If you encounter endpoint errors after refresh, use the "Advanced Options" at the bottom of the login page to reconfigure.

Custom Endpoint Configuration

Architecture Overview

The PaperDebugger backend is built with modern technologies:

Stacks
  • Language: Go 1.24+
  • Framework: Gin (HTTP) + gRPC (API)
  • Database: MongoDB
  • AI Integration: OpenAI API
  • Architecture: Microservices with Protocol Buffers
  • Authentication: JWT-based with OAuth support

Self-Host Development Setup

Please refer to DEVELOPMENT.md.

Contributing

Please refer to CONTRIBUTING.md for branch structure, merge workflow, PR guidelines, and code quality requirements.

Citation

@misc{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},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2512.02589}, 
}

Files in the repo

Repository payload27 top-level entries
  • .claude
  • .github
  • .vscode
  • cmd
  • demo
  • docs
  • hack
  • helm-chart
  • internal
  • pkg
  • proto
  • webapp
  • .dockerignore
  • .env.example
  • .gitignore
  • buf.gen.yaml
  • buf.lock
  • buf.webapp.gen.yaml
  • buf.yaml
  • CONTRIBUTING.md
  • Dockerfile
  • go.mod
  • go.sum
  • LICENSE
  • Makefile
  • Makefile.old.full
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More other

HKUDS/
Vibe-Trading

"Vibe-Trading: Your Personal Trading Agent"

33k
tinyhumansai/
openhuman

OpenHuman is an open source personal AI for Mac, Windows and Linux — local-first memory, agent orchestration, and deep research.

40k

Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.

35k

AIPOCH Open-Science is an open-source, local-first, model-agnostic AI research workbench for macOS, Windows, and Linux, with scientific agents, Python/R notebooks, data connectors, and reproducible provenance.

4k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

82k