crewAI  by crewAIInc

Framework for autonomous AI agent orchestration via role-playing and collaboration

created 1 year ago
35,066 stars

Top 0.9% on sourcepulse

GitHubView on GitHub
Project Summary

CrewAI is a Python framework for orchestrating autonomous AI agents, designed for both simplicity and granular control. It empowers developers to build collaborative AI systems, tackling complex tasks through role-playing agents and event-driven workflows, making it suitable for both simple automations and enterprise-grade solutions.

How It Works

CrewAI offers two core concepts: "Crews" for autonomous agent collaboration and "Flows" for precise, event-driven control. Crews enable teams of agents with defined roles and goals to work together dynamically. Flows provide fine-grained control over execution paths, state management, and conditional logic. The framework is built from scratch, independent of other agent frameworks like LangChain, emphasizing speed, flexibility, and low-level customization.

Quick Start & Requirements

  • Install via pip: pip install crewai or pip install 'crewai[tools]' for additional tools.
  • Requires Python >=3.10 <3.13.
  • Environment variables for LLM API keys (e.g., OPENAI_API_KEY) and tool API keys (e.g., SERPER_API_KEY) are necessary.
  • Project setup can be initiated with crewai create crew <project_name>.
  • Official Documentation: https://docs.crewai.com/
  • Examples: CrewAI-examples repo

Highlighted Details

  • Standalone and lean framework, independent of LangChain.
  • Combines autonomous "Crews" with precise "Flows" for flexible orchestration.
  • Offers deep customization from high-level workflows to low-level agent prompts.
  • Claims significant performance advantages over LangGraph (up to 5.76x faster in certain QA tasks).
  • Supports integration with local AI models (e.g., via Ollama).

Maintenance & Community

  • Backed by a community of over 100,000 certified developers.
  • Community forum: https://community.crewai.com
  • Enterprise Suite available with features like tracing, observability, and dedicated support.

Licensing & Compatibility

  • Released under the MIT License.
  • Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

  • Telemetry is enabled by default for usage data collection, though sensitive data is excluded unless share_crew is explicitly enabled.
  • While flexible, complex orchestrations might require careful management of agent interactions and state.
Health Check
Last commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
106
Issues (30d)
52
Star History
4,528 stars in the last 90 days

Explore Similar Projects

Starred by Zhiqiang Xie Zhiqiang Xie(Author of SGLang), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
6 more.

swarm by openai

0.3%
20k
Multi-agent orchestration framework for lightweight agent coordination
created 1 year ago
updated 4 months ago
Feedback? Help us improve.