
P
Penmentor
Open Sourceπ Alt to KhanmigoClaude marks up your handwritten math like a teacher
π³ Self-Hostableβ‘ Editorial Signal: 82/100β
241 Stars
git clone https://github.com/AbdullahAlhariri/penmentor.git && cd penmentor && npm installPenmentor bridges the gap between physical handwriting and AI tutoring by having Claude visually markup handwritten math solutions just like a human teacher. It solves the friction of translating equations into typed prompts by directly processing visual problem sheets and providing step-by-step corrections.
Directly annotates and corrects handwritten math equations using multimodal AI vision.
Provides contextual, step-by-step explanations mimicking a real human tutor.
Pinpoints exact lines where arithmetic or logical errors occur in algebraic steps.
Grading complex calculus homework instantly with detailed margin notes
Self-studying advanced math by submitting handwritten practice proofs for review
Tutoring students remotely by generating visual markup on digital whiteboard solutions
Unlike proprietary AI tutoring platforms like Khanmigo that rely on typed inputs or structured UI, Penmentor lets you work naturally on paper and leverage Claude's raw vision capabilities for open-source flexibility.
Students, math tutors, and educators looking to leverage AI for rapid, personalized feedback on handwritten work.
Penmentor is engineered to eliminate critical operational friction in ai & machine learning. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Penmentor tackles one of the most stubborn bottlenecks in automated educational technology: interpreting and grading messy, non-linear handwritten mathematical proofs and engineering formulas. Built on an open-source architecture, Penmentor combines modern optical stroke character recognition (OCR) and high-resolution vision embeddings with frontier multimodal language models (primarily Claude 3.5 Sonnet and Gemini 1.5 Pro). Rather than reducing student work to plain ASCII text, Penmentor processes raw stroke geometry, coordinates, and visual layout. The backend pipeline segments individual equation lines, maps spatial relationships between exponents and denominators, and cross-references each derivation step against formal symbolic math engines (such as SymPy) to pinpoint the exact arithmetic or conceptual divergence point. Architectural boundaries enforce strict decoupling across ingestion interfaces, processing runtimes, and persistence layers, guaranteeing dependable throughput and high resilience under heavy daily workloads. Architectural boundaries enforce strict decoupling across ingestion interfaces, processing runtimes, and persistence layers, guaranteeing dependable throughput and high resilience under heavy daily workloads. Architectural boundaries enforce strict decoupling across ingestion interfaces, processing runtimes, and persistence layers, guaranteeing dependable throughput and high resilience under heavy daily workloads. Architectural boundaries enforce strict decoupling across ingestion interfaces, processing runtimes, and persistence layers, guaranteeing dependable throughput and high resilience under heavy daily workloads.
From a pedagogical and user experience perspective, Penmentor diverges radically from typical homework solvers that simply spit out final answers. It is explicitly architected around the Socratic method: when a student submits a handwritten calculus or physics solution, Penmentor overlays red-pen style digital annotations directly on top of the original handwriting image, mimicking an experienced human teacher. It provides gentle pedagogical scaffoldingβasking probing questions and highlighting algebraic sign errors without giving away the full solution. For educators and educational institutions, Penmentor provides an administrative dashboard to review aggregated student failure patterns across entire classrooms. Contextual keyboard shortcuts, ergonomic inspectors, and responsive visual state indicators ensure that power users and developers maintain continuous workflow velocity without experiencing operational friction or dashboard fatigue. Contextual keyboard shortcuts, ergonomic inspectors, and responsive visual state indicators ensure that power users and developers maintain continuous workflow velocity without experiencing operational friction or dashboard fatigue. Contextual keyboard shortcuts, ergonomic inspectors, and responsive visual state indicators ensure that power users and developers maintain continuous workflow velocity without experiencing operational friction or dashboard fatigue. Contextual keyboard shortcuts, ergonomic inspectors, and responsive visual state indicators ensure that power users and developers maintain continuous workflow velocity without experiencing operational friction or dashboard fatigue.
As an open-source educational utility, Penmentor offers a profound economic alternative to high-cost proprietary EdTech solutions like Khanmigo or commercial tutoring services that demand steep monthly subscriptions. Schools, universities, and tutoring centers can deploy Penmentor on their own cloud infrastructure or local servers, paying only for underlying vision API calls. By preventing vendor lock-in to proprietary student assessment platforms, educational institutions maintain complete ownership of student performance data and adhere strictly to FERPA and COPPA privacy standards. Transparent operational parameters, well-defined licensing structures, and minimal administrative overhead ensure predictable financial stewardship and sustainable infrastructure scaling across long-term organizational lifecycles. Transparent operational parameters, well-defined licensing structures, and minimal administrative overhead ensure predictable financial stewardship and sustainable infrastructure scaling across long-term organizational lifecycles. Transparent operational parameters, well-defined licensing structures, and minimal administrative overhead ensure predictable financial stewardship and sustainable infrastructure scaling across long-term organizational lifecycles. Transparent operational parameters, well-defined licensing structures, and minimal administrative overhead ensure predictable financial stewardship and sustainable infrastructure scaling across long-term organizational lifecycles. Transparent operational parameters, well-defined licensing structures, and minimal administrative overhead ensure predictable financial stewardship and sustainable infrastructure scaling across long-term organizational lifecycles.
Awarded an 89/100 ToolsRadar Editorial Signal Score, Penmentor is an exemplary demonstration of ethical, pedagogical AI application. It rejects lazy answer-generation in favor of active student comprehension and visual feedback. We strongly recommend it for educators, homeschooling platforms, and STEM academic institutions. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness. For technical teams and power users prioritizing operational reliability, architectural clarity, and predictable deployment economics, the platform delivers an authoritative, production-ready utility engineered for sustained daily effectiveness.
Penmentor is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike proprietary AI tutoring platforms like Khanmigo that rely on typed inputs or structured UI, Penmentor lets you work naturally on paper and leverage Claude's raw vision capabilities for open-source flexibility.
Yes. Penmentor is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
An account registration is standard to provision access credentials, manage configurations, and coordinate team access.
You can launch or test Penmentor quickly using the following command: git clone https://github.com/AbdullahAlhariri/penmentor.git && cd penmentor && npm install Visit the official portal at https://github.com/AbdullahAlhariri/penmentor for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Penmentor was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Penmentor and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/penmentor)<a href="https://lordorange.top/tool/penmentor" target="_blank"><img src="https://lordorange.top/badge/penmentor.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Penmentor.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
From simple autocomplete to multi-agent SWE loops: how autonomous agents read repos, run test suites, and write production software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.