Model or dataset
PaperDebugger/paperdebugger avatar
PaperDebugger/paperdebugger

PaperDebugger says it never modifies your Overleaf project, two features after promising not to

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

1,556 stars75 forksTypeScriptAGPL-3.0

At a glance

What is it?
A Chrome extension that holds a conversation with your LaTeX document over a Go backend, wrapped in a multi-agent pitch for research, critique, and revision. What the repository actually shows is narrower: a closed-source orchestration engine, one binary instead of microservices, and a build that tags three images and publishes two.
Who is it for?
Read the extension as a review assistant with an orchestration story attached, and check the two claims that carry weight before you point a real manuscript at it. First, what the insert and comment features write into the project, since the page promises read-only access and describes two write paths, and nothing on the page shows a diff or an undo.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository last received commits 143 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • PaperDebugger/paperdebugger1,556 ★ · +20
Star history
Repository2026-09-112026-11-22
PaperDebugger/paperdebugger1.5k1.6k

20 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The read-only promise sits two lines above one-click insertion

The feature list opens with a promise and then adds two features that cut into it. The promise is that PaperDebugger never modifies your project and only reads and provides suggestions. The lines after it describe instant insert as one-click insertion of AI responses into your project, and the comment system as automatically generating and inserting comments into your project. Read together, the read-only claim holds for the chat and fails for the two actions that write into the document. The distinction the page draws is timing: a suggestion sits in the panel until a click, and the click is what changes the file. Nothing in that sentence says where an insert lands, whether a comment attaches to a line or a selection, or whether either can be undone, and no permission prompt, diff view, or dry run appears anywhere on the page. For a workflow that depends on knowing exactly what a tool touched, that is the first gap to close.

The orchestration engine is marked closed source in the environment template

The headline capability is multi-agent orchestration through XtraMCP, and its documentation is linked from inside a demo directory, at demo/xtramcp/readme.md. The environment template is where its status is stated. The third line of .env.example carries an empty URI and a comment.

bash
OPENAI_API_KEY=dummy-key
PD_MONGO_URI="mongodb://localhost:27017"
XTRAMCP_URI="" # currently closed-source; Pending release upon stable version

So the layer that turns one prompt into a research, critique, and revision sequence is not in this repository and has no published release to point at. What is left for a self-hoster is a backend that reaches the OpenAI API and a MongoDB instance, with the orchestration URI blank. The demo directory holds an analytics folder, a pics folder, and its own readme, so what is visible of the engine is documentation and images rather than code. That matters for the second question anyone self-hosting will ask, which is where the extension sends a request, because the answer is a host the repository cannot show.

Two major versions of the same OpenAI client in one go.mod

The Go module requires both generations of the OpenAI client at the same time.

go
	github.com/openai/openai-go/v2 v2.7.1
	github.com/openai/openai-go/v3 v3.12.0

Both are direct requirements rather than indirect ones, and because the major version is part of the module path, the two cannot substitute for each other and both trees ship in every build. Carrying v2 next to v3 usually means part of the code still calls the older client, which is the kind of leftover that a dependency review would catch first. The rest of the direct list matches the stated stack: gin for HTTP, grpc and the grpc gateway for the API surface, the Mongo driver, golang-jwt, google wire, uuid, samber/lo, godotenv, charmbracelet log, and testify. The module path itself is plain paperdebugger with no domain in front of it, which is the shape of a module meant to be built inside a larger tree rather than imported from elsewhere, and the Makefile agrees by defining its monorepo root as the parent directory.

The image target writes three tags and the push target sends two

The build and publish targets disagree with each other about what ships.

make
.PHONY: image
image:
	docker build \
	  --build-arg BUILDKIT_INLINE_CACHE=1 \
	  --progress=plain \
	  --file Dockerfile \
	  --pull \
	  --tag $(PAPERDEBUGGER_TAG) \
	  --tag $(PAPERDEBUGGER_BRANCH) \
	  --tag $(PAPERDEBUGGER_LATEST) \
	  .

.PHONY: push
push:
	docker push $(PAPERDEBUGGER_TAG)
	docker push $(PAPERDEBUGGER_LATEST)

The image target tags the build three ways, and the push target publishes two of them, so the branch tag stays in the local image store and never leaves the machine that built it. All three names point at a repository called sharelatex-paperdebugger, an older product name that survives in the image reference while the extension, the module, and the pages are all called PaperDebugger. The revision component comes from git rev-parse HEAD truncated to six characters, so the tag is reproducible for a given commit. Everything the default target does is image followed by push, which means a plain make run builds all three tags and sends two of them.

Microservices in the overview, one binary in the image

The architecture overview describes microservices with Protocol Buffers, a Go 1.24 or newer backend, Gin for HTTP and gRPC for the API, MongoDB for storage, the OpenAI API for models, and JWT authentication with OAuth support. The container build produces something smaller than that sentence implies.

dockerfile
FROM golang:bookworm

WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN go build -o dist/pd.exe cmd/main.go

EXPOSE 6060
CMD ["./dist/pd.exe"]

One executable, built from one file, named with a Windows extension on a Debian base and run as the container's only process. There is no compose file at the root, and deployment is left to a helm-chart directory. A service split can certainly live inside one binary, so the two statements are not strictly in conflict, but nothing on display names the services or the ports each would take. Port 6060 appears exactly once in the files on show, in the Dockerfile, so a self-hoster learns the port from the image build rather than from the documentation.

Code generation deletes both generated trees before rebuilding them

Generating code is one target, and it opens by deleting what it is about to replace.

make
.PHONY: gen
gen:
	buf build
	rm -rf pkg/gen
	buf generate --template buf.gen.yaml
	rm -rf webapp/_webapp/src/pkg/gen
	buf generate --template buf.webapp.gen.yaml
	wire gen ./internal

Two buf templates sit at the root, one for the Go side and one named for the webapp, and each generation run removes its own output directory first, so a failed run leaves the tree with no generated code at all rather than with stale code. The last step runs google wire, which rewrites constructor wiring under internal. Three other targets descend into a directory the root listing does not show, webapp/_webapp, where npm install, the formatter, and the linter all run, and the name marks that frontend as a package root of its own. The deps target mixes both ecosystems in one list, installing `delve`, `golangci-lint`, four protoc plugins, `buf`, and `wire`, each pinned to its latest tag rather than a version, so a fresh checkout resolves whatever those tools published that day.

Five clicks on the version number open the self-hosted path

A self-hosted backend is reached through a hidden route. Open the extension, go to Settings, click the version number five times to enable Developer Tools, type the backend URL into the Backend Endpoint field, then refresh the page. When the endpoint is wrong, the recovery route is the Advanced Options block at the bottom of the login page. Authentication is restricted in a way that only matters for this case: Login by Overleaf works only when you are self-hosting the backend. The values behind it are the three lines quoted earlier, where the database address points at localhost and the model key is the placeholder dummy-key. What a self-hoster supplies is therefore a MongoDB instance, an OpenAI key, and eventually the orchestration engine. Nothing on the page explains how the frontend bundle decides which backend to call, so the endpoint field and the refresh step are the entire contract, and there is no documented way to run two backends at once.

Six months of commits sit past the newest published tag

The distribution channel is the Chrome Web Store, and the release record behind it is thin. The newest tag is v2.12.28 from 2026-01-12. The one before it, v2.9.8, is titled Open Source Release and dates from 2025-08-27. The last commit on the default branch is dated 2026-07-03, which leaves about six months of work on the branch with no release cut from it, so what the store serves and what a reader of the branch sees are not the same code. The Community section asks for patience while the team works on long-term reliability and hopes to iron out issues this month, which fits a branch that moved after the tag rather than a tag that moved with the branch. The project also cites itself as an arXiv preprint, 2512.02589, with five authors and a 2025 date, and the repository carries an AGPL-3.0 license file at the root with 16 issues open.

Editorial conclusion

Read the extension as a review assistant with an orchestration story attached, and check the two claims that carry weight before you point a real manuscript at it. First, what the insert and comment features write into the project, since the page promises read-only access and describes two write paths, and nothing on the page shows a diff or an undo. Second, whether you can run the orchestration layer yourself, because the only configuration file in the repository marks it closed source and pending a release. If you self-host, expect to supply MongoDB, an OpenAI key, and a backend the extension reaches only after you click the version number five times. If you do not, remember that the newest published tag is six months behind the branch you would be reading.

Frequently asked questions

How does PaperDebugger connect to an Overleaf project?

It ships as a Chrome extension. Install it from the Web Store, open any Overleaf project, click the PaperDebugger icon at the top left, and start chatting with the LaTeX document. Login by Overleaf is available only when you self-host the backend.

Can PaperDebugger change the files in my Overleaf project?

The page states that it never modifies your project and only reads, while two of its features write: one-click insertion of AI responses, and automatic generation and insertion of comments. Suggestions stay in the panel until you click.

What does a self-hosted PaperDebugger backend need configured?

Three values in .env.example: an OpenAI API key, a MongoDB URI pointing at localhost, and XTRAMCP_URI, which is left empty and commented as currently closed source with a release pending a stable version.

What does XtraMCP do in PaperDebugger?

It is the custom MCP-based orchestration engine behind literature-grounded research, conference-style review, citation verification, and domain-specific revision passes, with the workflow described as research, then critique, then revision. Its documentation sits at demo/xtramcp/readme.md.

How is the PaperDebugger backend built and run?

Go 1.24 or newer with Gin over HTTP and gRPC for the API, MongoDB, the OpenAI API, Protocol Buffers, and JWT authentication with OAuth support. The container build produces one binary from cmd/main.go on a golang:bookworm base and exposes port 6060.

Official sources

  1. License: AGPL-3.0
  2. PaperDebugger/paperdebugger on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/paperdebugger-paperdebugger.svg)](https://hysenlabs.com/projects/paperdebugger-paperdebugger)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/paperdebugger-paperdebugger.svg)](https://hysenlabs.com/projects/paperdebugger-paperdebugger)

Was this useful?