mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 05:08:12 +00:00
- Replace S101 assert guards with explicit if/raise RuntimeError in benchmark.py and cli.py (3 locations) - Fix test_create_llm_from_env_with_unaccepted_attributes to use DEFAULT_LLM_MODEL with clear=True so the assertion isn't brittle against the hardcoded model name - Add n_iterations loop to _test_new_agents (was unused, now mirrors _train_new_agents iteration pattern) - Consolidate dotenv loading in cli.py and agent_tui.py to use the existing load_env_vars() from utils.py instead of duplicating logic Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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]