mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-06 01:32:36 +00:00
- New lib/crewai-core/ package: version, paths, constants, lock_store, user_data,
printer, telemetry. Pure leaf — depends only on appdirs/portalocker/rich/otel.
- crewai now depends on crewai-core; old crewai.utilities.{version,paths,printer,
lock_store} and the user-data block of events/listeners/tracing/utils.py become
one-shot DeprecationWarning shims that re-export from crewai_core.
- crewai-cli drops its hard dep on crewai and depends only on crewai-core. CLI
imports for telemetry/version/printer/constants now point at crewai_core.
- tools/main.py lazy-imports project_utils + get_user_id; the publish/login
subcommands print a friendly "requires crewai" error if it's missing.
- crewai-cli is now genuinely standalone: 'crewai --help', 'version', 'login',
'config', 'traces', 'create', 'template' all work without crewai installed.
- 351 CLI tests + 9 crewai-core smoke tests + crewai's full mypy (471 files) clean.
27 lines
814 B
Markdown
27 lines
814 B
Markdown
# crewai-cli
|
|
|
|
CLI for CrewAI — scaffold, run, deploy and manage AI agent crews without
|
|
installing the full framework.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
pip install crewai[cli]
|
|
```
|