Upload a raw manuscript and instantly receive a publisher-ready document. Or use the AI Generator to author complete, rigorously cited research papers from scratch.
To eliminate formatting friction and repetitive manual labor in academic publishing, allowing researchers to focus entirely on scientific discovery. We aim to provide a robust, enterprise-grade open-source platform that leverages multi-agent AI architectures to automate manuscript formatting, reference resolution, and document synthesis.
- One-Click Formatter: Upload DOCX, PDF, LaTeX, Markdown, or HTML. Receive publisher-ready outputs in 17+ templates (IEEE, APA, Springer, Nature, etc.).
- Autonomous AI Generator: Agentic AI workflow constructs research documents from a prompt, supporting iterative outline approval and real-time streaming.
- Multi-Doc RAG Synthesis: Merge, synthesize, and cross-reference content from multiple source documents into a cohesive manuscript.
- Real-Time Split-Pane Editor: Live before/after diff editor powered by WebSockets/SSE.
- 3-Tier PDF Extraction: Bulletproof parsing via Vision API fallback β PyMuPDF+LLM enrichment β raw PyMuPDF.
- Enterprise Security: Built to SLSA Level 3 standards. Comprehensive rate limiting, RBAC, CSRF protection, and supply chain security.
flowchart TD
subgraph ClientTier [Client Tier]
UI["Next.js App Router UI"]
end
subgraph APITier [API & Middleware Tier]
Gateway["FastAPI Gateway"]
Redis["Redis (Celery, Rate Limit, Cache)"]
Supabase["Supabase (PostgreSQL, Auth, Storage, RLS)"]
Chroma["ChromaDB (RAG Vectors)"]
end
subgraph AsyncTier [Asynchronous Processing Tier]
Celery["Celery Workers"]
Extractors["GROBID, Docling, PaddleOCR"]
end
subgraph AITier [AI Models Tier]
NIM["NVIDIA NIM API"]
Groq["Groq API"]
Ollama["Local Ollama Fallback"]
end
UI -->|HTTP / WebSocket / SSE| Gateway
Gateway -->|Push Jobs| Redis
Redis -->|Consume Jobs| Celery
Gateway <-->|Auth / Data| Supabase
Celery <-->|Store Documents| Supabase
Celery <-->|Query Vectors| Chroma
Celery <-->|Parse PDFs| Extractors
Celery <-->|LLM Calls| NIM
Celery <-->|LLM Calls| Groq
Celery <-->|LLM Calls| Ollama
ScholarForm AI employs a decoupled, highly scalable architecture combining a Next.js App Router frontend with an asynchronous FastAPI backend, orchestrated via Celery and Redis.
Prerequisites: Docker, Node.js 20+, Python 3.12+
git clone https://github.com/rohitkumarnaidu/ScholarFormAI.git
cd ScholarFormAI
cp backend/.env.example backend/.env
cp frontend/.env.local.example frontend/.env.local
docker compose -f deploy/services/docker-compose.yml up -damf format input.docx --template IEEE --output output.pdf
amf analyze paper.pdf- Forensic Auditor Agent: Verifies citations and checks equations.
- Synthesis Agent: Merges structured data into fluid paragraphs.
- Layout Agent: Maps structures into template directives.
Use the .env files to configure NVIDIA, Groq, Supabase keys. Docker Compose is provided for local and production deployment.
Run the backend with uvicorn and frontend with npm run dev. See the examples/ directory for manuscript conversions.
- How do I fix Docker issues? Ensure port 8000 (backend) and 3000 (frontend) are available.
- API limits? Configurable via Redis rate limiter in
.env.
Version 2.0 plans include peer review simulations and CRDTs for collaborative editing.
The repository enforces a strict separation between binding technical contracts and human-facing guides:
We welcome contributions from the community to help make ScholarForm AI the premier open-source tool for academic publishing.
- Contributing Guidelines: Learn how to set up your environment, follow our standards, and submit pull requests.
- Governance Model: BDFL with Meritocratic Working Groups.
- Maintainers Roster: Active roles, domain areas, and review rotation.
- Code of Conduct: We are committed to fostering a welcoming and inclusive environment.
- Security Policy: Supported versions and responsible disclosure guidelines.
- Accessibility Statement: WCAG 2.1 AA compliance and automated test commands.
- Support: Response SLAs, channels, and office hours.
Join our community on Discord to discuss features, get help, and collaborate!
ScholarForm AI is released under the MIT License. See the LICENSE file for more details.