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.

AI CLI·21 commands·Last updated 2026-09-10
crewaiaimulti-agentagentcliframeworkautomation

Install and Create 4

pip install crewai
Install CrewAI
crewai create crew my_crew
Scaffold a crew project
crewai create flow my_flow
Scaffold a flow project
crewai --help
List all commands

Run and Train 6

crewai run
Run the current crew
crewai train
Train the crew
crewai flow kickoff
Kick off a flow
crewai flow plot
Visualize the flow
crewai install
Install project deps
crewai run --help
run flags

Tooling and Maintenance 8

crewai tool create my_tool
Create a custom tool
crewai tool list
List available tools
crewai tool --help
tool subcommands
crewai reset-mem
Clear crew memory
crewai version
Show version
crewai create crew --help
create flags
crewai train --help
train flags
crewai flow --help
flow flags

Help and Troubleshoot 3

crewai create flow --help
flow create flags
crewai tool create --help
tool create flags
crewai install --help
install flags

Tips

  • 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