Fireship · @fireship

AI agents are paying each other now…

Uploaded November 26, 2025 · Length 4:51

AI agents are paying each other now…

Summary

Exploring X42, a new protocol enabling micro payments with zero fees, and its potential to revolutionize internet payments.

  • x42
  • micro payments
  • zero fees
  • internet payments
  • ai economy
  • machine to machine payments

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    Earlier this year, online payments

  2. 0:01

    changed forever, and you probably didn't

  3. 0:03

    even notice. Every internet user has

  4. 0:05

    heard of the HTTP status code 404 not

  5. 0:08

    found. But if you're a web developer,

  6. 0:10

    you might have nightmares about status

  7. 0:12

    code 500, internal server error, which

  8. 0:14

    happens when your shoddy deployed code

  9. 0:16

    breaks in production. But there's one

  10. 0:18

    HTTP status code that's just been

  11. 0:20

    sitting there since 1997, waiting for

  12. 0:22

    its moment to shine, 402, payment

  13. 0:25

    required. It was reserved for future use

  14. 0:27

    back when the web was young and

  15. 0:28

    optimistic. But now, three decades

  16. 0:30

    later, we're still figuring out how to

  17. 0:31

    handle money on the internet without

  18. 0:33

    giving platforms like Stripe a 3% cut

  19. 0:35

    before the privilege of pressing some

  20. 0:37

    buttons. Well, that's about to change

  21. 0:39

    thanks to a new protocol developed by

  22. 0:40

    Coinbase called X42 that enables micro

  23. 0:43

    payments that can turn every API request

  24. 0:46

    into a tiny cash register with zero

  25. 0:48

    fees. And what's especially crazy is

  26. 0:50

    that these payments are instantaneous,

  27. 0:52

    frictionless, and open the door for

  28. 0:54

    machine toachine payments. Like, imagine

  29. 0:56

    an entire AI economy where AI agents are

  30. 0:59

    paying other AI agents to do whatever AI

  31. 1:01

    agents do. What could possibly go wrong?

  32. 1:04

    In today's video, we'll find out by

  33. 1:05

    taking a closer look at X42 and its

  34. 1:07

    promise to revolutionize the way money

  35. 1:09

    moves on the internet. It is November

  36. 1:11

    26, 2025, and you're watching the Code

  37. 1:14

    Report. One thing that sucks about

  38. 1:15

    platforms like Stripe is that they

  39. 1:17

    charge a 30 cent fee per transaction,

  40. 1:19

    which makes them overly complex for

  41. 1:21

    certain use cases. Like if you have an

  42. 1:23

    API where you charge one penny per

  43. 1:25

    request you'd be running at a negative

  44. 1:26

    3,000% profit margin. That's not

  45. 1:29

    acceptable even by Silicon Valley

  46. 1:30

    standards. So the solution is to force

  47. 1:33

    users to authenticate OOTH to verify a

  48. 1:35

    credit card, then either buy

  49. 1:36

    subscriptions or credits on your

  50. 1:38

    platform for a higher dollar amount and

  51. 1:39

    then replenish them when they run out.

  52. 1:41

    It's complicated, but X42 dramatically

  53. 1:44

    simplifies this workflow. In fact, it

  54. 1:46

    only takes one line of middleware code

  55. 1:47

    in Node.js to get up and running. If a

  56. 1:49

    buyer makes a request to a paid API

  57. 1:51

    endpoint, the server responds with an

  58. 1:53

    HTTP 402 code, which means a payment is

  59. 1:56

    required to complete the request. The

  60. 1:58

    user would then see a page like this

  61. 1:59

    asking them to connect a wallet at which