anymd · diff
git:20260925.4d7adfd to git:20260925.c32b5b7
6 added, 8 removed. Audit C to C.
# anymd — PDF evidence for agents
## Install
```bash
- npm i -g @sylphx/anymd
- # or
- npx @sylphx/anymd
+ npx -y @sylphx/anymd setup # add it to the MCP clients on this machine
+ npm i -g @sylphx/anymd # or install the CLI
```
## Tools
| Tool | Job |
| --- | --- |
| `read_pdf` | Agent Document Twin (structure, tables, citations) |
| `search_pdf` | Literal search with page/bbox evidence |
| `pdf_evidence` | inspect / render / crop / OCR follow-ups |
- ## SDK
+ ## CLI
- ```ts
- import { Anymd } from '@sylphx/anymd/sdk'
- const anymd = Anymd.create()
- const result = await anymd.read({ path: '/abs/doc.pdf' })
+ ```bash
+ anymd /abs/doc.pdf > doc.md
+ anymd search "indemnification" contracts/
```
## Rules
- Local-first; no API key required for default path
- Missing native binary → fail closed
- Evidence on results (envelope v1); no `evidence_first` tool
- Do not install Prism for PDF routing