CrewAI Flashcards

🧠 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.