project screenshot 1
project screenshot 2
project screenshot 3

Pietro

AI-powered anti-rug pull trading agent using Hyperbolic, an AVS, to securely fetch data from Web2 and Web3 exchanges. It makes swaps only when safe, leveraging a custom LLM to detect and flag blacklisted addresses.

Pietro

Created At

Agentic Ethereum

Winner of

Coinbase

Coinbase Developer Platform - AgentKit Pool Prize

Prize Pool

Project Description

The user begins by creating a new wallet through the agent, which is securely generated using the Coinbase SDK. A secret key is provided for secure storage, ensuring user control over the wallet. After generating the wallet, the user downloads the project repository and configures the environment to begin real-time monitoring and trading.

Once set up, the user selects a token pair (e.g., swapping ETH for USDC) for real-time monitoring. The AI agent continuously tracks both on-chain and off-chain data, ensuring optimal conditions for executing trades. Before any swap, the agent conducts an in-depth risk assessment, analyzing market conditions such as liquidity, slippage, and volume. It also verifies transaction safety by detecting potential rug pulls or anomalous activities and checks for blacklisted wallets or flagged contracts.

If all safety checks are passed, the agent automatically executes the swap on the designated exchange, ensuring transactions are securely broadcasted using the AI agent’s wallet. The system continuously monitors market trends and dynamically adjusts its strategy. In case of a flagged event, such as a potential rug pull, the agent can halt trades or alert the user.

This AI-powered trading agent is built for security and efficiency, leveraging Hyperbolic AVS for robust real-time data aggregation. It integrates the Coinbase Wallet SDK for enhanced security and employs AI-driven risk assessment to prevent rug pulls and malicious transactions. The system operates autonomously, providing real-time monitoring and secure swap execution, ensuring a safe and optimized trading experience.

How it's Made

  1. Wallet Creation & Setup The user creates a new wallet using the Coinbase SDK, ensuring security and compatibility with major exchanges. A secret key is generated and provided to the user for safe storage. The user downloads the project repository and sets up the necessary environment, including dependencies and API keys.
  2. Hyperbolic AVS for Real-Time Data Aggregation The project integrates Hyperbolic AVS, which is a specialized AVS (Actively Validated Service) that collects real-time blockchain data. This allows the AI agent to gather and analyze on-chain and off-chain information from multiple sources, such as DEX liquidity pools, token analytics, and price feeds. The data is crucial for detecting market anomalies, rug pulls, and security risks.
  3. AI-Powered Risk Assessment Before executing a swap, the AI agent performs a multi-layer security check: Market Analysis: Checks liquidity, slippage, and volume of the selected token pair. Transaction Safety: Detects anomalies in token behavior and prevents rug pulls. Blacklist & Address Verification: Uses a custom LLM (Large Language Model) to identify blacklisted wallets and malicious smart contracts.
  4. Real-Time Token Monitoring The user specifies a token pair (e.g., ETH → USDC) for monitoring. The AI agent tracks price changes, liquidity levels, and transaction patterns to ensure optimal trading conditions. If the system detects suspicious activity, it can halt trades, alert the user, or adjust swap parameters dynamically.
  5. Secure Swap Execution If all safety checks pass, the AI agent executes the token swap on a supported decentralized exchange (DEX). The transaction is broadcasted securely using the wallet generated by the agent. The system uses Coinbase SDK for handling transactions securely.
  6. Continuous Monitoring & Optimization The AI agent continuously scans market trends and adjusts its trading strategy accordingly. It can automatically halt trades or notify the user if it detects a high-risk situation (e.g., a suspected rug pull, sudden liquidity drain, or large whale movements). The system learns from previous trades using machine learning models, improving its risk assessment and swap execution efficiency over time. Technologies Used Hyperbolic AVS – For real-time blockchain data aggregation. Coinbase SDK – For secure wallet generation and transaction execution. Ethers.js – For interacting with Ethereum and other EVM-based chains. Custom LLM – For detecting and flagging blacklisted addresses and malicious contracts. Machine Learning Models – To optimize risk detection and improve trade execution. How It Works in Practice User creates a wallet → Gets a secret key. User sets a token pair → AI starts monitoring market conditions. AI agent checks for safety risks → Ensures liquidity, detects scams, and verifies addresses. If conditions are safe, a swap is executed → Transaction is securely broadcasted. The agent keeps monitoring the market → Adjusts trading strategy dynamically. This results in an autonomous, AI-powered trading system that ensures safe swaps, prevents rug pulls, and maximizes trading efficiency while operating in real time.
background image mobile

Join the mailing list

Get the latest news and updates