Installation
Mango is distributed via PyPI as mango-ai. Dependencies are split into optional groups so you only install what you need.
Requirements
- Python 3.12+
- A running MongoDB instance (local or Atlas)
- An API key for at least one LLM provider
Install
Choose the extras that match your LLM provider:
# Anthropic Claude (recommended)
pip install mango-ai[anthropic]
# OpenAI GPT
pip install mango-ai[openai]
# Google Gemini
pip install mango-ai[gemini]
# All providers
pip install mango-ai[all]
What gets installed
| Extra | Packages added |
|---|---|
anthropic | anthropic SDK |
openai | openai SDK |
gemini | google-genai SDK |
all | All of the above |
The core package (mango-ai without extras) includes pymongo, pandas, fastapi, uvicorn and chromadb.
Verify the installation
import mango
print(mango.__version__)
Next step
→ Quickstart — connect your database and run your first query in under 3 minutes.
Or skip the setup entirely and run the quickstart in Google Colab.