# Penmentor lets Claude, Gemini or GPT annotate handwritten math in xournal++

Digest AI · Agents & Tools · published 2026-10-17T00:00:00Z

Canonical: https://digestai.news/story/penmentor-lets-claude-gemini-or-gpt-annotate-handwritten-math-in-xourn

## Summary

Penmentor is an open‑source xournal++ plugin that lets users invoke Claude, Gemini or GPT with a single key press to mark up handwritten math. The AI draws coloured pens around mistakes, ticks correct steps, and offers hints instead of full answers. It can also generate a 3Blue1Brown‑style manim animation for selected expressions, letting users drag bounds or change values and watch Riemann sums converge.

The tool runs on the AI command‑line agent you already have subscribed to, and you choose the model in the Settings menu. Installation is a simple git clone of the GitHub repo (github.com/AbdullahAlhariri/penmentor) followed by binding the provided binary to a keyboard shortcut. It requires Linux with X11, rofi, slop, xdotool and PyQt6. Once set up, the AI feedback stays on the page while you continue writing, and pressing Esc clears the marks.

## Key points

- Penmentor integrates Claude, Gemini or GPT to mark up handwritten math in xournal++ with coloured hints.
- It can produce interactive 3Blue1Brown‑style manim animations for selected integrals or expressions.
- Installation involves cloning the GitHub repo and binding the script to a key on Linux with X11, rofi, slop, xdotool and PyQt6.

## Why it matters

Brings real‑time AI tutoring to handwritten math, lowering the barrier for interactive, personalized learning without leaving the note‑taking environment.

## Sources

1. [Show HN: Penmentor – Claude marks up your handwritten math like a teacher](https://github.com/AbdullahAlhariri/penmentor) (github.com, 2026-10-17, primary source)

## Cite

Digest AI, "Penmentor lets Claude, Gemini or GPT annotate handwritten math in xournal++", 17 October 2026, https://digestai.news/story/penmentor-lets-claude-gemini-or-gpt-annotate-handwritten-math-in-xourn

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/penmentor-lets-claude-gemini-or-gpt-annotate-handwritten-math-in-xourn.json
