How to Build a Document Intelligence Service With doc7
Traditional document converters extract text. They see a chart and output gibberish. They see a formula and lose the structure. They see a diagram and skip it entirely. This is why RAG systems fed with converted documents give terrible answers — the conversion loses 40-70% of the information.
doc7 launched in August 2026 and hit 1,100+ stars quickly. Built by magicrew, it takes a fundamentally different approach: instead of extracting characters, it uses a multimodal vision model to understand each page as a whole — reading charts, formulas, diagrams, tables, and even handwritten annotations, then outputting structured Markdown that preserves the meaning.
In a benchmark on two raster-only PDFs with 15 checkable visual facts, doc7 recovered 15 out of 15 facts. The same test with MarkItDown (Microsoft's document converter with OCR) scored 9 out of 15. Docling scored 3 out of 15. The difference is visual understanding versus text extraction.
What doc7 Does Differently
| Feature | doc7 | Traditional OCR (Tesseract, ABBYY) | Text Extraction (anydoc, MarkItDown) |
|---|---|---|---|
| Text | Yes | Yes | Yes |
| Tables | Preserved structure | Often broken | Preserved |
| Charts and graphs | Understands and describes | Skipped | Skipped |
| Mathematical formulas | Converts to LaTeX | Skipped or garbled | Skipped |
| Diagrams and flowcharts | Describes relationships | Skipped | Skipped |
| Scanned documents | Yes (visual understanding) | Yes (but error-prone) | Limited |
| Screenshots | Yes | Limited | No |
| Handwritten notes | Partial (model-dependent) | Poor | No |
| Requires OCR stack | No | Yes | No |
| Uses your own model | Yes (OpenAI-compatible) | N/A | N/A |
The key advantage: doc7 runs with your own local or remote multimodal model. You can use a free local model through Ollama or LM Studio, which means zero per-page cost. There is no per-page document-processing fee from doc7 itself.
Business Model: Academic and Research Document Processing
Researchers and students deal with PDFs constantly — papers, textbooks, theses, lab reports. These documents are full of charts, formulas, and diagrams that traditional tools cannot parse. Universities and research labs need searchable, AI-ready versions.
| Service | What You Deliver | Price | Target |
|---|---|---|---|
| Single paper conversion | One PDF to structured Markdown | $5-15 per paper | Individual researchers |
| Literature review processing | 50-100 papers converted and indexed | $200-800 | PhD students, research teams |
| Textbook digitization | Full textbook to searchable Markdown | $100-500 per book | Universities, online courses |
| Conference proceedings | 200+ papers batch processed | $500-2,000 | Conference organizers |
Your cost: $0 if using a local model. Your time: roughly 1-2 minutes per page (mostly automated). A 20-page paper takes 20-40 minutes to process. At $10 per paper, that is $15-30/hour.
Business Model: Legal Document Intelligence
Law firms have filing cabinets full of contracts, court filings, and case documents. These need to be searchable, comparable, and analyzable. Traditional digitization loses the structure of legal tables, redlines, and embedded exhibits.
| Service | What You Deliver | Price | Target |
|---|---|---|---|
| Contract digitization | Contract PDFs to structured Markdown | $50-200 per contract | Law firms, in-house legal |
| Case file processing | Full case file organized and searchable | $500-2,000 per case | Litigation teams |
| Due diligence document review | 100+ contracts analyzed for key terms | $1,000-5,000 | M&A teams, VCs |
| Compliance document management | Annual conversion + indexing | $200-800/month retainer | Compliance departments |
Legal documents are high-value (a single contract may be worth millions), so clients pay premium rates for accurate digitization. The key selling point: doc7 preserves tables, exhibits, and cross-references that text extraction loses.
Business Model: RAG Pipeline Builder
Every company wants an AI chatbot that knows their documents. The pipeline requires: document ingestion, conversion to clean text, embedding, and retrieval. doc7 handles the conversion step better than any other tool because it preserves visual information.
| Project Scope | Documents | Your Price | Delivery Time |
|---|---|---|---|
| Small (50-200 documents) | Internal policies, FAQs, manuals | $1,000-3,000 | 3-5 days |
| Medium (500-2,000 documents) | Research papers, reports, archives | $3,000-8,000 | 1-2 weeks |
| Large (5,000+ documents) | Full knowledge base migration | $8,000-25,000 | 2-4 weeks |
| Ongoing maintenance | Monthly new documents | $500-2,000/month | Continuous |
Your pipeline: doc7 converts documents to Markdown, OpenAI embeddings create vector representations, Pinecone or Weaviate stores them, and a chatbot retrieves and answers. The quality of the RAG system depends heavily on the conversion step — this is where you add value.
Business Model: Medical Record Processing
Healthcare providers need to digitize patient records, lab reports, and medical imaging reports. These documents contain charts, tables, and diagrams that are critical to patient care. Traditional OCR misses or mangles these elements.
| Document Type | Volume | Your Price | Notes |
|---|---|---|---|
| Patient intake forms | 100-500 per month | $200-600/month | HIPAA compliance required |
| Lab reports | 50-200 per month | $300-800/month | Charts and reference ranges |
| Medical imaging reports | 50-100 per month | $400-1,000/month | Diagrams and measurements |
| Clinical trial data | Project-based | $2,000-10,000/project | High accuracy required |
Medical document processing requires HIPAA compliance (in the US) or equivalent data protection regulations. Use doc7 with a local model so no data leaves the client's premises. This is a major selling point over cloud-based services.
Income Projections
These estimates assume you focus on one primary vertical and work 25-35 hours per week.
| Phase | Revenue Source | Monthly Income |
|---|---|---|
| Month 1-2 | First conversion projects | $500-2,000 |
| Month 3-4 | RAG pipeline projects + retainers | $2,000-6,000 |
| Month 5-6 | Specialized vertical (legal or medical) | $4,000-12,000 |
| Month 7+ | Multiple verticals + enterprise contracts | $8,000-25,000 |
What You Need to Get Started
| Requirement | Cost | Notes |
|---|---|---|
| doc7 | Free (MIT license) | The conversion tool |
| Multimodal model | Free (local via Ollama/LM Studio) or $0.01-0.05/page via API | qwen3.5-9b works well locally |
| Computer with GPU (optional) | Your existing laptop may work | Local models run on CPU, GPU is faster |
| No cloud required | — | Everything runs locally |
Total startup cost: $0 if using a free local model. This is one of the lowest-cost businesses to start.
Common Mistakes
Promising perfect accuracy. doc7 is significantly better than alternatives but not flawless. Complex diagrams with overlapping elements, very low-quality scans, and unusual formatting can still cause errors. Always offer a human review step for critical documents.
Competing on volume instead of quality. Do not try to be the cheapest document converter. You are selling visual understanding — the ability to preserve charts, formulas, and diagrams that competitors lose. Charge for that value, not per page.
Ignoring vertical specialization. General document conversion is a commodity. Legal document processing is worth 5-10x more per page because the stakes are higher. Medical document processing commands premium prices because of compliance requirements. Pick a vertical and become the expert.
Not demonstrating the difference. Show potential clients a side-by-side comparison: the same document processed by traditional OCR versus doc7. The visual difference is striking — tables preserved, charts described, formulas intact. This demonstration closes deals.
The document intelligence market is projected to reach $15 billion by 2028. The shift from text extraction to visual understanding is just beginning. doc7 gives you a tool that outperforms enterprise solutions costing $10,000+/month — for free, running on your own hardware. The businesses built around it now will define the standard for document intelligence services.