Sep 24, 2026Mellea Contributors

Audio in, files out, and a much faster CLI: Mellea v0.8.0

Mellea v0.8.0 adds audio as an input modality, lets you retrieve the files your sandboxed code produced, cuts m CLI startup from 3.2s to 0.1s, and rebuilds streaming as a plain async iterator. There are breaking changes to review if you use streaming or telemetry.

releasev0.8
→
Sep 22, 2026Nigel Jones

A Validator Doesn't Need to Write Prose

TypeSafe's Jev answers typed questions with probabilities instead of generating text. Mellea has been going at validation from the same direction, starting with the cheapest check that will do the job.

validationrequirementsIVRgraniteswitchloop-engineering
→
Jul 28, 2026Nigel Jones

Getting Structured Data Out of Images with Granite Vision 4.1

Vision models return prose. This post shows how to get a typed Python object back instead, using Mellea's format= parameter and ImageBlock.

visionstructured-outputgraniteIVRimage-extraction
→
Jul 14, 2026Mellea Contributors

Tools your agents can actually run: Mellea v0.7.0

Mellea v0.7.0 ships a sandboxed code interpreter, a shell tool, and a library of executable requirements, plus context compaction and plugin-based telemetry, so agents can run code and stay grounded.

releasev0.7
→
Jul 13, 2026Akihiko Kuroda

See Inside Your LLM Pipeline with Mellea Debug Plugins

Trace generation, validation, and sampling in detail. Built-in plugins reveal model calls, requirement failures, repair events, and loop iterations—all without boilerplate.

debuggingpluginsobservability
→
Jul 1, 2026Paul Schweigert

Every layer of Granite 4.1 in one conversation

At the IBM Booth at THINK 2026, we ran a demo using every model family from the Granite 4.1 release

granitespeechdemoswitch
→
Jun 19, 2026David Cox, Paul Schweigert

Why Mellea?

Agents are just programs, patterns of control flow around generative AI. So why the 80–90% failure rate? Because they're built out of prompts, not code. Mellea is a different approach.

generative-computingagentsprompt-engineeringIVRreliabilitycontrol-flow
→
Jun 16, 2026Nigel Jones

Granite Switch in Mellea: one checkpoint, every adapter function

With Granite Switch, adding validation to a Mellea program — checking that an answer is grounded, that a requirement is met, that nothing in the response was hallucinated — is a single function call against the backend you're already using. One checkpoint, a dozen drop-in validations, no second pipeline to stand up.

graniteadaptersswitchvllm
→
Jun 11, 2026Nigel Jones

The Loop Needs a Gate

The industry just spent a fortnight agreeing you should write loops, not prompts. Everyone also agrees on the catch: a loop is only as good as the gate that can fail its work.

loop-engineeringharness-engineeringverificationIVRgenerative-programmingrequirements
→
May 27, 2026Alex Bozarth

From Linting to Tests: Doubling Functional Correctness in Qiskit IVR

Wiring functional tests into Mellea's Instruct-Validate-Repair loop nearly doubled functional correctness on the Qiskit Human Eval benchmark, on top of what static validation already provided.

qiskitIVRvalidationbenchmarkLLMcode-generation
→
May 22, 2026Alex Bozarth

Using MCP Server Tools in Mellea

Mellea now supports MCP server tools. Discover any MCP server's tools and call them directly from a Mellea agent.

v0.6mcptools
→
May 20, 2026Paul Schweigert, Nathan Fulton

Making Small Models Rock with Mellea

Small open-weight models can handle production-shaped work when the harness decomposes the task, validates outputs, and routes each step to the right local model.

graniteragadapterssmall-modelsdoclinglocal-llm
→
May 6, 2026Akihiko Kuroda

What Mellea Brings to DSPy: Structured Validation for Reliable AI Programs

Add semantic validation and quality guarantees to DSPy programs with Mellea's integration for structured prompting and runtime verification.

dspygenerative-programmingllmvalidationreliability
→
May 4, 2026Akihiko Kuroda

Validate Every CrewAI Agent Output: Automatic Retry with Mellea

Mellea brings structured validation and automatic repair to CrewAI multi-agent systems through the instruct-validate-repair pattern.

crewaimulti-agentvalidationintegration
→
May 1, 2026Nigel Jones

Cut LLM Costs Without Sacrificing Quality: The SOFAI Pattern in Mellea

Route most requests to a small model and escalate only hard cases to a larger one — Mellea's SOFAISamplingStrategy makes the dual-model pattern a one-line strategy swap.

sofaisamplingcostollama
→
Apr 30, 2026Akihiko Kuroda

What Mellea Brings to LangChain: Structured Generative Programming for Reliable AI Applications

Learn how Mellea's generative programming patterns add structured validation, automatic retry, and inference-time scaling to LangChain applications.

langchaingenerative-programmingllmvalidationreliability
→
Apr 27, 2026Angelo Danducci II

Getting Started with Mellea in Five Minutes

Install uv, pull a local model with Ollama, and build your first Mellea pipeline from scratch — no API key, no cloud, fully private.

getting-startedollamatutorial
→
Apr 24, 2026Akihiko Kuroda

Mellea Meets AI Frameworks: Structured Validation for LangChain, CrewAI, and DSPy

How Mellea brings structured validation and automatic retry to LangChain, CrewAI, and DSPy

integrationframework
→
Apr 22, 2026Paul Schweigert

Your LLM Provider is Down. Now What?

Use mellea's provider-agnostic backend abstraction to build LLM applications that automatically survive outages through three layers of failover: validation retries, capability escalation (SOFAI), and infrastructure switching across providers.

backendsreliability
→
Apr 20, 2026Alex Bozarth

Automatically Fixing Deprecated Qiskit Code with Instruct-Validate-Repair

How we used Mellea's Instruct-Validate-Repair pattern with flake8-qiskit-migration to automatically catch and fix deprecated Qiskit APIs in LLM-generated code.

qiskitIVRreliabilityLLMquantumcode-generation
→
Apr 17, 2026Paul Schweigert

Hooks: A New Way to Extend Your LLM Application

Hooks are a simple but powerful way to tap into your LLM application's lifecycle and add custom behavior without touching your core logic.

v0.4hooks
→
Sep 23, 2025David Cox

Outside-In and Inside-Out: Imperative, Inductive, and Generative Computing

What is “generative computing,” and is it different enough from other things to deserve a name?

engineeringreliability
→
Aug 14, 2025David Cox

We’re thinking about AI all wrong

Presenting an opinionated view on generative AI.

engineeringreliability
→