Skip to content

Policy DSL documentation and custom rule examples #5

@shotwellj

Description

@shotwellj

Summary

Document the Policy Engine's rule format with real-world examples so users can write custom policies without reading source code.

Examples to include

  • Rate limiting (per-agent, per-model, global)
  • Budget caps (daily/monthly spend limits)
  • Tool restrictions (blocklist/allowlist)
  • Content matching (PII detection, prompt injection patterns)
  • Kill switch configuration (loop detection thresholds)
  • Custom webhook-based rules

Milestone

v0.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is neededroadmapPlanned feature — not yet started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions