frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Has anyone built an AI agent that spends real money?

3•xodn348•1d ago
I want to build an AI agent that shops autonomously – you give it a card once, and it handles browsing, selecting, and paying on its own.

I've been working on an MCP server that connects AI agents to payment providers (Stripe, PayPal, virtual cards), but

I keep hitting walls:

- Card issuers won't respond to individual developers

- Stripe requires 3D Secure for off-session payments

- E-commerce sites block browser automation

- Amazon v. Perplexity (March 9) confirmed that browser automation on major platforms carries real legal risk

Meanwhile Visa announced "Intelligent Commerce" and Mastercard launched "Agent Pay" – the networks see this coming, but the developer tooling isn't there yet. Has anyone actually shipped something like this? Concrete links, working examples, or constructive feedback would be especially helpful.

- What payment rail did you use?

- Is this a viable product or a regulatory minefield?

- Would you trust an AI with a $500 prepaid card to buy something for you?

What I have so far: https://github.com/xodn348/clawpay

Comments

agentsbooks•21h ago
I've been building an agent management platform and the payments/credentials question comes up constantly. Our approach has been to separate 'what the agent knows' from 'what the agent can do' -- agents have their own credential stores with platform-specific OAuth tokens, API keys, and account details, but the execution layer is sandboxed.

For spending money specifically, the pattern that seems safest is: agent proposes action with cost estimate, human approves via a notification (Telegram, email, etc.), then the backend executes the actual payment call. The agent never touches raw card data. Prepaid virtual cards with low limits are probably the most pragmatic path for autonomous spending today.

Re: your question about trusting an agent with $500 -- I'd trust it with $500 in API credits (worst case: wasted compute), but $500 on an e-commerce site is a different risk profile entirely because you can't easily reverse a physical goods purchase.

The Visa/Mastercard announcements are interesting but feel premature. The missing piece is standardized agent identity and capability declarations -- something like 'this agent is authorized by user X to spend up to $Y on category Z'. That's more of an identity/permissions problem than a payments problem.

multidude•13h ago
I haven't tackled payments, but I've run an agent with SSH access to a production server and real API keys for a few weeks. The trust question you're circling ("would you trust an AI with $500") is the interesting part. My answer so far: yes for reversible actions, not yet for irreversible ones. Deleting a file, sending an email, making a payment — these need a different approval model than reading a database or running a query. The hard problem isn't capability, it's building infrastructure that distinguishes "can do" from "should do without asking.

And i want to build an agent capable to do automated investment. so, to the question "has" anyone...?" i believe yes, my role model is Jim Simons from Renaissance. He did.

jtouri•8h ago
Many companies that have virtual cards as a service are hesitant to give agent access until the company shows reliable volume. You could add it yourself to your agent or hire a human to take care of it.

Been building unwall.xyz

novachen•1h ago
We've been running AI agents that spend real money autonomously — not on physical goods, but on API credits, compute, and social media placements. A few observations from what actually breaks vs. what you'd expect:

The failure mode people worry about: "agent goes rogue, spends $10k." The failure mode that actually happens: agent makes a confident decision on stale context. It runs a task that was valid 3 hours ago but is now redundant. Or it retries a failed payment 5 times because the failure was ambiguous. The damage is $20 of wasted API credits, not $10k — but the lesson is the same. Budget guardrails matter, but freshness checks matter more.

On the approval gate question: we use a pattern similar to agentsbooks' — agent proposes, human approves for anything irreversible. But in practice, the approval friction kills the value of autonomy. What actually works is pre-authorizing a class of actions ("spend up to $50/week on content distribution") rather than approving individual transactions. The trust unit is the policy, not the payment.

Re: your specific blockers — the 3DS problem is real and I don't think there's a clean developer solution today. The browser automation legal risk (Amazon v. Perplexity) is worth taking seriously. Virtual cards with per-merchant limits are probably the least fraught path for a while.

The Visa/Mastercard moves are interesting but I'd bet the real unlock is when businesses start issuing agent-specific cards with embedded policies rather than trying to retrofit consumer card rails. That's a few years out.

Tell HN: iPhone 6s still getting security updates

4•uticus•3h ago•2 comments

Why I'm moving away from Regex for LLM Agent security

2•aunicall•4h ago•0 comments

Ask HN: Have you successfully treated forward head posture ("nerd neck")?

41•trashymctrash•16h ago•30 comments

Ask HN: What was it like for programmers when spreadsheets became ubiquitous?

7•yodaiken•8h ago•7 comments

I built a platform to help developers find collaborators for new projects

3•deiv2002•11h ago•0 comments

How not to fork an open source project

5•jsattler•12h ago•0 comments

Toolpack SDK, an Open Source TypeScript SDK for Building AI-Powered Applications

2•sajeerzeji•9h ago•1 comments

Prompt to make Claude more autonomous in web dev

4•louison11•10h ago•1 comments

Claude broke a ZIP password in a smart way

7•jgrahamc•10h ago•2 comments

Ask HN: How do you use Coding Agents/CLIs out of coding?

4•arbayi•15h ago•5 comments

I traced $2B in nonprofit grants for Meta and Age Verification lobbying

89•theseusares•1d ago•20 comments

Ask HN: Why can't we just make more RAM?

23•chatmasta•1d ago•21 comments

Tell HN: Apple development certificate server seems down?

109•strongpigeon•4d ago•39 comments

MiniMax M2.5 is trained by Claude Opus 4.6?

10•Orellius•1d ago•10 comments

Ask HN: Got cancer, a new job,new boss in less than a year What do I do now?

19•Goleniewski•1d ago•17 comments

Ask HN: Would this eliminate bots for good?

2•piratesAndSons•14h ago•11 comments

Ask HN: 100k/year individual token usage?

7•alecsmart1•23h ago•3 comments

Ask HN: What's your biggest pain point when joining a new developer team?

8•KevStatic•1d ago•15 comments

Ask HN: Why have co-ops never played a major role in tech?

13•AbstractH24•1d ago•7 comments

Generate tests from GitHub pull requests

7•Aamir21•1d ago•3 comments

X is selling existing users' handles

197•hac•3d ago•91 comments

Ask HN: Is there prior art for this rich text data model?

5•chrisecker•1d ago•2 comments

Ask HN: Is Claude down again?

86•coderbants•3d ago•73 comments

Ask HN: Has anyone built an AI agent that spends real money?

3•xodn348•1d ago•4 comments

AI, Human Cognition and Knowledge Collapse – Daren Acemoglu

3•aanet•1d ago•3 comments

Ask HN: Looking for a job after layoff and burnout. What should I focus on

6•jacAtSea•16h ago•10 comments

Looking for Partner to Build Agent Memory (Zig/Erlang)

6•kendallgclark•2d ago•8 comments

Enabling Media Router by default undermines Brave's privacy claims

5•noguff•2d ago•2 comments

Instagram Ending Encrypted DMs

6•01-_-•1d ago•1 comments

Claude 4.6 Opus can recite Linux's list.h

25•itzmetanjim•2d ago•4 comments