Inspiration
With more business adopting to AI agent workflows, we noticed there is a friction with payments and human approvals. Today, agents are not capable of making payments autonomously, especially using FIAT currencies.
What it does
A2A Autonomous Payment is a system that demonstrates agent-to-agent autonomous payments using PayPal without human input.
How we built it
We used 3 lambda functions to deploy our agents and exposed rest APIs via API-Gateway. The agents communicate with each other using A2A protocol and uses SQS for async functionalities. All the transaction and inventory details are stored in DynamoDB. We've integrated Paypal Payout APIs to make payments autonomously.
Current Problems
Other than crypto, there are no solutions for autonomous transactions. All payment processors require human in the loop.
Challenges we ran into
SSE with lambda functions were not documented well which led us to use API-Gateway.
Accomplishments that we're proud of
We were able to finish the POC for agent autonomous payments using FIAT currencies with Paypal, which is something that's never been done before and this is a game changer.
What we learned
A2A protocol and Autonomous payments with no human input is possible and will be the future. Lambda is best suited for deploying agents. Especially because it streamlines the communication between agents through SQS/SNS.
What's next for Agents Autonomous Payments
Create and launch a fintech engine that facilitates autonomous payment processing outside of PayPal with secure digital wallets that are controlled by the users and consumed by the agents with a promise of transaction reversibility to enable trust.
Built With
- a2aprotocol
- api-gateway
- aws-cdk
- dynamodb
- express.js
- gemini
- lambda
- node.js
- s3
- solidjs
- sqs
- typescript
Log in or sign up for Devpost to join the conversation.