agent-reliability-harness
A refund-support agent built on one idea: the LLM expresses goals, deterministic guardrails enforce policy, and every real failure becomes a permanent regression test.
The separation that matters
The model is trusted to say what the customer wants, never to decide whether it is allowed. Policy lives in plain Python, and denial messages are templated from the guardrail's reason code so a customer never gets a hallucinated explanation.
Invariants, not demos
Hypothesis states each invariant (an already-refunded order is always denied) and tries 200 random inputs per property to break it. A 17-phrasing sweep checks how real customers talk.
Stack
Python · Hypothesis · OpenAI API
Next
Running against a live model. A deterministic client drives every run so results are reproducible, and an OpenAI client sits behind the same interface.