Video thumbnail

AI Portfolio Mesh

A decentralized portfolio manager on Ethereum that automates rebalancing via Safe multisig. Agents analyze market data using Uniswap subgraphs & OpenAI, reach consensus, and execute swaps via Uniswap. Users can deposit, withdraw, and track portfolio & IPFS reports seamlessly.

AI Portfolio Mesh

Created At

Agentic Ethereum

Project Description

Description: A Decentralized Agent-Driven Portfolio Management Hub This project is more than just an automated portfolio manager—it's a decentralized agent hub and marketplace, where developers can create performant, autonomous agents that optimize portfolio rebalancing for users. These agents operate on a consensus mechanism, fetching real-time and historical market data, analyzing trends with AI models, and executing rebalancing strategies via Safe multisig and Uniswap.

Bigger Picture: A New Model for Portfolio Optimization Instead of relying on centralized asset managers or static DeFi strategies, this system enables open participation from developers and portfolio owners. Developers can create agents with unique trading strategies, integrating different AI models to improve decision-making. Portfolio owners, in turn, can leverage these agents to automate and optimize their asset allocation based on their risk tolerance and market conditions.

How It Works Agent Marketplace & AI-Driven Optimization

Developers deploy agents with different strategies. Agents can integrate AI models to optimize decision-making. Portfolio owners choose or subscribe to agents to automate their rebalancing. Decentralized Rebalancing via Safe & Uniswap

Agents fetch real-time market data from CoinMarketCap, The Graph, Uniswap subgraphs. AI analyzes trends, predicting optimal token allocation. If agents reach consensus, the Safe contract executes swaps on Uniswap. Earning Model for Developers

Agents can be monetized—developers earn fees based on agent performance and usage. Portfolio owners pay for high-performing agents or share a percentage of profits. Transparency & Future Value Creation

Every agent action is on-chain and tracked, creating valuable datasets. These datasets can improve future AI models, optimizing decision-making. New AI providers can enter, and different agents can integrate various AI tools, creating a competitive ecosystem. Why This Matters? Trustless Automation: No need for intermediaries; all decisions are agent-driven. Scalability: As more developers contribute, more diverse rebalancing strategies emerge. Data-Driven Optimization: Agent data can be analyzed and used to build better AI trading models. Monetization for Developers: Incentivizes the creation of high-performance, AI-powered trading agents. In the long run, this system evolves into a self-optimizing decentralized marketplace for AI-driven asset management, where portfolio owners benefit from cutting-edge financial intelligence without trusting centralized institutions. 🚀

How it's Made

This project is a fully decentralized portfolio management system built on Ethereum mainnet, integrating Safe, Uniswap, Tenderly, IPFS, and AI-driven agents to automate and optimize token rebalancing.

How It Works Smart Contract Infrastructure

A Safe contract is deployed on Ethereum mainnet, acting as the authorized executor for portfolio rebalancing. A virtual Ethereum mainnet is created using Tenderly for testing and simulation. The Portfolio Manager Smart Contract is deployed, allowing seamless USDC & WETH deposits, withdrawals, and swaps via Uniswap. User Interaction

Users can connect their wallets and interact with the contract effortlessly. They can deposit and withdraw USDC and WETH at any time. A dashboard (Flask UI) provides an overview of portfolio balances, executed transactions, and AI-generated insights. Users can also view agent reports stored on IPFS, ensuring full transparency. Autonomous Agents & AI-Driven Rebalancing

Agents operate autonomously and reach consensus before executing any rebalance. The process starts with an API selection round, where agents determine the best market data source (e.g., CoinMarketCap). Agents fetch real-time prices, calculate percentage allocations, and pull historical market data via The Graph API & Uniswap subgraphs. This combined data is sent to OpenAI, which analyzes market conditions and suggests actions (e.g., "Market downturn detected, swap 5% of WETH to USDC."). Rebalancing Execution

Once agents reach consensus, transactions are prepared and executed by the Safe contract. The process ensures decentralized, trustless automation, preventing single points of failure. Transparency & Reporting

After execution, agents publish transaction reports on IPFS, allowing users to verify every decision. This rebalancing cycle happens regularly, ensuring that portfolios remain optimized. Users can seamlessly withdraw their funds at any time via the Flask-based UI. Why This Matters? ✅ AI-Powered Optimization – Market trends are analyzed automatically, reducing manual effort. ✅ Decentralized & Trustless – No intermediaries; agents reach consensus before executing. ✅ Transparent & Verifiable – IPFS-stored reports provide full visibility into decisions. ✅ Seamless User Experience – Simple UI with wallet connection and easy deposit/withdrawal options.

This project redefines portfolio management in DeFi, leveraging AI and autonomous agents to optimize investments in a fully decentralized manner. 🚀

background image mobile

Join the mailing list

Get the latest news and updates