pip install multimind-sdkThis installs the core: multi-model chat (OpenAI, Claude, Ollama), routing, CLI, and context transfer. Ollama needs no extra — the client talks to a running Ollama instance over HTTP.
These are the extras actually defined in pyproject.toml:
pip install "multimind-sdk[rag]"Adds: faiss-cpu, sentence-transformers, beautifulsoup4, lxml, numpy
pip install "multimind-sdk[vector-stores]"Adds: chromadb, qdrant-client, weaviate-client, pinecone-client, pymilvus, elasticsearch
pip install "multimind-sdk[agents]"Adds: the [memory] extra (redis, numpy) that agents rely on
pip install "multimind-sdk[memory]"Adds: redis, numpy
pip install "multimind-sdk[documents]"Adds: pdfplumber, PyPDF2, python-docx, python-pptx, pillow, pytesseract, unstructured
pip install "multimind-sdk[finetune]"Adds: torch, transformers, datasets, accelerate, peft, scikit-learn, optuna. Also required for the non-transformer models (Mamba, RWKV), which are HuggingFace-backed.
pip install "multimind-sdk[finetune-gpu]"Adds: everything in [finetune] plus bitsandbytes (Linux only; does not install on macOS/ARM)
pip install "multimind-sdk[compliance]"Adds: cryptography, bcrypt, pycryptodome, plotly, dash, pandas (dashboard visualization included)
pip install "multimind-sdk[gateway]"Adds: fastapi, uvicorn, redis, PyJWT, python-multipart
pip install "multimind-sdk[mcp]"Adds: mcp (the Model Context Protocol SDK) — needed to run the compliance MCP server (python -m multimind.mcp_server) described in docs/mcp-server.md
pip install "multimind-sdk[langchain]" # langchain-core
pip install "multimind-sdk[llamaindex]" # llama-index-core
pip install "multimind-sdk[crewai]" # crewaiEach adds only the corresponding framework's core package, for the adapters described in docs/integrations.md.
pip install "multimind-sdk[all]"All of the above except dev, finetune-gpu, and the framework extras (langchain, llamaindex, crewai) — large download; includes torch and ML frameworks.
Note: extras like
[router],[llm],[minimal], and[fine-tuning]documented in older versions of this guide do not exist. The router and LLM providers are part of the core install.
git clone https://github.com/multimindlab/multimind-sdk.git
cd multimind-sdk
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install in editable mode with dev tools
pip install -e ".[dev]"pytest
pytest -v --cov=multimind # With coverage report# Lint and format (ruff handles both)
ruff check multimind/
ruff format multimind/
# Type checking
mypy multimind/See the Makefile for shortcuts (make lint, make format, make test, ...).
| Extra | Key Dependencies |
|---|---|
| core (no extra) | openai, anthropic, httpx, pydantic, pydantic-settings, python-dotenv, click, rich, PyYAML, aiohttp, requests, tenacity, coloredlogs |
rag |
faiss-cpu, sentence-transformers, beautifulsoup4, lxml, numpy |
vector-stores |
chromadb, qdrant-client, weaviate-client, pinecone-client, pymilvus, elasticsearch |
agents |
multimind-sdk[memory] |
memory |
redis, numpy |
documents |
pdfplumber, PyPDF2, python-docx, python-pptx, pillow, pytesseract, unstructured |
finetune |
torch, transformers, datasets, accelerate, peft, scikit-learn, optuna |
finetune-gpu |
multimind-sdk[finetune] + bitsandbytes (Linux only) |
compliance |
cryptography, bcrypt, pycryptodome, plotly, dash, pandas |
gateway |
fastapi, uvicorn, redis, PyJWT, python-multipart |
mcp |
mcp |
langchain |
langchain-core |
llamaindex |
llama-index-core |
crewai |
crewai |
dev |
pytest, ruff, mypy, pre-commit, bandit, pip-audit, build, twine, sphinx |
Solution: Install the corresponding extra:
pip install "multimind-sdk[extra-name]"Solution: Install the GPU build of torch first, then the extra:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install "multimind-sdk[finetune]"Solution: bitsandbytes is Linux/CUDA-only. Use [finetune] instead of [finetune-gpu] on macOS.
Test your installation:
import multimind
print(multimind.__version__)
# Core model wrappers (no extras needed)
from multimind import OpenAIModel, ClaudeModel
from multimind.models.ollama import OllamaModel
print("Core models import OK")
# Optional features (if installed)
try:
from multimind.vector_store.base import VectorStoreFactory
print("Vector store module OK")
except ImportError:
print("Vector stores not installed - run: pip install 'multimind-sdk[rag]'")- Check out the Getting Started Guide
- Browse Examples
- Read the API Reference
- Join our Discord Community