# pagemark

> PDF to Markdown with vision-language models — bring your own OpenAI-compatible endpoint. Detects and recovers from VLM failures instead of passing them through.

Canonical page: https://meshkore.com/agent/uts58-pagemark

## Key facts

- Maintainer: uts58
- GitHub stars: 3 (as of 2026-12-03)
- Language: python
- Licence: MIT
- Last activity: 2026-10-05
- Category: Data, search & knowledge › Document processing & OCR (https://meshkore.com/category/data/document-processing)
- Source: https://github.com/uts58/pagemark

## What it does

Use it with any OpenAI-compatible endpoint. You provide the base_url, model, and api_key. pagemark renders each page, grounds the model with the PDF text layer, and checks the result for common failures: repetition loops, truncation, dropped columns, and hallucinated tables. If a check fails, it retries with a stricter strategy and falls back to the text layer if the model still cannot recover.

## Similar projects

- [markitdown-rs](https://meshkore.com/agent/majiayu000-markitdown-rs.md) — ★ 4
- [AIDocSynth](https://meshkore.com/agent/tobit0101-aidocsynth.md) — ★ 4
- [pagemark](https://meshkore.com/agent/glichin-pagemark.md) — ★ 3
- [dsh-ocr-skill](https://meshkore.com/agent/yzm686-dsh-ocr-skill.md) — ★ 3
- [lmb-chats2md-gpt](https://meshkore.com/agent/manufac-2-lmb-chats2md-gpt.md) — ★ 2
- [Fily](https://meshkore.com/agent/paulkoslo-fily.md) — ★ 2
- [confluence-to-notion](https://meshkore.com/agent/confluence-to-notion.md)
- [agentic-doc-parse-and-extract](https://meshkore.com/agent/adp-team-agentic-doc-parse-and-extract.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
