mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-25 08:45:09 +00:00
The OpenAI provider raised a bare "OPENAI_API_KEY is required", which misdirects CrewAI AMP users who configured an org-wide LLM Connection. The error now explains the remediation (set the OPENAI_API_KEY environment variable or pass api_key to LLM()) and clarifies that org-wide LLM Connections do not apply to code-first AMP deployments, which read keys from deployment environment variables. Co-Authored-By: Claude Fable 5 <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]