π§ CrewAI Flashcards
π€ What is CrewAI?
CrewAI is a Python-based framework that enables multi-agent collaboration with structured roles, goals, and workflows.
π§βπΌ What is an Agent in CrewAI?
An Agent is a specialized entity with a role, goal, tools, and an underlying LLM model that performs tasks autonomously.
π§© What is a Crew?
A Crew is a group of agents working together on a shared task, with coordination and interaction handled by the CrewAI framework.
π§ What tools can Agents use?
Agents can access APIs, search tools, custom functions, or memory-enhanced logic chains to complete their tasks.
π§ Which LLMs does CrewAI support?
CrewAI supports OpenAI, Anthropic, Hugging Face, Ollama, Cohere, and other providers via LangChain or direct APIs.
π¦ What are CrewAI use cases?
Examples include autonomous research, collaborative report generation, planning assistants, and customer service bots.
βοΈ How to install CrewAI?
Use pip:
pip install crewai
. Ensure you have Python 3.10+ installed.π What is a Task in CrewAI?
A Task is an atomic unit of work assigned to an agent. You define the task prompt, expected output, and associated tools.
π What is the Agent loop?
Each agent runs a loop where it receives messages, processes the task, uses tools if needed, and returns output to the crew.
π Is CrewAI open-source?
Yes, itβs open-source and community-driven. You can contribute on GitHub under the MIT license.