CrewAI CLI Cheatsheet - crewai Multi-agent Framework Full Reference
CrewAI is a Python framework for multi-agent collaboration, and crewai is its CLI: scaffolding, run, train, flow workflows, and custom tool management. It suits orchestrating roles (researcher, writer, reviewer) into a pipeline. This sheet covers create, run, and tooling so you can stand up a collaborative agent team.
Install and Create 4
pip install crewaicrewai create crew my_crewcrewai create flow my_flowcrewai --helpRun and Train 6
crewai runcrewai traincrewai flow kickoffcrewai flow plotcrewai installcrewai run --helpTooling and Maintenance 8
crewai tool create my_toolcrewai tool listcrewai tool --helpcrewai reset-memcrewai versioncrewai create crew --helpcrewai train --helpcrewai flow --helpHelp and Troubleshoot 3
crewai create flow --helpcrewai tool create --helpcrewai install --helpTips
- crewai create crew generates a runnable scaffold; edit agents and tasks before run.
- flow is lighter than crew and more deterministic; use flow for simple pipelines.
- reset-mem helps when behavior is odd, clearing stale memory interference.
FAQ
How is CrewAI different from LangGraph?
CrewAI centers on role-based multi-agent collaboration with clear conventions; LangGraph orchestrates arbitrary state machines via graphs, more flexible but more boilerplate.
Must I write Python?
Core agents and tasks are defined in Python, but the crewai CLI handles most engineering tasks like create, run, and train.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Sep 10, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us