Sparrow extracts structured JSON from invoices, statements, and forms using vision and text LLM pipelines you can run locally.
Overview
Sparrow targets enterprise document workflows with REST APIs for structured extraction, instruction processing, and multi-step agent orchestration. It turns scans and PDFs such as invoices, receipts, bank statements, tables, and forms into validated JSON tied to schemas you define.
Pipelines are pluggable. Sparrow Parse focuses on vision models, Sparrow Instructor handles text instructions, and Sparrow Agents chains steps with Prefect monitoring. Backends include MLX on Apple Silicon, vLLM, Ollama, Docker, Hugging Face, and a Mistral OCR cloud option behind the same API surface.
A web UI offers drag-and-drop uploads, live results, and optional dashboard analytics when paired with local Oracle Database 23ai Free. A due diligence agent example screens company documents against public registries and sanction lists.
Documentation covers CLI and API usage, performance tuning, hints for difficult layouts, and table extraction through dots.ocr with template mapping. Hosted try-online demos exist, but the stack is designed to run on your own hardware without mandatory external inference calls.
Key features
- REST structured extraction API
- Schema-validated JSON output
- Vision and text LLM pipelines
- Multi-agent Prefect workflows
- MLX vLLM and Ollama backends
- Multi-page PDF and image support
- Optional web UI and dashboard
- Due diligence screening agent
Use cases
- Invoice and receipt parsing
- Bank statement digitization
- Document screening workflows
- Financial table extraction
- Backend document automation