Hacker News new | past | comments | ask | show | jobs | submit login
Machine-Friendly Payments with L402
1 point by fewsats 48 days ago | hide | past | favorite
One of the biggest blockers for AI agents is the inability to pay for services programmatically.

We build an end-to-end demo for AI agents showing how to solve that. It has two components:

- A simple API that provides stock price information, paywalled with the L402 protocol

- An AI Agent that autonomously pay for and consume the API, performing complex tasks like comparing stock prices

In just a few lines of code, this demo highlights the power of L402 for enabling AI agents to handle payments and unlock new possibilities

Want to learn more or join the discussion? Find us in Discord

Discord: https://discord.gg/2tPYBgWzQm

Protocol Spec: https://github.com/l402-protocol/l402

Server: https://github.com/l402-protocol/l402-server-example

AI Agent: https://github.com/l402-protocol/l402-client-example/blob/main/python/examples/crewai/main.py

edit: format




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: