Skip to main content
Prerequisites: Python 3.11+, pip or uv available.

Install

Note: uv add adds Mellea to an existing uv project, so run it from a directory created with uv init (or one that already has a pyproject.toml). To install into a plain virtual environment without a uv project, use uv pip install mellea instead.

Optional extras

Install extras for specific backends and features:
You can combine extras:
All extras: mellea[all] installs everything. For the full list of available extras see pyproject.toml.

Default backend: Ollama

The default session connects to Ollama running locally. Install Ollama and pull the default model before running any examples: