{"id":44640,"library":"crewai-cli","title":"CrewAI CLI","description":"Command-line interface for CrewAI, enabling scaffolding, running, deploying and managing AI agent crews. Current version 1.14.6, requires Python >=3.10, <3.14. Development is active with frequent releases.","status":"active","version":"1.14.6","language":"python","source_language":"en","source_url":"https://github.com/crewAIInc/crewAI","tags":["crewai","cli","ai-agents","orchestration","scaffolding"],"install":[{"cmd":"pip install crewai-cli","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core library needed to define and run crews; CLI is a companion.","package":"crewai","optional":false},{"reason":"Used for configuration validation.","package":"pydantic","optional":true}],"imports":[{"wrong":"from crewai import Crew","symbol":"Crew","correct":"from crewai_cli import Crew"},{"wrong":"from crewai import Agent","symbol":"Agent","correct":"from crewai_cli import Agent"},{"wrong":"from crewai import Task","symbol":"Task","correct":"from crewai_cli import Task"}],"quickstart":{"code":"import os\nfrom crewai import Crew, Agent, Task\n\nagent = Agent(\n    role='Researcher',\n    goal='Find information',\n    backstory='An expert researcher',\n    llm='gpt-4'\n)\ntask = Task(\n    description='Research AI trends',\n    agent=agent\n)\ncrew = Crew(\n    agents=[agent],\n    tasks=[task],\n    verbose=True\n)\nresult = crew.kickoff()\nprint(result)\n# For CLI commands, run: crewai create crew my_project","lang":"python","description":"Basic usage of CrewAI (core library) to create and run a crew. The CLI itself is used for project scaffolding and deployment via terminal commands."},"warnings":[{"fix":"Use 'from crewai import Crew, Agent, Task' instead of any import from 'crewai_cli'.","message":"crewai-cli is purely a CLI tool; all programmatic imports should come from the 'crewai' package. Importing from 'crewai_cli' will fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Call 'result = await crew.kickoff_async()' or use 'from crewai import Crew' and set 'crew.kickoff()' inside an async function.","message":"CrewAI v0.30+ changed the 'Crew.kickoff()' method to be async by default. If using synchronous code, it will raise a RuntimeError.","severity":"breaking","affected_versions":">=0.30.0"},{"fix":"Run 'crewai create crew my_project' to get the new structure. Manually migrate old projects by adding a 'src/' directory.","message":"The 'crewai create crew' command in CLI versions <1.12 used a different project structure. Newer versions require a 'src/' folder.","severity":"deprecated","affected_versions":">=1.12.0"}],"env_vars":null,"search_vec":"'1.14.6':20 '3.10':23 '3.14':24 'activ':27 'agent':16,35 'ai':15,34 'ai-ag':33 'cli':2,32 'command':4 'command-lin':3 'crew':17 'crewai':1,8,31 'current':18 'deploy':12 'develop':25 'enabl':9 'frequent':29 'interfac':6 'line':5 'manag':14 'orchestr':36 'python':22 'releas':30 'requir':21 'run':11 'scaffold':10,37 'version':19","created_at":"2026-06-07T12:51:07.678219+00:00","updated_at":"2026-06-07T12:51:07.678219+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'Crew' from 'crewai_cli' (/tmp/tmpsk48lp0c/venv/lib/python3.12/site-packages/crewai_cli/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/crewAIInc/crewAI","github":"https://github.com/crewAIInc/crewAI","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}