generative-computing/mellea
A Python library for writing generative programs with structured, testable AI workflows built around type-annotated outputs and automatic retries.

Mellea is a Python library for building predictable AI-powered pipelines without relying on brittle prompts and flaky agents. It replaces unreliable LLM calls with structured, testable AI workflows that use type-annotated outputs, verifiable requirements, and automatic retry mechanisms. The library provides developers with tools to create deterministic generative programs that can be validated and tested like conventional software.