Skip to content
UsecaseBoard
← All use cases
hnGuardrails

Gate refunds and DB writes behind deterministic checks, not prompt hopes

At a glance

An Ask HN on controlling agents that take real actions converges on: LLM proposes → deterministic validator (rules, spend ceilings, replay checks) → human approve—especially for refunds, payments, and database writes where prompt 'never do X' fails. This workflow is listed under Guardrails, Refunds, Approvals, Safety, Architecture.

Agents / tools
AI Agents

SourceBuilding a tool for these workflows? See weekly rates.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Design an action gate for my agent: it may propose refunds, DB writes, and API calls as structured intents, but a deterministic rules layer must validate order window/amount/idempotency, then pause for my approve/reject. The LLM must not hold direct write credentials.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →