Agent Spec Adapters - CrewAI#

Agent Spec adapter for CrewAI

↑ With the Agent Spec adapter for CrewAI, you can easily import agents from external frameworks using Agent Spec and run them with CrewAI.#

CrewAI enables the design of collaborative AI agents and workflows, incorporating guardrails, memory, and observability for production-ready multi-agent systems.

Get started#

To get started, set up your Python environment (Python 3.10 to 3.13 required), and then install the PyAgentSpec package with the CrewAI extension.

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install "pyagentspec[crewai]"

You are now ready to use the adapter:

  • Run Agent Spec configurations with CrewAI (see more details below)

  • Convert CrewAI agents to Agent Spec (see more details below)

Usage Examples#

You are now ready to use the adapter to: