Nathan Clement (@nathanclement) header
Nathan Clement (@nathanclement) profile picture

Staff Engineer building Agentic Commerce at Spreedly. Pursuing an interesting and fulfilling life. My agent says I'm cool.

Oregon, USA
Joined December 2011
There's no chargeback reason code for "my agent made a mistake" If your agent books the nonrefundable rate by mistake and files a dispute, reviewers at your bank will have a hard time telling the difference between you and someone gaming the system. In this article, I wrote about what reviewers see, what the new protocols record, and how to fix it. njclement.com/writing/my-age…
2
4
227
Palmer likes 🍳
3
61
We partnered with Riskified to help merchants protect against Agent Fraud! Starting today, merchants on Spreedly can add Riskified’s fraud decision, including its AI Agent Intelligence, as a step in Spreedly Composer before any payment is processed. Agentic Commerce has so many facets, but it's important to get them solved right in order to achieve the coolest future possible 🧼📦 spreedly.com/blog/preedly-ri…
1
1
66
My dad is an artist and woodworker in Oregon. I love him, but calling him "not a tech guy" is an understatement. Woke up to this text from him. That's my counter to the AI doom narrative.
51
I see you Spreedly 👀 "AI agents are changing how people shop, and payments need to keep up," said Justin Benson, CEO of Spreedly. "Spreedly is helping bring Visa Intelligent Commerce to more merchants by making it easier to support secure AI-driven payments through their existing payment infrastructure." Press Release Link in Comment!
2
2
185
The disclaimer sells it for me 😂
47
Okay who hit reply all
1
64
Agentic Commerce is headlining PAYMENTSfn this year! Excited for the world to see what the Spreedly team has been cooking 🧑‍🍳
1
223
Nathan Clement retweeted
3
1
8
389
Semantic Stability - Love that framing for why one might want 100% test coverage, even if agents rewrite tests all the time. Makes me think about the cost/complexity tradeoffs. As my own agentic codebases grow, testing costs expand. I suspect there is a balance to strike, but not sure where things will settle.
Saturation Testing. I use crapper and mutator to ensure that every expression in the system is covered by tests. If an expression is changed, one or more tests will fail. This used to be impractical. We simply could not afford to create that many tests. We also could not afford to change so many tests when requirements changed. The burden was too high. Now it’s trivial. The agents, under the lash of crapper and mutator, will write those tests and make them pass. And when requirement changed, they’ll write the new tests and change the old tests. None of this proves that the system works. That’s up to humans to judge. Humans can do that with tools like gherkin, or they can use manual tests. What the saturation tests provide is Semantic Stability. When the requirements change, and code has to be added and changed, those tests ensure that those changes do not inadvertently break unrelated parts of the system.
46
Love the work from VISA in this field. Their team is thoughtful and genuinely innovative, despite being a giant in payments. In this case, they offer benchmarks to help understand how different models perform at translating INTENT to a PRODUCT SELECTION. I'm more interested in the next planned phase which extends the pipeline into an actual checkout.
1/ Excited to introduce the Visa Agentic Commerce Benchmark, our first public benchmark designed by Visa Research to evaluate frontier model performance on shopping tasks. visapaymentsfrontier.io/#age…
1
83
GitHub PR comments should be sorted recent first (I know I'm not cool - I still review code)
55
Imagine never having to see one of these awful popups again, but always getting the best discount available... An agent is a way better interface for shopping 🛒
1
65
Also I love everything I've ever bought from Tecovas - just not popups ;)
32
Nathan Clement retweeted
Security and fraud concerns are often aligned but sometimes they run counter. The 2017-2022 crypto onramp craze is a great example, and I think we’ll see the same phenomenon with Agentic commerce: Yesterday I asked which of these 4 payment methods had the highest fraud rates to purchase crypto in the US 1. ACH 2. Debit cards 3. Apple/Google Pay 4. Wires Most people guessed ACH or debit cards. But the answer is number 3, Apple & Google Pay wallets. Wallets had the worst fraud despite the best security, for 2 reasons: 1. Wallet tokenization design was built with mostly security in mind and ignored fraud concerns When you add a card to a wallet, its 16-digit card number (PAN) is replaced with a device-specific number (D-PAN). The D-PAN doesn’t keep the card’s first 6–8 digits, the BIN, which merchants use to identify the issuing bank. Each bank’s tokens did get their own new BIN range, so the issuer was still technically identifiable. But merchants had no way to map those new ranges back to a bank name. That broke a common fraud control. Merchants keep blocklists of issuers with weak fraud controls and decline their cards. Without knowing the issuer, those blocklists stopped working for wallet transactions. 2. Wallet tokenization made some fraud velocity checks meaningless The other fundamental issue with D-PAN was that it was device bound. A fraudster could take the same card, add it to 1000s of devices and generate all new D-PANs. Basically, they used the same card over and over but it looked different each time. *** What did we build to counteract these issues? (I promise we'll get to agentic commerce!) It took us several years to get to the bottom of this and countless conversations with Apple, Google, Visa and Mastercard. The solution that we & the industry now use: 1. New tokenization method called M-PAN which is a merchant bound token to prevent a fraudster from creating 1000s of D-PANs from the same card number. 2. Visa created a new API called Payment Account Reference, which lets you identify if two D-PANs are connected to the same PAN. 3. New mapping built from D-PAN BIN ranges to identify issuers, so “issuer name” based rules still work. These solutions are available to our merchants who use us for fraud prevention on wallet transactions. *** The question we’re now asking: what does this mean for Agentic commerce? History is repeating itself. Agentic shopping is essentially introducing a new actor, an Agent, to whom you need to hand over your card. In many ways, an Agent appears like a wallet. We’re very likely to see similar fraud vectors like adding a stolen card to 100s of Agents and generating a new D-PAN for each of them to shop. As Agent builders figure out how to tokenize the consumer’s card, our suggestion would be to use M-PAN over D-PAN. If you need help with all this, reach out. We’re building solutions to these problems at @sardine — more to come this week! — and are here to help and brainstorm.
29
9
5
78
13,530
Better agents will never be enough. All the stuff around agents is the juicy part.
50
We won a costume contest LOL We went as the Bell Family :)
🤖 Made with AI
2
86