crewAI  by crewAIInc

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

Created 2 years ago
48,544 stars

Top 0.6% 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

1 day

Pull Requests (30d)
475
Issues (30d)
122
Star History
2,905 stars in the last 30 days

Explore Similar Projects

Starred by Gagan Bansal Gagan Bansal(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
1 more.

agent-framework by microsoft

6.8%
9k
AI agent and multi-agent workflow framework
Created 11 months ago
Updated 1 day ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.