Metadata-Version: 2.4
Name: agent-control-evaluators
Version: 6.6.1
Summary: Builtin evaluators for agent-control
Author: Agent Control Team
License: Apache-2.0
Requires-Python: >=3.12
Requires-Dist: agent-control-models
Requires-Dist: google-re2>=1.1
Requires-Dist: jsonschema>=4.0.0
Requires-Dist: pydantic>=2.12.4
Requires-Dist: sqlglot[c]<29.1.0,>=29.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Provides-Extra: galileo
Requires-Dist: agent-control-evaluator-galileo>=3.0.0; extra == 'galileo'
Description-Content-Type: text/markdown

# 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.
