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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agent_control_evaluators-6.4.0.tar.gz
Algorithm Hash digest
SHA256 422b992537a0ef86cc157af7c8a481b3bb88fda09b8665a9edfae42bd4652bc7
MD5 063aede821cde5419807502b08318d64
BLAKE2b-256 538cec85a0f5b2fb95b3c630e6756e9ccbd7cf693b5072a677759e834a7e2812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_evaluators-6.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaef543d0477e52cf19b30e02d90623d784a7d4d59fd3bd00ae7e2ad2f7e90d3
MD5 c4f4e8326256ee76b0480f1923e690a6
BLAKE2b-256 abbdfd329fff6af5980da7973739e386b8401d4d70e2753b63eb00a1cf5d33a7

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