tmxujin/draft
OpenDraft - Open Source AI Research Draft Generator
   
Generate research drafts with citations verified against 200M+ academic papers. OpenDraft is a free, open-source Python engine for thesis-level research drafts.
<p align="center"> <a href="https://opendraft.xyz/waitlist"><strong>Try Hosted Version (Coming Soon) →</strong></a> </p>
What is OpenDraft?
OpenDraft is a Python-based AI engine that generates thesis-level research drafts. Unlike ChatGPT, it uses 19 specialized AI agents working together and verifies every citation against real academic databases.
- Best for: Researchers drafting literature reviews, research papers, and academic documents
- Price: 100% free and open source (MIT license)
- Setup time: 10 minutes
Why OpenDraft Exists
We built OpenDraft after repeatedly encountering AI writing tools that produced confident-sounding research drafts with hallucinated or unverifiable citations.
Academic research requires trust, sources, and accountability.
OpenDraft explores a different approach: instead of a single general-purpose model, it uses multiple specialized agents, each responsible for a specific step in the research drafting process, grounded in real academic literature.
We open-sourced OpenDraft so researchers can inspect, critique, and improve how these systems actually work.
What OpenDraft is NOT
OpenDraft is intentionally not designed for:
- One-click generation of final papers
- Cheating on assignments
- Inventing citations or bypassing peer review
- Replacing human researchers
It is a research assistance and drafting tool, not an autonomous author.
OpenDraft vs ChatGPT
Bottom line: If you need an AI for academic writing with real citations, OpenDraft is a free, open-source alternative to ChatGPT.
How It Works
OpenDraft uses 19 specialized AI agents that work like a research team:
📚 RESEARCH PHASE → Finds relevant papers from 200M+ sources
🏗️ STRUCTURE PHASE → Creates thesis outline with chapters
✍️ WRITING PHASE → Drafts each section with academic tone
🔍 CITATION PHASE → Verifies every source exists (CrossRef, arXiv)
✨ POLISH PHASE → Refines language and formatting
📄 EXPORT PHASE → Generates PDF, Word, or LaTeXResult: A complete research draft in 10-20 minutes instead of weeks.
Features
AI That Doesn't Make Up Citations
Every citation is verified against CrossRef, Semantic Scholar, and arXiv. If a paper doesn't exist, it's not included.
Write Any Type of Academic Paper
- Research papers (5-10 pages)
- Bachelor's thesis (30-50 pages)
- Master's thesis (50-80 pages)
- PhD dissertation (100+ pages)
57+ Languages Supported
English, Spanish, German, French, Chinese, Japanese, Korean, Arabic, Portuguese, Italian, Dutch, Polish, Russian, and 40+ more.
Export to Any Format
- PDF - LaTeX-quality formatting
- Microsoft Word (.docx)
- LaTeX source - for journals
100% Free and Open Source
MIT license. Self-host with your own API keys. No subscriptions, no paywalls, no limits.
Quick Start
Prerequisites
- Python 3.10+
- A free Gemini API key
1. Clone & Install
git clone https://github.com/federicodeponte/opendraft.git
cd opendraft
pip install -r requirements.txt2. Configure
Create a .env file with your API key:
GOOGLE_API_KEY=your-gemini-api-key3. Generate a Draft
from engine.draft_generator import DraftGenerator
generator = DraftGenerator()
draft = generator.generate(
topic="The Impact of AI on Academic Research",
paper_type="master", # research_paper, bachelor, master, phd
language="en"
)
# Export to different formats
draft.to_pdf("thesis.pdf")
draft.to_docx("thesis.docx")
draft.to_latex("thesis.tex")See engine/README.md for detailed API documentation.
Which AI Model Should I Use?
Recommendation: Start with Gemini 3 Flash for most use cases. Use Gemini 3 Pro or Claude Sonnet 4.5 for important papers.
Example Output
See what OpenDraft produces:
📄 [Download Sample PDF](https://opendraft.xyz/examples/Why_Academic_Thesis_AI_Saves_The_World.pdf) (60 pages, 18k words, 40+ citations)
📝 [Download Sample Word](https://opendraft.xyz/examples/Why_Academic_Thesis_AI_Saves_The_World.docx)
Generated in ~15 minutes with verified citations from real academic papers.
Project Structure
opendraft/
├── engine/
│ ├── draft_generator.py # Main 19-agent pipeline
│ ├── config.py # Model & API settings
│ ├── prompts/ # Agent instruction templates
│ ├── utils/ # Citations, export, helpers
│ └── opendraft/ # Core agent modules
├── examples/ # Sample thesis outputs
├── requirements.txt # Python dependencies
└── README.mdFAQ
Is this really free?
Yes. OpenDraft is 100% open source under the MIT license. Self-host with your own API keys. A typical thesis draft costs ~$0.35-$3 depending on the model.
Is this better than ChatGPT for academic writing?
For research drafts, yes. ChatGPT often hallucinates citations. OpenDraft verifies every citation against CrossRef, Semantic Scholar, and arXiv.
Can I use this for my university thesis?
OpenDraft generates research drafts—starting points you should review, edit, and build upon. Always:
- Verify all sources yourself
- Add your own analysis and insights
- Check your institution's AI policy
How is this different from other AI writing tools?
Most AI tools use a single model. OpenDraft uses 19 specialized agents—one for research, one for citations, one for structure, etc. This produces higher quality output.
Can I use this commercially?
Yes. MIT license allows commercial use. Build products, offer services, modify the code—no restrictions.
Alternatives Comparison (2025)
OpenDraft is a free, open-source research draft generator with verified citations.
Tech Stack
- Engine: Python 3.10+, multi-agent orchestration
- Models: Google Gemini 3, Anthropic Claude 4.5, OpenAI GPT-5
- Citations: CrossRef API, Semantic Scholar API, arXiv API
- Export: WeasyPrint (PDF), python-docx (Word)
Contributing
Contributions welcome!
Ideas:
- Add new AI model support
- Improve citation accuracy
- Add export formats
- Translate prompts
Links
- 🌐 Website: opendraft.xyz
- 📝 Hosted Version: Join Waitlist
- 💬 Discussions: GitHub Discussions
- 🐛 Issues: Report Bug
- 📜 License: MIT
Summary
OpenDraft is a free, open-source Python engine for generating academic research drafts. It uses 19 specialized AI agents to create drafts with citations verified against real databases (CrossRef, Semantic Scholar, arXiv).
Keywords: AI thesis writer, AI research paper generator, ChatGPT alternative, free thesis generator, open source AI writing, multi-agent AI, verified citations, Python thesis generator, academic writing 2025
<p align="center"> <b>If OpenDraft helps your research, please star the repo!</b><br><br> <a href="https://github.com/federicodeponte/opendraft">⭐ Star on GitHub</a> </p>
