Observed since 20 Oct, 22:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Safe local document-to-markdown preprocessing for OpenClaw, Claude Code, Codex, Hermes, and other agents.
Safe local document-to-markdown preprocessing for agents.
Built for OpenClaw first, but intentionally usable from Claude Code, Codex, Hermes Agent, and anything else that can run a local CLI or Python package.
agent-markitdown wraps Microsoft's excellent markitdown with an agent-oriented safety and workflow layer:
convert_local() onlyRaw file uploads are awkward for agent workflows.
For supported document types, agents usually work better when they receive clean markdown instead of a binary attachment or a heavyweight vision/PDF pass.
That means:
markitdown convert()This package does not magically patch every agent runtime on earth.
It gives you a safe preprocessing layer plus integration assets. Each host agent still needs a tiny adapter or instruction layer telling it to run agent-markitdown before review.
OpenClaw gets a ready-made skill. Other agents get drop-in snippets.
uv venv .venv
uv pip install --python .venv/bin/python .
# or with test/dev dependencies
uv pip install --python .venv/bin/python '.[dev]'
Or from PyPI later:
pip install agent-markitdown
agent-markitdown convert ./report.pdf
agent-markitdown convert ./report.docx --json
JSON output includes a warnings array. It is empty for ordinary text extraction, and it calls out cases where the markdown should not be treated as complete, such as very low extracted text or image inputs that may need OCR/vision review.
agent-markitdown convert ./report.pdf ./notes.docx --sidecar
agent-markitdown review-pack ./report.pdf ./notes.docx -o review-pack.md
agent-markitdown doctor
.pdf.docx.pptx.xlsx.xls.html, .htm.csv, .tsv.json, .xml.txt, .md, .rtf.epub.jpg, .jpeg, .png, .gif, .bmp, .tif, .tiff, .webpSee integrations/openclaw/SKILL.md.
That skill tells OpenClaw to preprocess supported uploaded documents into markdown before deeper review/summarization work.
Install the OpenClaw skill into a workspace:
./scripts/install-openclaw-skill.sh
integrations/claude-code/AGENTS.mdintegrations/codex/AGENTS.mdintegrations/hermes-agent/SKILL.mdFor copyable host-side patterns, see:
examples/review-pack-consumers/ for a generic review-pack handoffexamples/auto-preprocess-adapters/ for profile-specific prompt adapters that can sit in front of agent CLIsThis package intentionally avoids the broadest markitdown surfaces.
convert()If you're handling untrusted uploads in a server context, keep validating paths and storing uploads in a controlled temp area. This package narrows the blast radius; it does not replace sane host hygiene.
v* tagsPYPI_API_TOKEN repo secret exists, orPYPI_TRUSTED_PUBLISHING=true repo variable is set and PyPI trusted publishing is configuredSee docs/publishing.md and docs/release-checklist.md.
This project depends on and is inspired by Microsoft's markitdown, which is MIT licensed.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 20 Jun 2026 | 4 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d41c15a1a92a553aeb684db5ae65df52e8e4fcd41b665115e14f5db780fb463f