Document AI
Messy documents in. Clean, cited data out.
A document-intelligence platform I built independently. VLM extraction, chat with page-cited answers, claim verification and contradiction detection.
- ~30
- pages / sec
- ~99%
- extraction accuracy
- ~20 s
- 10-page doc, end to end
- 1,000
- concurrent users, load-tested
What it does
You upload documents. HussleBook pulls structured data out of them with a vision-language model, and then you can work with that data:
- Chat with page-cited answers. Every answer points to the page it came from.
- Semantic search across all your documents.
- Deep Trace, which checks a claim against the source material.
- Confidence scores and contradiction detection across documents.
How it’s built
I built it independently, from the extraction pipeline to billing.
- API: FastAPI with WebSockets for live progress.
- Data: PostgreSQL with row-level security, and Qdrant with per-user vector isolation.
- Files: Cloudflare R2.
- Models: Gemini API for VLM extraction.
- Auth and billing: Google OAuth (PKCE) and credit-based billing.
- Ops: Sentry.
The scheduler
Document processing runs on a hierarchical weighted fair-queueing scheduler I wrote. It gives each customer tier its own share of capacity, so one heavy user can’t starve everyone else.
Numbers
About 30 pages per second, about 99% extraction accuracy, and about 20 seconds end to end for a 10-page document. Load-tested at 1,000 concurrent users.