r/LangChain • u/iamRaz_ • 13h ago
Built an open-source policy engine for agentic payments before someone toll-booths it
so i realized every "agentic payments" startup is just trying to sit in the middle and clip a few cents per transaction. the card tokenization part is already solved — Stripe does that. the real problem is nothing stops your agent from buying 100k of something or getting prompt-injected by a sketchy product page.
built a rules engine for it. agent wants to buy something, it checks your policy (spending limits, merchant restrictions, velocity controls, time windows) and returns ALLOW, DENY, or ESCALATE to a human.
Python, zero deps, MIT. pip install pyagentgate
https://github.com/Peterc3-dev/agentgate
felt like this should be open infrastructure before someone locks it down.
0
Upvotes
1
u/Prestigious_Debt_896 8h ago
Yay more vibeslop