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.1.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.1.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agent_control_evaluators-6.1.0.tar.gz
Algorithm Hash digest
SHA256 1a266b53865c08b6485b0cae973205b0f8a3199667cbcc7dcd38f037988fb438
MD5 cef44bf7946ae60a269150f6b752a1e3
BLAKE2b-256 1b844b8e04d78366da5640fdc88a8c88d407be9fc50bc3291b7f171a236cef8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_evaluators-6.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a93a88d4fa34b06c1e7a70a74816f18968b19311d587a2764b54a7ac7f58caa
MD5 2e5d7638a907817e478d9b75717678e1
BLAKE2b-256 12cad97d8c2e47cbacbf38bde5fed5d5d09f36293d1e7682c9e63f9dfdb00b6c

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