CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ◬ AI & Machine Learning Mar 20, 2026

What's New in Mellea 0.4.0 + Granite Libraries Release

Hugging Face Archived Mar 20, 2026 ✓ Full text saved
Full text archived locally
✦ AI Summary · Claude Sonnet


    Back to Articles What's New in Mellea 0.4.0 + Granite Libraries Release Enterprise Article Published March 20, 2026 Abraham Daniels abedaniels Follow ibm-granite Overview We have released Mellea 0.4.0 alongside three Granite Libraries: granitelib-rag-r1.0,granitelib-core-r1.0,granitelib-guardian-r1.0. Together, these releases make it easier to build structured, verifiable, and safety-aware AI workflows on top of IBM Granite models. Mellea is an open-source Python library for writing generative programs -- replacing probabilistic prompt behavior with structured, maintainable AI workflows. Unlike general-purpose orchestration frameworks, Mellea is designed to make LLM-based programs maintainable and predictable through constrained decoding, structured repair loops, and composable pipelines (New to Mellea? Start with our introductory blog and meet the team) Mellea 0.4.0 Mellea 0.4.0 is the latest release of an open-source research project initiated and developed by IBM Research. Building on 0.3.0 foundational libraries and workflow primitives, 0.4.0 expands the library's integration surface and introduces new architectural patterns for structuring generative workflows. What’s included: Native integration with the Granite Libraries, offering a standardized API that relies on constrained decoding to guarantee schema correctness. Instruct-validate-repair pattern via rejection sampling strategies Observability hooks for event-driven callbacks to monitor and track workflows See full list of Mellea 0.4.0 features and updates here What Are the Granite Libraries Simply put, a Granite Library is a collection of specialized model adapters designed to perform well-defined operations on portions of an input chain or conversation. Rather than relying on general-purpose prompting, each specialized model is fine-tuned for a specific task such as query rewriting, hallucination detection, or policy compliance checking. The use of specialized adapters allows us to increase the accuracy of each task at a modest parameter count cost, and without disrupting the base model’s capabilities. Three libraries are being released today for the granite-4.0-micro model, each targeting a distinct set of pipeline tasks and comprised of a collection of LoRA adapters: Granitelib-core-r1.0: targeting the step of requirements validation in Mellea’s instruct-validate-repair loop Granitelib-rag-r1.0: targeting a variety of tasks in agentic RAG pipelines covering pre-retrieval, post-retrieval, and post-generation Granitelib-guardian-r1.0: specialized models for safety, factuality, and policy compliance Mellea 0.4.0 is the latest release of an open-source research project initiated and developed by IBM Research. Building on the foundational libraries and workflow primitives introduced in 0.3.0, this release expands the integration surface and introduces new architectural patterns for structuring generative workflows. Getting Started Mellea Mellea GitHub Repository Mellea on PyPI Mellea Documentation Granite Libraries Granite Libraries Hugging Face Collection A Library of LLM Intrinsics for Retrieval-Augmented Generation Multi-Level Explanations for Generative Language Models Learn More https://generative-computing.github.io/blog/2025/08/14/thinking-about-ai.html https://www.youtube.com/watch?v=j2ouL1n0Nxk Community Edit Preview Upload images, audio, and videos by dragging in the text input, pasting, or clicking here. Comment · Sign up or log in to comment Upvote 1
    💬 Team Notes
    Article Info
    Source
    Hugging Face
    Category
    ◬ AI & Machine Learning
    Published
    Mar 20, 2026
    Archived
    Mar 20, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗