Omnigent ships with policies for common guardrails, organized into seven categories. Your omnigent can apply any of these by name when you ask it to add a policy, or you can reference them in YAML by their full path in the handler field.
All builtin policies live under omnigent.policies.builtins.
Evaluate policy decisions using an LLM. The policy sends the event context to a model and interprets the response as ALLOW/ASK/DENY. Useful for nuanced decisions that can't be expressed as static rules.
prompt (system instructions for the evaluator model)
Risk Score
Policy
What it does
Parameters
risk_score_policy
Accumulate a risk score from tool calls and sensitive data labels. Escalates guarded tools to ASK or DENY once the score exceeds a threshold.
threshold (int), tool_points (object mapping tool names to points), sensitive_labels (object mapping labels to points), guarded_tools (string[]), escalate_action ("ASK" or "DENY")