Skip to main content
Mellea is a library for writing generative programs. Generative programming replaces flaky agents and brittle prompts with structured, maintainable, and efficient AI workflows.

Python Library

  • mellea.backends — Backend implementations for the mellea inference layer.
  • mellea.core — Core abstractions for the mellea library.
  • mellea.formatters — Formatters for converting components into model-ready prompts.
  • mellea.helpers — Low-level helpers and utilities supporting mellea backends.
  • mellea.plugins — Mellea Plugin System — extension points for policy enforcement, observability, and customization.
  • mellea.stdlib — The mellea standard library of components, sessions, and sampling strategies.
  • mellea.telemetry — OpenTelemetry instrumentation for Mellea.

CLI (m)

  • m alora — alora command group package for training and uploading adapters.
  • m decompose — Typer sub-application for the m decompose command group.
  • m eval — CLI package for test-based LLM evaluation.
  • m m — Entrypoint for the m command-line tool.