Skip to content

About

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

736 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

ScholarForm AI

MIT License PRs Welcome Contributor Covenant SLSA Level 3

Automated Academic Manuscript Formatting & Generation β€” Powered by Agentic AI

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.

🌟 Project Vision

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.

✨ Features

  • 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.

πŸ— Architecture

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
Loading

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.

πŸš€ Quick Start & Installation

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 -d

πŸ’» CLI

amf format input.docx --template IEEE --output output.pdf
amf analyze paper.pdf

πŸ”Œ API & AI Features

  • Forensic Auditor Agent: Verifies citations and checks equations.
  • Synthesis Agent: Merges structured data into fluid paragraphs.
  • Layout Agent: Maps structures into template directives.

βš™οΈ Configuration & Docker

Use the .env files to configure NVIDIA, Groq, Supabase keys. Docker Compose is provided for local and production deployment.

πŸ›  Development & Examples

Run the backend with uvicorn and frontend with npm run dev. See the examples/ directory for manuscript conversions.

❓ FAQ & Troubleshooting

  • How do I fix Docker issues? Ensure port 8000 (backend) and 3000 (frontend) are available.
  • API limits? Configurable via Redis rate limiter in .env.

πŸ›£ Roadmap

Version 2.0 plans include peer review simulations and CRDTs for collaborative editing.

πŸ“š Specifications & Documentation Architecture

The repository enforces a strict separation between binding technical contracts and human-facing guides:

πŸ’¬ Community, Contributing & Security

We welcome contributions from the community to help make ScholarForm AI the premier open-source tool for academic publishing.

Join our community on Discord to discuss features, get help, and collaborate!

βš–οΈ License

ScholarForm AI is released under the MIT License. See the LICENSE file for more details.

About

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages