Transform your ideas into polished manuscripts with AI-powered writing and professional-grade automated editing.
A fork of Libriscribe with enhanced presets and style systems.
Shakespeare AI is an intelligent book creation system that doesn't just generate textโit thinks like a professional editor. From initial concept to publication-ready manuscript, Shakespeare AI handles the entire creative and editorial workflow.
โจ Natural Language Creative Control - Tell the AI what you want in plain English
๐ Automated Report Analysis - Import reports from AutoCrit, ProWritingAid, Marlowe, etc.
๐ฌ Director Agent - Make creative changes across your entire project instantly
๐ Complete Consistency - All files (characters, outline, scenes, chapters) stay synchronized
๐๏ธ Vision Analysis - Analyzes charts and graphs from editorial reports
๐ Developmental Editing - Automated high-level structural improvements
๐จ Style Presets - 8 built-in writing styles (Spy Maker, Epic Romance, Sci-Fi Horror, etc.)
๐ Story Structures - 6 frameworks (Hero's Journey, Save the Cat, etc.)
# Install
git clone https://github.com/robertmonroe/shakespeare-ai.git
cd shakespeare-ai
pip install -r requirements.txt
# Configure
cp .env.example .env
# Add your GOOGLE_AI_STUDIO_API_KEY
# Run
python -m libriscribe start> Create a new project
> Define characters, world, and plot
> Generate chapters automatically
> Export to AutoCrit, ProWritingAid, or Marlowe
> Get professional editorial feedback
> Place reports in project/Autocrit/ folder
> Director Mode: "analyze reports in Autocrit"
> Review the generated action plan
> Director Mode: "execute the action plan" (coming soon!)
Director Mode commands:
> Make M a man
> Make Sarah 10 years older
> Fix pronouns for Bond
> The heist should fail in Chapter 5
Natural language interface for creative control
Instead of manually editing files, just tell the AI what you want:
> Make the villain more sympathetic
โ Updated characters.json
โ Updated outline.md
โ Rewrote chapters 3, 5, 7
โ Complete consistency maintained
Supported Commands:
- Character changes (gender, age, appearance, personality)
- Grammar corrections
- Pronoun fixing (context-aware)
- Report analysis
- Plot modifications (coming soon)
Analyzes editorial reports from any tool
Supported Formats:
- PDF (with chart/graph analysis)
- DOCX (with embedded image analysis)
- RTF, TXT, MD
Workflow:
- Export reports from AutoCrit/ProWritingAid/Marlowe
- Place in
project/Autocrit/folder - Run:
analyze reports in Autocrit - Get actionable editorial plan with:
- Major issues (high priority)
- Minor issues (medium priority)
- Strengths
- Recommended actions
Vision Analysis:
- Analyzes pacing charts
- Extracts data from dialogue balance graphs
- Interprets visual feedback
- Includes insights in action plan
Director Agent
โ
Intent Parser โ Impact Analyzer โ Change Handlers
โ
Autonomous Project-Wide Modifier
โ
Updates ALL Files (characters, outline, scenes, chapters)
Key Components:
- Director Agent - Natural language interface
- Autonomous Modifier - LLM-powered consistency engine
- Report Analyzer - Professional feedback integration
- Document Reader - Universal format support
- Vision Analysis - Chart/graph interpretation
- Python 3.13+
- Google AI Studio API key (free tier available)
pip install -r requirements.txt# DOCX with images
pip install python-docx Pillow
# PDF support
pip install PyPDF2 pdf2image
# Better RTF parsing
pip install striprtf- Download: Poppler Windows
- Extract to
C:\poppler - Add to PATH:
C:\poppler\Library\bin
- Generate complete novels from outline
- Maintain character consistency
- Automated developmental editing
- Professional-grade quality control
- Structure complex topics
- Consistent terminology
- Research integration
- Citation management
- Rapid prototyping
- A/B testing different approaches
- Style consistency
- Automated editing
- Style Presets System (Spy Maker, Epic Romance, etc.)
- Story Structure Frameworks (Hero's Journey, Save the Cat, etc.)
- Custom preset support
- Automatic style injection into prompts
- Execute Action Plan (auto-apply recommendations)
- Refine Action Plan (iterative feedback)
- Preview mode (show changes before applying)
- CLI commands for preset management
- Plot modification commands
- Worldbuilding changes
- Tone/style adjustments
- Undo/redo capability
- EditScribe integration
- Multi-user collaboration
- Version control
- Quality metrics dashboard
Typical Costs (Gemini 2.0 Flash):
- Write chapter: $0.05-$0.15
- Review & edit: $0.03-$0.08
- Analyze reports: $0.20-$0.50
- Full book (15 chapters): $2-$5
Speed:
- Chapter generation: 2-5 minutes
- Report analysis: 3-8 minutes
- Full book: 2-4 hours
We welcome contributions! See CONTRIBUTING.md for guidelines.
Areas for contribution:
- New change handlers
- Additional LLM providers
- Document format support
- Quality improvements
- Documentation
MIT License - see LICENSE for details
- Libriscribe - Original project by Fernando Guerra
- Google AI Studio for Gemini API
- OpenAI for GPT models
- Anthropic for Claude
- The open-source community
- Issues: GitHub Issues
- Discussions: GitHub Discussions
If you find Shakespeare AI useful, please star the repository!
Built with โค๏ธ by Robert Monroe
Shakespeare AI - Where AI meets the art of storytelling
