Files
crewAI/lib/cli
João MouraandClaude Opus 5.5 ab423144c1 docs: correct deploy and platform-tool guidance in the project AGENTS.md (#8084)
* docs: correct deploy and platform-tool guidance in the project AGENTS.md

The AGENTS.md that `crewai create` ships told coding agents that
`crewai deploy remove <id>` works (the CLI only takes `-u <uuid>`), that a
deploy needs a GitHub repository (with no origin it uploads a ZIP), that
PLATFORM_APPS is the source of truth for action selectors (some of its
action names resolve to no tool), and to measure quality with
`crewai test`. Its router example also declared no labels, so
`crewai flow plot` could not draw the branches.

- Template: platform token, selector syntax, `apps:` YAML example and
  selector check; router labels; deploy prerequisites, `-y`, `.env`
  upload, org commands, `project_id`; best practice points at
  `crewai eval` inside the eval markers.
- Docs: quickstart deploy prerequisite and `remove -u`, and router
  labels in concepts/flows, in en, ar, ko and pt-BR.
- Tests parse every documented deploy/org command against the real CLI,
  run the routing example through the plot builder, and check the best
  practices stay numbered without gaps for crew and tool projects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: base the quickstart ZIP-deploy note on any git origin

The CLI deploys from git whenever an `origin` exists, GitHub or not, and
uploads a ZIP only when there is none. The quickstart said "GitHub
origin ... without one", which reads as if a non-GitHub origin takes the
ZIP path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:22:59 +00:00
..

crewai-cli

CLI for CrewAI — scaffold, run, deploy and manage AI agent crews without installing the full framework.

Installation

pip install crewai-cli

This pulls in crewai-core (shared utilities) but not the crewai framework itself, so commands that don't need a crew loaded — crewai version, crewai login, crewai org list, crewai config *, crewai traces *, crewai create, crewai template * — work standalone.

Commands that load a user's crew or flow (crewai run, crewai train, crewai test, crewai chat, crewai replay, crewai reset-memories, crewai deploy push, crewai tool publish) require crewai to be installed in the project's environment. They print a clear error if it is missing.

To install both at once:

pip install crewai[cli]