DNR Agent v2

Policy decides. The model only gathers. A human confirms.

An AI helper for “my package never arrived.” It checks the order and the tracking, but a person has to confirm before any refund happens.

Synthetic data, simulated refunds. Every run is a recording; nothing on this page calls a model.

About this proof of concept

A tool-calling agent for “delivered but not received” claims. The LLM reads the order, carrier scans and buyer history and drafts the reply. Deterministic code sets eligibility and amount. Nothing is paid until a person clicks Confirm.

Proof of concept. Synthetic orders, scans and buyers. Refunds are simulated entries in a local ledger; no real systems or money. The default model replays a recorded free-tier Gemini run. This page is static: every run is a recording made at build time through the real policy, ledger and commit code, and nothing here calls a model.

Recorded claim · order … replay of a recorded Gemini run

Outcome

Loading the recorded claim…

Ledger (simulated)

Empty. Nothing is paid until a person confirms.

      Keys: Space or K play/pause · → next step · R reset

      More scenarios and the full trace 9 recorded scenarios · tool calls and JSON · model choice

      What the agent did

      tool calls, not chain-of-thought · cap 6 steps

      Run the agent to see each tool call. Summary first; inputs and outputs are one click away.

        Outcome

        Run the agent to see who decides what.

        Case ledger (simulated)

        Empty. Queued refunds, confirmed refunds and human handoffs appear here.

          The model has six tools, and none of them can move money.

          1. Readorder · carrier scans · buyer history (scoped to this claim)
          2. check_policydeterministic engine reads source data itself; sets outcome and amount
          3. propose_refundrechecks policy; accepts only the policy amount; pending only
          4. submit_outcomeguard: policy wins, model may only escalate, evidence must have been seen
          5. Human Confirmrechecks again, then one idempotent ledger entry
          Why it is built this way
          • Untrusted text is data. Carrier notes and buyer messages never set an amount; a tripwire only sends instruction-like text to a human.
          • Fail closed. Tool errors, timeouts and inconsistent scans escalate. Escalation is sticky: a later message cannot route around the human.
          • Bounded. 6 steps, 1.5 s per tool, 20 s per step, 60 s per run, temperature 0.
          • Auditable. Every tool call, input, output and latency is shown, not hidden reasoning.

          Loading eval results…

          A proof of concept on synthetic data, not a payment system.