{"adoption": {"forks": 149, "observed_at": "2026-08-28T04:05:37.856489+00:00", "stars": 1799}, "canonical_url": "https://ross.abutalabs.com/products/mellea", "card": {"archived": false, "artifact_type": "library", "description": "Mellea is a library for writing generative programs. ", "domain": ["large-language-models", "artificial-intelligence", "developer-tools"], "enriched": true, "function": ["llm-inference", "agent-framework", "rag", "mcp", "prompt-engineering", "sdk"], "health_score": 100, "homepage": "https://mellea.ai", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["generative-computing/mellea"], "name": "generative-computing/mellea", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T18:13:06+00:00", "repo": "generative-computing/mellea", "stars": 1799, "tags": ["generative-programming", "structured-output", "constrained-decoding", "requirement-validation", "pydantic", "llm-workflows", "rejection-sampling", "ai-agents", "retrieval-augmented-generation"], "topics": ["agents", "generative-ai", "llms", "generative-computing"], "urls": [], "use_cases": ["extract structured data from text with guaranteed schemas", "validate LLM outputs against requirements with automatic retries", "build reliable AI pipelines without brittle prompt chains", "wrap Python functions as MCP tools for Claude Desktop or Cursor", "enforce grammar-constrained decoding for valid structured output", "build RAG and agent workflows with testable LLM calls"], "what_it_is": "Mellea is a Python library for writing generative programs, where LLM calls are first-class operations with type-annotated outputs, verifiable requirements, and automatic retry/repair loops. It supports multiple backends (OpenAI, Ollama, vLLM, HuggingFace, Watsonx, LiteLLM, Bedrock) and integrates with MCP for exposing tools.", "when_to_avoid": ["you need a full agent framework with complex multi-agent orchestration", "you work outside Python", "you only need simple one-off prompt calls without validation"], "when_to_choose": ["you need type-safe, schema-enforced LLM outputs in Python", "you want verifiable requirements and automatic repair instead of prompt guesswork", "you need token-level constrained decoding rather than retry-based validation", "you want to expose validated LLM functions as MCP tools"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mellea", "repo": "generative-computing/mellea", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:37.856489+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:22:17.089125+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d3050b75b29e98bcf822f10cb5484c0375ff8e4fef9632992887cfda913d26a", "fetched_at": "2026-08-28T04:05:37.856489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/generative-computing/mellea"}, {"content_hash": "8e893d80fecd6ec758a7cf48f4f5843377ac3dc25e42727fc0a91f324dfbd753", "fetched_at": "2026-08-29T11:01:13.261695+00:00", "kind": "homepage", "missing": false, "url": "https://mellea.ai"}, {"content_hash": "22b428f5331c7976ff744430e385202c3782971f8122b69ace949310fccd3c96", "fetched_at": "2026-08-29T11:01:13.271253+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai"}, {"content_hash": "c8d0960a2c6fadc6009343b9d4120a1a6bd6e40a7877de7a91e55bc9fad46ab9", "fetched_at": "2026-08-29T11:01:13.273207+00:00", "kind": "site_page", "missing": false, "url": "https://docs.mellea.ai/integrations/mcp"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 28, "rhythm": 93}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 398, "days_push": 7, "days_rel": 51, "gap_med": 14.0, "n_releases_24m": 23}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}