1. Install (30 seconds)
[rag] or [gateway] are only needed for those features — see the installation guide.
2. Pick a model path
Path A — cloud provider (needs one API key). Set the key for whichever provider you have:3. First generation
Path A (cloud):ClaudeModel, GeminiModel, GroqModel, MistralAIModel, DeepSeekModel all work the same way. Prefer plain functions over asyncio? Use model.generate_sync(...) — see the cookbook.
4. Guard it against PII leaks
Wrap any model so emails, SSNs, credit cards, API keys, and other PII are redacted before they ever reach the provider — with an audit trail:compliance_audit.jsonl — one JSON line per event, recording what was detected and redacted (types, counts, and hashes only; never the raw values).
5. Track what it costs
budget=Budget(max_cost=1.00) — calls past the ceiling are blocked before dispatch. Recipe: budget-capped calls.
6. Scan for PII from the command line
No Python needed — one command, works completely offline:Where to next
- Cookbook — short task-oriented recipes: switch providers, structured output with Pydantic, hallucination detection, the gateway API, and more
- Compliance guide — the full GDPR/HIPAA compliance module
- Deployment guide —
docker pull ghcr.io/multimindlab/multimind-sdk:latest, docker compose, and a fully local stack - Docs index — everything else
