DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to have an agent apply reviewer feedback to the TeX source with PairTeX

Send feedback files to a coding agent that edits canonical TeX, rebuilds, and reports decisions.

Short answer: Confirm the open entries exist in /path/to/paper/.pairtex/feedback/; then send the consume-feedback prompt to your coding agent; wait for the agent to report the source diff, build result, render path, and feedback decisions. All steps.

  • Research
  • Intermediate
  • 45 minutes
  • From the README
  • Any agent

Who it is forA paper author who has finished reviewing in the HTML view and wants the agent to act on each entry.

The problemTurning a list of comments into correct source edits is slow, and it is easy to lose track of which items were addressed.

The outcomeThe agent changes only canonical source, rebuilds the paper, regenerates the HTML, resolves only the addressed items, and leaves the rest open with thread replies.

What you need first

  • Python 3 installed to run pairtex.py (standard library only)
  • A local LaTeX project in a Git repository
  • A rendered HTML file of the manuscript, produced by the default make4ht renderer or an adapter
  • A coding agent of your choice to consume the feedback files

Steps

  1. Confirm the open entries exist in /path/to/paper/.pairtex/feedback/.
  2. Send the consume-feedback prompt to your coding agent.
  3. Wait for the agent to report the source diff, build result, render path, and feedback decisions.
  4. Click Refresh in the PairTeX page to reload the latest HTML and feedback files.

Prompt for your agent

Read and follow skills/pairtex-agent/SKILL.md in the PairTeX repo. Consume the open feedback in <paper-path>/.pairtex/feedback/, apply changes only to canonical TeX source, rebuild, and regenerate the HTML projection. Report the source diff, build result, and which entries were resolved, and verify that any unresolved entry has a thread reply.

Caveat. The agent is expected to resolve only feedback it has actually addressed, so a human still has to check the source diff and the feedback decisions before committing.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for yuema137/PairTeX and "Have an agent apply reviewer feedback to the TeX source"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer