SENTRY
A firewall for AI agents that spend your money
Created on 30th August 2026
•
SENTRY
A firewall for AI agents that spend your money
The problem SENTRY solves
Sentry building ai agents that can spend real money without approving every transaction. It is used for:
- personal shopping and grocery agents
- autonomous bill-pay agents
- quick commerce agents
- corporate procurement agents
- Agent-commerce infrastructure teams
How it works:
Set the instruction and budget once. The agent can act within those boundaries without asking for approval every time. Every decision comes with a plain-language explanation.If something is halted,a human can override or escale a dispute.
How it stays safe: - Deterministic guardrails: budgets,merchant allowists,blocked categories, spend velocity
- Semantic checks: verifies the transaction actually matches the instruction.
- Cryptographic authorship: agents sign their plan before evaluation
- Tamper-evident history: every decision is recorded in a hash-chained receipt using SHA 256.
5)Behavioral controls: repeated failures trigger cooldowns and quarantine
The result: autonomous spending with enforceable boundaries and a provable audit trail.
Challenges we ran into
- Hash Chain broke itself:
Initially i stored the receipt payloads were stored in postgres jsonb.Key Ordering and number formatting could change when read back, so we recomputed SHA 256-(PREVHASH + JSON.stringify(payload)), which produced a different hash without any tampering.
Solution: We fixed it by storing the exact hashed string as raw text. - Two requests could bypass one budget
solution: we moved the check into postgres transaction using SELECT... FOR UPDATE on a pre -created per-agent budget row, turning the race into a queue - Integrating JSON over HTTPS to demonstrate shopping agents
solution: it was recommended by the mentor for this ideation, we coorporated it successfully
Technologies used
Discussion
Builders also viewed
See more projects on Devfolio
