Skip to main content

Template Management

A template is written in the Guardrail template language, which defines what fields the user must provide in their intent, what evidence must be extracted from the agent's proposal, and the rules they must satisfy.

TODO

Link to template language docs.

Registering a template

The operator registers a template once; it is shared across all intents that reference it:

guardrail-prover templates submit my_template.template

The response contains the template_id — the content-addressed hash of the compiled template. Users reference the template by this ID in their intents:

{
"template_id": "3mJr7AoLXfFj..."
}