Home / Companies / HuggingFace / Blog / Post Details
Content Deep Dive

What's New in Mellea 0.4.0 + Granite Libraries Release

Blog post from HuggingFace

Post Details
Company
Date Published
Author
Abraham Daniels
Word Count
469
Language
-
Hacker News Points
-
Summary

Mellea 0.4.0 has been released alongside three Granite Libraries—granitelib-rag-r1.0, granitelib-core-r1.0, and granitelib-guardian-r1.0—aimed at facilitating the creation of structured, verifiable, and safety-aware AI workflows using IBM Granite models. Mellea is an open-source Python library that replaces probabilistic prompt behavior with structured AI workflows, and Mellea 0.4.0 introduces new architectural patterns and expands its integration surface with Granite Libraries. These libraries consist of specialized model adapters for specific tasks like query rewriting and policy compliance checking, enhancing task accuracy with minimal parameter cost. The release includes native integration with Granite Libraries through a standardized API, an instruct-validate-repair pattern, and observability hooks for monitoring workflows, all designed to improve the maintainability and predictability of LLM-based programs.