ai-book-writer  by adamwlarson

AutoGen agents for book creation

created 7 months ago
267 stars

Top 96.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a Python-based system leveraging AutoGen to automate the creation of entire books through a collaborative multi-agent approach. It's designed for researchers and developers experimenting with AI-driven content generation, aiming to produce structured, coherent narratives with consistent formatting and continuity.

How It Works

The system orchestrates specialized AI agents, including a Story Planner, World Builder, Memory Keeper, Writer, Editor, and Outline Creator. These agents collaborate to generate a book from an initial prompt. The architecture emphasizes structured chapter generation, maintaining story continuity, and automated world-building, with built-in validation and error handling for robust output.

Quick Start & Requirements

  • Install: Clone the repository, create a virtual environment, and install dependencies with pip install -r requirements.txt.
  • Prerequisites: Python 3.8+, AutoGen 0.2.0+.
  • Usage: Execute main.py or use the provided Python API for custom prompts and configurations.
  • Configuration: Modify config.py for LLM endpoints, agent parameters, and output settings.

Highlighted Details

  • Multi-agent collaborative writing system.
  • Structured chapter generation with consistent formatting.
  • Maintains story continuity and character development.
  • Automated world-building and setting management.

Maintenance & Community

The project welcomes contributions via pull requests. Further community engagement details (e.g., Discord/Slack) are not specified in the README.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

Requires significant computational resources, with generation time scaling with chapter count. The quality of the output is dependent on the underlying LLM, and manual review may be necessary for final polish.

Health Check
Last commit

4 months ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
1
Star History
44 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.