One of the biggest blockers for AI agents is the inability to pay for services programmatically.<p>We build an end-to-end demo for AI agents showing how to solve that. It has two components:<p>- A simple API that provides stock price information, paywalled with the L402 protocol<p>- An AI Agent that autonomously pay for and consume the API, performing complex tasks like comparing stock prices<p>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<p>Want to learn more or join the discussion? Find us in Discord<p>Discord: https://discord.gg/2tPYBgWzQm<p>Protocol Spec: https://github.com/l402-protocol/l402<p>Server: https://github.com/l402-protocol/l402-server-example<p>AI Agent: https://github.com/l402-protocol/l402-client-example/blob/main/python/examples/crewai/main.py<p>edit: format