crewAI  by crewAIInc

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

Created 1 year ago
38,205 stars

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

20 hours ago

Responsiveness

1 day

Pull Requests (30d)
150
Issues (30d)
52
Star History
2,469 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), and
17 more.

marvin by PrefectHQ

0.2%
6k
Python framework for agentic AI workflows
Created 2 years ago
Updated 2 days ago
Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

0.9%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 10 months ago
Updated 2 days 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 7 months ago
Starred by Elvis Saravia Elvis Saravia(Founder of DAIR.AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
4 more.

activepieces by activepieces

0.9%
18k
Open-source Zapier alternative for AI workflow automation
Created 2 years ago
Updated 21 hours ago
Feedback? Help us improve.