Skip to content

πŸŽ“ Open-source AI thesis writer with 19 specialized agents. Generate 20k+ word research drafts in 10 minutes. FREE (Gemini). Verified citations from 200M+ papers. Export PDF/Word/LaTeX. MIT licensed.

License

Notifications You must be signed in to change notification settings

scailetech/opendraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OpenDraft - Open Source AI Research Draft Generator

MIT License Python 3.10+ Open Source GitHub stars

Generate research drafts with citations verified against 200M+ academic papers. OpenDraft is a free, open-source Python engine for thesis-level research drafts.

Try Hosted Version (Coming Soon) β†’


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

Question ChatGPT OpenDraft
Does it hallucinate citations? Yes (often) Verified against real databases
Can it write 20,000+ words? No (hits limits) Yes
Does it search real papers? No Yes (200M+ papers)
Thesis structure? Generic Academic chapters & sections
Export to PDF/Word? No Yes
Free? Limited 100% free (self-host)
Open source? No Yes (MIT license)

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 LaTeX

Result: 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

1. Clone & Install

git clone https://github.com/federicodeponte/opendraft.git
cd opendraft
pip install -r requirements.txt

2. Configure

Create a .env file with your API key:

GOOGLE_API_KEY=your-gemini-api-key

3. 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?

Model Speed Quality Cost/Draft Best For
Gemini 3 Flash ⚑ Fast Good ~$0.35 Most users
Gemini 3 Pro Medium Excellent ~$1.40 Important papers
GPT-5.2 Medium Excellent ~$1.60 OpenAI users
Claude Sonnet 4.5 Medium Excellent ~$1.80 Nuanced writing
Claude Opus 4.5 Slow Best ~$3.00 Maximum quality

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 (60 pages, 18k words, 40+ citations)

πŸ“ Download Sample Word

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

FAQ

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)

Tool Price Open Source Verified Citations Long Documents
OpenDraft Free βœ… Yes βœ… Yes βœ… Yes
ChatGPT Plus $20/mo ❌ No ❌ No ❌ No
Jasper $49/mo ❌ No ❌ No βœ… Yes
Jenni AI $20/mo ❌ No ⚠️ Partial βœ… Yes

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


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


If OpenDraft helps your research, please star the repo!

⭐ Star on GitHub

About

πŸŽ“ Open-source AI thesis writer with 19 specialized agents. Generate 20k+ word research drafts in 10 minutes. FREE (Gemini). Verified citations from 200M+ papers. Export PDF/Word/LaTeX. MIT licensed.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •