semvec/pypi-packages huggingface dataset:
agent-control-evaluator-galileo 5.2.0
Galileo Luna2 evaluator for agent-control
License: Apache-2.0
Requires Python: >=3.12

# Agent Control Evaluator - Galileo

Galileo Luna2 evaluator for agent-control.

## Installation

```bash
pip install agent-control-evaluator-galileo
```

Or via the convenience extra from the main evaluators package:
```bash
pip install agent-control-evaluators[galileo]
```

## Available Evaluators

| Name | Description |
|------|-------------|
| `galileo.luna2` | Galileo Luna-2 runtime protection |

## Configuration

Set the `GALILEO_API_KEY` environment variable:
```bash
export GALILEO_API_KEY=your-api-key
```

## Usage

Once installed, the evaluator is automatically discovered:

```python
from agent_control_evaluators import discover_evaluators, get_evaluator

discover_evaluators()
Luna2Evaluator = get_evaluator("galileo.luna2")
```

Or import directly:

```python
from agent_control_evaluator_galileo.luna2 import Luna2Evaluator, Luna2EvaluatorConfig

config = Luna2EvaluatorConfig(
    stage_type="local",
    metric="input_toxicity",
    operator="gt",
    target_value=0.5,
    galileo_project="my-project",
)

evaluator = Luna2Evaluator(config)
result = await evaluator.evaluate("some text")
```

## Documentation

- [Galileo Protect Overview](https://v2docs.galileo.ai/concepts/protect/overview)
- [Galileo Python SDK Reference](https://v2docs.galileo.ai/sdk-api/python/reference/protect)
agent-control-evaluators 5.2.0
Builtin evaluators for agent-control
License: Apache-2.0
Requires Python: >=3.12

# Agent Control Evaluators

Built-in evaluators for agent-control.

## Installation

```bash
pip install agent-control-evaluators
```

## Available Evaluators

| Name | Description |
|------|-------------|
| `regex` | Regular expression pattern matching |
| `list` | List-based value matching (allow/deny) |
| `json` | JSON validation (schema, required fields, types) |
| `sql` | SQL query validation |

## Usage

Evaluators are automatically discovered via Python entry points:

```python
from agent_control_evaluators import discover_evaluators, list_evaluators

# Load all available evaluators
discover_evaluators()

# See what's available
print(list_evaluators())
# {'regex': <class 'RegexEvaluator'>, 'list': ..., 'json': ..., 'sql': ...}
```

## External Evaluators

Additional evaluators are available via separate packages:

- `agent-control-evaluator-galileo` - Galileo Luna2 evaluator

```bash
# Direct install
pip install agent-control-evaluator-galileo

# Or via convenience extra
pip install agent-control-evaluators[galileo]
```

## Creating Custom Evaluators

See [AGENTS.md](../../AGENTS.md) for guidance on creating new evaluators.