Observe. Guard. Diagnose. Gateway and hooks. One trace model.

Route model calls through the Gateway or install agent hooks. Both can block before the call runs, and both feed the same causal trace.

OpenAI-compatible · No new SDK

Your agent sends one request through Provon's input, tool, and output rails to any model provider; the trace yields one finding.Your agentClaude CodeCodexCursorProvon GatewayInputAuditPII · secret leakToolRedactdenylist · retry loopOutputPassschema · argumentsCausal traceFinding · Tool result misreadAny provider

Observe

Every run, in causal order.

Gateway traffic and agent hooks replay into one causal trace: goal, every tool call, and the final answer.

AI Gateway proxy

Apps via the Gateway

Gateway key · capture on Guardrails on

Live agent hooks

Local guard + trace

Claude Code Codex Cursor OpenCode Pi DeepSeek Harness
provon setup guard Can block
conversation conv_8f2a · trace tr_19c4
One causal trace

Guard

Sixteen rules. One boundary.

Stop unsafe calls before they reach the model.

Provon Guardrails
Audit Enforce
PII in prompt
Injection pattern
Unsafe tool call
Response schema

Six families. Sixteen rules.

Sensitive data

  • PII
  • Secret leak

Prompt safety

  • Injection
  • Content safety
  • Word list

Tool governance

  • Tool denylist
  • Same call
  • Repeated result
  • Error loop

Semantic policy

  • Semantic policies
  • Prompt leak

Output contracts

  • Structured output
  • Tool arguments

Context budgets

  • History size
  • Input tokens
  • Completion cap

3 model-judged · 13 deterministic

Diagnose

Evidence before repair.

Know which stage failed, with the evidence attached.

run_tests exit 1
Conflicting signals
Final answer “all tests pass”

Fourteen failure types.

Every failure maps to a stage.

Agent Environment Input Review-only

Understanding

1 type

  • Input underspecified

Planning

1 type

  • Goal misunderstood

Execution

7 types

  • Plan step omitted
  • Constraint violated
  • Capability mismatch
  • Capability unavailable
  • Invalid tool precondition
  • Retrieval insufficient
  • Repetition, no progress

Verification

1 type

  • Tool result misread

Final answer

2 types

  • Unsupported claim
  • Incoherent answer

Runtime

2 types

  • Safety policy block
  • Runtime interruption

Control

Audit first. Enforce when ready.

Audit records verdicts without blocking. Enforce at the boundary when ready.

Audit changes nothing.

Every verdict is recorded; traffic keeps moving.

Enforce at the boundary.

Block or redact at the Gateway, and block tool calls before local agents execute them.

Keep the evidence.

Every Finding links to the span or rule that caused it.

FAQ

Start with the Gateway. Add hooks when ready.

Both can block. Both feed the same trace.