Skip to main content

Builtin evaluators for agent-control

Project description

Agent Control Evaluators

Built-in evaluators for agent-control.

Installation

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:

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
# Direct install
pip install agent-control-evaluator-galileo

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

Creating Custom Evaluators

See AGENTS.md for guidance on creating new evaluators.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_control_evaluators-6.3.0.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_control_evaluators-6.3.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file agent_control_evaluators-6.3.0.tar.gz.

File metadata

File hashes

Hashes for agent_control_evaluators-6.3.0.tar.gz
Algorithm Hash digest
SHA256 0315ff48824ec25121de0c045471e491882e51acb714bf12d96e890c4bcfc24e
MD5 fc86e93be6cbb8c3f6e81fe86156c096
BLAKE2b-256 f807098601d2d013e5bdb1293dc20bfdbb5d1337f6a2f8c40f98de656028428f

See more details on using hashes here.

File details

Details for the file agent_control_evaluators-6.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_control_evaluators-6.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee544a4a43f630a12f8fb39034e0e917047d83d555841206c7a2f2fb3c344463
MD5 6237e7a66bf57f710463d3292b7f01cd
BLAKE2b-256 bb492017fb7f0b39c1d9461c4262de1e96cbc8eed5b898d294632f626fd8344e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page