Get started
Tutorial
Code examples
API reference
How Mellea works
Mellea’s design rests on three interlocking ideas.Python, not prose
Requirements driven
Instruct · Validate · Repair
Key patterns
MObjects and mify
Context and sessions
Async and streaming
Safety checks
Inference-time scaling
Tools and agents
Backends
Mellea is backend-agnostic. The same program runs on any inference engine.Ollama
OpenAI
AWS Bedrock
IBM WatsonX
HuggingFace
LiteLLM / Vertex AI
LangChain
How-to guides
Enforce structured output
Write custom verifiers
Async and streaming
Use context and sessions
Configure model options
Use images and vision
Build a RAG pipeline
GitHub · PyPI · Discussions
