KB: Agent Prototypes & Multi-Agent Workflows
This module documents the prototype agents implemented in the EbookBuilder MCP server.
1. Research & Fact-Checker
- Function:
fact_check_text - Role: Validates claims and provides citations.
- Usage: Call this after generating a non-fiction chapter or a historically accurate scene.
2. Multi-Modal Illustrator
- Function:
generate_illustration_prompt - Role: Translates narrative descriptions into visual prompts for image generation.
- Usage: Automates the creation of internal book art and covers.
3. Audiobook (TTS) Synthesis
- Function:
synthesize_audiobook_chapter - Role: Queues text for conversion to speech using Parler-TTS or ElevenLabs.
- Usage: Used to create multi-format releases (Ebook + Audiobook).
4. Marketing & Metadata
- Function:
generate_marketing_package - Role: Creates sales blurbs, social media campaigns, and SEO tags.
- Usage: Call during the final "Publishing" phase.
5. Token & Cost Auditor
- Function:
audit_project_costs - Role: Monitors infrastructure spend and token consumption.
- Usage: Run at the end of each work session to track project budget.
6. Human-in-the-Loop Review
- Function:
request_human_review - Role: Creates a checkpoint that requires manual approval before proceeding.
- Usage: Critical for maintaining authorial quality control.