Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

4.0 KB
Raw Blame
[project]
name = "crewai"
dynamic = ["version"]
description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks."
readme = "README.md"
authors = [
    { name = "Joao Moura", email = "[email protected]" }
]
requires-python = ">=3.10, <3.14"
dependencies = [
    "crewai-core==1.15.28",
    "crewai-cli==1.15.28",
    # Core Dependencies
    "pydantic>=2.11.9,<2.13",
    "openai>=2.30.0,<3",
    # instructor>=1.16 drops OpenAI Mode.TOOLS; remove this cap after
    # InternalInstructor negotiates a supported mode via mode_registry.
    "instructor>=1.3.3,<1.16",
    # Text Processing
    "pdfplumber~=0.11.4",
    "regex~=2026.1.15",
    # Telemetry and Monitoring
    "opentelemetry-api>=1.45.1,<2",
    "opentelemetry-sdk>=1.45.1,<2",
    "opentelemetry-exporter-otlp-proto-http>=1.45.1,<2",
    # Data Handling
    "chromadb~=1.5.9",
    "tokenizers>=0.21,<1",
    "openpyxl~=3.1.5",
    # Authentication and Security
    "python-dotenv>=1.2.2,<2",
    "pyjwt>=2.15.0,<3",
    "oauthlib>=4.0.0,<5",
    # Configuration and Utils
    "click>=8.1.7,<9",
    "appdirs~=1.4.4",
    "jsonref~=1.1.0",
    "json-repair~=0.60.1",
    "cel-python>=0.5.0,<0.6",
    "tomli-w~=1.1.0",
    "tomli~=2.0.2",
    "json5~=0.10.0",
    "portalocker~=2.7.0",
    "pydantic-settings>=2.14.2,<3",
    "httpx~=0.28.1",
    "mcp>=1.30.0,<2",
    "aiosqlite~=0.21.0",
    "pyyaml~=6.0",
    "aiofiles~=24.1.0",
    "lancedb>=0.29.2,<0.30.1",
]

[project.urls]
Homepage = "https://crewai.com"
Documentation = "https://docs.crewai.com"
Repository = "https://github.com/crewAIInc/crewAI"


[project.optional-dependencies]
tools = [
    "crewai-tools==1.15.28",
]
embeddings = [
    "tiktoken>=0.8.0,<0.13"
]
pandas = [
    "pandas~=2.2.3",
]
openpyxl = [
    "openpyxl~=3.1.5",
]
mem0 = ["mem0ai>=2.0.0,<3"]
docling = [
    # <2.118.1 has GHSA-q43m-vhcp-mhvm (enable_local_fetch is not enforced in
    # HTML browser-rendering mode). 2.132.0 is the newest release outside the
    # 3-day supply-chain cutoff.
    "docling~=2.132.0",
    # docling 2.97 split into docling-slim; the chunker package (HierarchicalChunker)
    # now eagerly imports code-chunking submodules that need tree-sitter/semchunk,
    # which only the docling-core[chunking] extra provides.
    # docling-slim 2.132 requires docling-core>=2.98,<3. The root uv override
    # replaces that requirement, so the floor has to live here too.
    "docling-core[chunking]>=2.98.0,<3",
]
qdrant = [
    "qdrant-client[fastembed]~=1.14.3",
]
aws = [
    "boto3~=1.43.46",
    "aiobotocore~=3.8.0",
]
watson = [
    "ibm-watsonx-ai~=1.3.39",
]
voyageai = [
    "voyageai~=0.3.5",
]
litellm = [
    "litellm>=1.88.6,<2",
]
bedrock = [
    "boto3~=1.43.46",
    "aiobotocore~=3.8.0",
]
google-genai = [
    "google-genai~=1.65.0",
]
azure-ai-inference = [
    "azure-ai-inference~=1.0.0b9",
    "azure-identity>=1.17.0,<2",
]
anthropic = [
    "anthropic~=0.73.0",
]
a2a = [
     "a2a-sdk~=0.3.10",
     "httpx-auth~=0.23.1",
     "httpx-sse~=0.4.0",
     "aiocache[redis,memcached]~=0.12.3",
]
file-processing = [
    "crewai-files",
]
qdrant-edge = [
    "qdrant-edge-py>=0.6.0",
]


[tool.uv]
exclude-newer = "3 days"

# PyTorch index configuration, since torch 2.5.0 is not compatible with python 3.13
[[tool.uv.index]]
name = "pytorch-nightly"
url = "https://download.pytorch.org/whl/nightly/cpu"
explicit = true

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

[tool.uv.sources]
torch = [
  { index = "pytorch-nightly", marker = "python_version >= '3.13'" },
  { index = "pytorch", marker = "python_version < '3.13'" },
]
torchvision = [
  { index = "pytorch-nightly", marker = "python_version >= '3.13'" },
  { index = "pytorch", marker = "python_version < '3.13'" },
]
crewai-files = { workspace = true }


[project.scripts]
crewai = "crewai_cli.cli:crewai"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "src/crewai/__init__.py"