Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributing to `mellea-contribs`

To contribute:
* Open an issue on mellea-contribs describing your extension.
* Fork the repository and create a branch.
* Follow the coding standards from the contributing guide (linked below.)
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
* Open a pull request referencing the issue.

If a contribution in mellea-contribs matures and proves broadly useful, it can graduate to the standard library via an issue in the core repository.

# Contribute to the Mellea Core Repository

Check out the documentation for contributing to [Mellea](https://github.com/generative-computing/mellea/blob/main/CONTRIBUTING.md).
69 changes: 39 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,44 @@
<img src="https://github.com/generative-computing/mellea-contribs/raw/main/mellea-contribs.jpg" height=100>


# Mellea Contribs

The `mellea-contribs` repository is an incubation point for contributions to
the Mellea ecosystem.
`mellea-contribs` is an incubation point for contributions to
the [Mellea](https://github.com/generative-computing/mellea) ecosystem. This is the home for experimental and specialized extensions that are not yet part of the standard library. It is the right place for:
Comment thread
mmcelaney marked this conversation as resolved.
Outdated

# Mellea Contributions Directory Structure
* Domain-specific Components (legal, medical, code review, etc.)
* Experimental Sampling Strategies under active research
* Backend integrations for niche or self-hosted providers

This document explains the organization of the `mellea_contribs` directory and the requirements for running CI/CD.
This repo contains multiple framework integrations and supporting libraries for the Mellea generative programming framework. Each subpackage is independently testable but shares common dependencies through `mellea-integration-core`. The CI pipeline automatically discovers changes and runs appropriate tests with Python 3.11-3.13, Ollama support for backends, and configurable timeouts per package.

## Directory Structure Overview
[![Website](https://img.shields.io/badge/website-mellea.ai-blue)](https://mellea.ai/)
[![Docs](https://img.shields.io/badge/docs-docs.mellea.ai-brightgreen)](https://docs.mellea.ai/)
[![PyPI version](https://img.shields.io/pypi/v/mellea)](https://pypi.org/project/mellea/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mellea)](https://pypi.org/project/mellea/)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![GitHub License](https://img.shields.io/github/license/generative-computing/mellea)](https://github.com/generative-computing/mellea/blob/main/LICENSE)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-3.0-4baaaa.svg)](https://github.com/generative-computing/mellea/blob/main/CODE_OF_CONDUCT.md)

# Mellea Contribs Overview
This document explains the organization of the `mellea-contribs` directory and the requirements for running CI/CD.

## Resource List

| Resource | Description |
| --- | --- |
| [mellea-integration-core/](#mellea-integration-core)| Core abstractions for framework integrations |
| [crewai_backend/](#crewai_backend) | CrewAI integration with Mellea |
| [dspy_backend/](#dspy_backend) | DSPy integration with Mellea |
| [langchain_backend/](#langchain_backend) | LangChain integration with Mellea |
| [tools_package/](#tools_package) | Generative tools and utilities library |
| [reqlib_package/](#reqlib_package) | Requirements library for validation |
Comment thread
mmcelaney marked this conversation as resolved.
Outdated

```
mellea_contribs/
├── mellea-integration-core/ # Core abstractions for framework integrations
├── crewai_backend/ # CrewAI integration with Mellea
├── dspy_backend/ # DSPy integration with Mellea
├── langchain_backend/ # LangChain integration with Mellea
├── tools_package/ # Generative tools and utilities library
├── reqlib_package/ # Requirements library for validation
└── __init__.py # Package initialization
```

## Subpackage Descriptions

### 1. **mellea-integration-core**
### 1. [Mellea Integration Core](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/mellea-integration-core)
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: Core abstractions and utilities for building clean, maintainable integrations between Mellea and various AI frameworks
- **Key Features**:
- Base integration class with common patterns
Expand All @@ -38,7 +51,7 @@ mellea_contribs/
- **CI Requirements**: No Ollama needed (skip_ollama=true)
- **Timeout**: 30 minutes

### 2. **crewai_backend**
### 2. <a id="crewai_backend">**[CrewAI Backend](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/crewai_backend)**</a>
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: Enables CrewAI agents to use Mellea's generative programming capabilities
- **Key Features**:
- CrewAI agent integration with Mellea
Expand All @@ -49,7 +62,7 @@ mellea_contribs/
- **CI Requirements**: Ollama support enabled
- **Timeout**: 90 minutes (extended due to complex integration tests)

### 3. **dspy_backend**
### 3. <a id="dspy_backend">**[DSPy Backend](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/dspy_backend)**</a>
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: DSPy integration enabling structured prompting with generative programming
- **Key Features**:
- DSPy module integration with Mellea
Expand All @@ -60,7 +73,7 @@ mellea_contribs/
- **CI Requirements**: Ollama support enabled
- **Timeout**: 30 minutes

### 4. **langchain_backend**
### 4. <a id="langchain_backend">**[Langchain Backend](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/langchain_backend)**</a>
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: LangChain integration for using Mellea within LangChain applications
- **Key Features**:
- LangChain language model integration with Mellea
Expand All @@ -71,7 +84,7 @@ mellea_contribs/
- **CI Requirements**: Ollama support enabled
- **Timeout**: 30 minutes

### 5. **tools_package**
### 5. <a id="tools_package">**[Tools Package](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/tools_package)**</a>
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: Incubating generative programming tools and utilities
- **Key Features**:
- Various tools for generative programming
Expand All @@ -82,7 +95,7 @@ mellea_contribs/
- **CI Requirements**: No Ollama needed (skip_ollama=true)
- **Timeout**: 30 minutes

### 6. **reqlib_package**
### 6. <a id="reqlib_package">**[Requirements Library Package](https://github.com/generative-computing/mellea-contribs/tree/main/mellea_contribs/reqlib_package)**</a>
Comment thread
mmcelaney marked this conversation as resolved.
Outdated
- **Purpose**: Requirements library for validation and constraints in generative systems
- **Key Features**:
- Requirement specification and validation
Expand All @@ -92,6 +105,10 @@ mellea_contribs/
- **CI Requirements**: No Ollama needed (skip_ollama=true)
- **Timeout**: 30 minutes

## Tools

- **[Robustness Testing](mellea_contribs/tools_package/docs/ROBUSTNESS_TESTING.md)** — Test m-program consistency against semantic variations using BenchDrift

## CI/CD Requirements

### Architecture
Expand Down Expand Up @@ -313,11 +330,3 @@ ruff format src/
mypy src/
```

## Summary

The `mellea_contribs` directory contains multiple framework integrations and supporting libraries for the Mellea generative programming framework. Each subpackage is independently testable but shares common dependencies through `mellea-integration-core`. The CI pipeline automatically discovers changes and runs appropriate tests with Python 3.11-3.13, Ollama support for backends, and configurable timeouts per package.


## Tools

- **[Robustness Testing](docs/ROBUSTNESS_TESTING.md)** — Test m-program consistency against semantic variations using BenchDrift
13 changes: 12 additions & 1 deletion mellea_contribs/reqlib_package/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
README.md
# Reqlib_package

Purpose: Requirements library for validation and constraints in generative systems

Key Features:
* Requirement specification and validation
* Integration with Mellea's validation framework

* Dependencies: mellea>=0.3.x
* Python Version: ≥3.11
* CI Requirements: No Ollama needed (skip_ollama=true)
* Timeout: 30 minutes
Loading