Skip to content

docs: add guide for using CrewAI without LiteLLM#5039

Merged
gvieira merged 1 commit intomainfrom
docs/litellm-removal-guide
Mar 24, 2026
Merged

docs: add guide for using CrewAI without LiteLLM#5039
gvieira merged 1 commit intomainfrom
docs/litellm-removal-guide

Conversation

@iris-clawd
Copy link
Contributor

Summary

This PR adds a new documentation page at docs/en/learn/litellm-removal-guide.mdx that explains how to use CrewAI exclusively with native provider integrations, without depending on LiteLLM.

Context

The litellm package was quarantined on PyPI due to a security/reliability incident. While resolved, many users want guidance on how to reduce their dependency surface. CrewAI already supports five providers natively (OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock) — this guide helps users understand and migrate to those native integrations.

What's included

  • Why remove LiteLLM — security posture, performance, simpler debugging
  • Native provider overview — which providers work without LiteLLM and how to install them
  • Detection guide — how to check if you're currently using LiteLLM (model prefixes, pip check, pyproject.toml)
  • Step-by-step migration — tabbed examples for each native provider
  • Ollama without LiteLLM — using OpenAI-compatible mode with base_url
  • YAML config migration — updating agent configs
  • Quick reference table — common migration paths
  • FAQ — addressing common concerns

Navigation

Added the page to the Learn section in all English version blocks in docs.json, right after the existing "LLM Connections" page.

Add a comprehensive guide explaining how to use CrewAI with native
provider integrations (OpenAI, Anthropic, Gemini, Azure, Bedrock)
without depending on LiteLLM.

Covers:
- Why you might want to remove LiteLLM
- Which providers work natively
- How to check if you're using LiteLLM
- Step-by-step migration guide
- Ollama via OpenAI-compatible mode
- FAQ section
@mintlify
Copy link

mintlify bot commented Mar 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
crewai 🟢 Ready View Preview Mar 24, 2026, 2:17 PM

@gvieira gvieira merged commit 3670222 into main Mar 24, 2026
48 checks passed
@gvieira gvieira deleted the docs/litellm-removal-guide branch March 24, 2026 14:19
alex-clawd pushed a commit to alex-clawd/crewAI that referenced this pull request Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants