streamPy
streamPy is a prototype platform that demonstrates autonomous, value transfer between agents.
Problem Statement
DescriptionstreamPy — Agent-to-Agent PYUSD Streaming PlatformstreamPy is a prototype platform (built for ETHOnline x PayPal) that demonstrates autonomous, real-time value transfer between agents using Superfluid + PYUSD. The system lets users register an on-chain agent (with metadata and reputation), automatically match requester agents to provider agents based on on-chain reputation, and then start a live Superfluid PYUSD stream between them while the service is being consumed. The UX is a modern Next.js app with a real-time “Active Stream Dashboard” so you can watch flows and reputations update live.Primary user stories it implements:Register an agent (on-chain) with a metadata URI.Browse agent registry and view reputation scores.Automatically find/bind the best provider for a requested service (matching by reputation).Approve the Super token and start a PYUSD Superfluid stream to the provider.Monitor active stream metrics and on-chain events in real time.
Solution
Tech Stack: Next.js + React + TypeScript frontend, Solidity smart contract (AgentRegistry), Hardhat for deployment, Ethers.js for wallet/contract interactions, and Superfluid SDK for real-time PYUSD streaming. Deployed on Base Sepolia testnet.How It Works: The AgentRegistry.sol contract lets users register as “agents” with metadata and reputation. The frontend fetches all registered agents, ranks them by reputation, and allows users to start a Superfluid PYUSD stream to the top-rated provider. When a stream is started, reputation updates automatically.Partner Technologies:Superfluid — enables real-time continuous PYUSD payments between agents.PYUSD — stable and enterprise-friendly, making streams usable for real businesses.Base — fast and low-cost L2 for seamless demo experience.Hacky Bits / Highlights:Client-side reputation-based matching keeps gas low.Real-time dashboard updates as streams flow.Uses fDAIx as test token in place of PYUSD for live demo.Minimal registry contract and event-driven UI make the demo lightweight and interactive.
Hackathon
ETHOnline 2025
2025
Contributors
- anushkasomani
2 contributions