
The Ultimate Framework for Building AI Teams ๐ยค
CrewMaster v2.0.0 is a framework-agnostic Python library for building, orchestrating, and evaluating type-safe multi-agent systems. It lets you define Operations, wire them into DAGs, and execute them with structured, streaming output โ all without being locked into a single LLM framework.
Autonomous agents + developer ergonomicsยค
CrewMaster is designed for developers who want to:
- Define Operations โ typed, recursive units of work with declarative produces/consumes.
- Configure Agents with identity prompts, default tool scopes, and context projections โ no framework coupling.
- Build ExecutionPlans โ DAGs resolved automatically from Operation trees, with dependency ordering and runtime assignments.
- Share Tools across agents via a
ToolRegistrywith semantic retrieval at runtime (request_capability). - Write prompts using Jinja2 blocks (
blocks://) stored in aBlockStore, composed and rendered by thePromptEngine. - Execute operations synchronously with
execute()or stream withexecute_stream(), yielding typed events. - Evaluate agent outputs with snapshots, datasets, criteria, and
evaluation reports built on the same
Operationprimitives.
Why Choose CrewMaster?ยค
-
Framework-Agnostic: Pluggable runtime drivers โ
PydanticAIDriverandLangChainDriverout of the box. Bring your own by implementing theRuntimeDriverprotocol. -
Type-Safe by Design: Every Operation declares what it
producesandconsumes. Pydantic models enforce contracts between nodes.mypyand IDE autocompletion work everywhere. -
DAG-Based Execution: Multi-node pipelines with typed data flow. Topological ordering, retry with
secure_retry_execution, and progressive tool disclosure viarequest_capability. -
Collaboration Primitives: Built-in protocols for debate, consensus, supervisor, blackboard, and GrillMe โ compose multi-agent reasoning without boilerplate.
-
Conversation Abstractions:
dialogue()for human-agent interaction with structured clarification, andchannel_dispatch()for ordered multi-agent chat with history accumulation. -
Built for Production: Evaluation framework with snapshots and datasets, streaming with SSE, and a sandbox UI for interactive testing. Designed for CI/CD integration from day one.