Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽญ Shakespeare AI - AI-Powered Book Creation & Automated Developmental Editing

Shakespeare AI Logo

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.


๐ŸŽฏ What is Shakespeare AI?

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.

Key Features

โœจ 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.)


๐Ÿš€ Quick Start

# 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

๐Ÿ’ก How It Works

1. Write Your Book

> Create a new project
> Define characters, world, and plot
> Generate chapters automatically

2. Analyze with Professional Tools

> Export to AutoCrit, ProWritingAid, or Marlowe
> Get professional editorial feedback

3. Automated Developmental Editing

> 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!)

4. Creative Control

Director Mode commands:

> Make M a man
> Make Sarah 10 years older  
> Fix pronouns for Bond
> The heist should fail in Chapter 5

๐ŸŽฌ Director Agent

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)

๐Ÿ“Š Report Analyzer

Analyzes editorial reports from any tool

Supported Formats:

  • PDF (with chart/graph analysis)
  • DOCX (with embedded image analysis)
  • RTF, TXT, MD

Workflow:

  1. Export reports from AutoCrit/ProWritingAid/Marlowe
  2. Place in project/Autocrit/ folder
  3. Run: analyze reports in Autocrit
  4. 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

๐Ÿ—๏ธ Architecture

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

๐Ÿ“ฆ Installation

Prerequisites

  • Python 3.13+
  • Google AI Studio API key (free tier available)

Required Dependencies

pip install -r requirements.txt

Optional (for full document support)

# DOCX with images
pip install python-docx Pillow

# PDF support
pip install PyPDF2 pdf2image

# Better RTF parsing
pip install striprtf

Poppler (Windows - for PDF image analysis)

  1. Download: Poppler Windows
  2. Extract to C:\poppler
  3. Add to PATH: C:\poppler\Library\bin

๐ŸŽฏ Use Cases

Fiction Writers

  • Generate complete novels from outline
  • Maintain character consistency
  • Automated developmental editing
  • Professional-grade quality control

Non-Fiction Authors

  • Structure complex topics
  • Consistent terminology
  • Research integration
  • Citation management

Content Creators

  • Rapid prototyping
  • A/B testing different approaches
  • Style consistency
  • Automated editing

๐Ÿ”ฎ Roadmap

v2.3 โœ… (Current Release - Dec 2025)

  • 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

v2.4 (Next Release)

  • Execute Action Plan (auto-apply recommendations)
  • Refine Action Plan (iterative feedback)
  • Preview mode (show changes before applying)
  • CLI commands for preset management

v2.5

  • Plot modification commands
  • Worldbuilding changes
  • Tone/style adjustments
  • Undo/redo capability

v3.0

  • EditScribe integration
  • Multi-user collaboration
  • Version control
  • Quality metrics dashboard

๐Ÿ“Š Performance

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

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Areas for contribution:

  • New change handlers
  • Additional LLM providers
  • Document format support
  • Quality improvements
  • Documentation

๐Ÿ“ License

MIT License - see LICENSE for details


๐Ÿ™ Acknowledgments

  • Libriscribe - Original project by Fernando Guerra
  • Google AI Studio for Gemini API
  • OpenAI for GPT models
  • Anthropic for Claude
  • The open-source community

๐Ÿ“ž Support


โญ Star History

If you find Shakespeare AI useful, please star the repository!


Built with โค๏ธ by Robert Monroe

Shakespeare AI - Where AI meets the art of storytelling

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages