KB: Agent Orchestration & Autonomy
In the EbookBuilder ecosystem, "Agents" are autonomous units of logic that collaborate to solve complex problems.
Types of Agents
- Manager Agent: Coordinates the high-level plan (The "Director").
- Worker Agents: Specialize in narrow tasks like "Cover Design" or "Markdown Linting".
- Validation Agents: Verify the output of worker agents against a set of rubrics.
Orchestration Patterns
- Sequential: Agent A finishes, then Agent B starts (e.g., Draft -> Edit).
- Parallel: Multiple agents work on different chapters simultaneously.
- Hierarchical: A manager agent delegates sub-tasks to subordinate agents and aggregates the results.
MCP Integration
Agents communicate via the Model Context Protocol, allowing them to share tools and resources (like the Hugging Face Hub) seamlessly.