brettapps / knowledge /agents.md
Brettapps's picture
Upload folder using huggingface_hub
24ba1f5 verified
# KB: Agent Orchestration & Autonomy
In the EbookBuilder ecosystem, "Agents" are autonomous units of logic that collaborate to solve complex problems.
## Types of Agents
1. **Manager Agent**: Coordinates the high-level plan (The "Director").
2. **Worker Agents**: Specialize in narrow tasks like "Cover Design" or "Markdown Linting".
3. **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.