DEV Community

Cover image for Open-Source Book Creator with Multi-Agent AI
Fernando Guerra
Fernando Guerra

Posted on

Open-Source Book Creator with Multi-Agent AI

I'm excited to share ** 📝 LibriScribe**, an open-source book creation system I've developed that demonstrates the power of multiple specialized AI agents working together.
You can just install it with python and the system will guide you to write a complete book in a few minutes :)


The Power of Multi-Agent Architecture

Image description

Rather than using a single AI model to handle all aspects of book creation, LibriScribe orchestrates specialized agents:

  • ConceptGeneratorAgent: Develops and refines your initial idea
  • OutlinerAgent: Structures your book with chapters and scenes
  • CharacterGeneratorAgent: Creates detailed character profiles
  • WorldbuildingAgent: Builds rich, consistent settings and lore
  • ChapterWriterAgent: Writes scene-by-scene content
  • EditorAgent: Refines and improves the writing
  • ContentReviewerAgent: Checks for plot holes and inconsistencies
  • StyleEditorAgent: Polishes the writing style
  • FormattingAgent: Prepares the final manuscript

Versatile for Multiple Book Types

It works for:

  • Fiction (novels, short stories)
  • Non-fiction
  • Business books
  • Research papers

Technical Implementation

The system is built in Python with a modular and custom agent architecture. Each agent is a class that inherits from a base Agent class and implements an execute method. The system uses a unified LLM client that supports multiple AI providers (OpenAI, Claude, Google AI, DeepSeek, and Mistral).

Try It Out

There's several functions:

Image description

GitHub: https://github.com/guerra2fernando/libriscribe

Feedback and contributions are very welcome! Leave a star if you like it :)

Top comments (0)