PortAI

PortAI

Onchain agentic portfolio managnent using Enso and safe

Created on 14th February 2025

PortAI

PortAI

Onchain agentic portfolio managnent using Enso and safe

The problem PortAI solves

The Problem It Solves
This agent streamlines DeFi vault management on Gnosis Safe using Enso by automating essential operations that traditionally require manual intervention. By automating core functions like rebalancing, deposits, and withdrawals, it eliminates the need for constant manual oversight and reduces operational risks.
Users can leverage this automation for:

Maintaining optimal portfolio allocations through automated rebalancing
Managing liquidity efficiently with automated deposits and withdrawals
Reducing the risk of human error in transaction execution
Saving time on routine vault operations

This solution is particularly valuable for treasury managers, investment DAOs, and teams managing multiple vaults who need efficient, secure, and reliable automation for their DeFi operations.

Challenges we ran into

During the development of this automation agent, we encountered few challenges like:

Transaction Queue Management
One of our initial hurdles was ensuring proper handling of multiple automated transactions in the queue. We needed to carefully manage transaction ordering and timing to prevent conflicts, especially during rebalancing operations. We solved this by implementing a robust queue management system with built-in safety checks.
Gas Optimization
Automating multiple operations required careful consideration of gas costs, particularly for rebalancing transactions. We overcame this by implementing batching mechanisms and optimizing the transaction parameters to reduce overall gas consumption.
Safe Integration Complexity
Integrating with Gnosis Safe's multisig infrastructure presented challenges in handling transaction signatures and confirmations in an automated way. We resolved this by developing a comprehensive understanding of Safe's transaction flow and implementing proper error handling mechanisms.

Tracks Applied (17)

DeFAI: Best-In-Class

Our agent demonstrates best-in-class DeFAI capabilities by combining intelligent automation with enterprise-grade securi...Read More

DeFAI: Best DeFAI agent on Arbitrum

This Gnosis Safe automation agent exemplifies the core principles of DeFAI (Decentralized Finance AI) by bringing intell...Read More

DeFAI: Develop a chain agent for any Safe App listed in the Safe tab under ‘Apps’

The agent seamlessly integrates with the Safe ecosystem to: Automate Safe App Operations Provides intelligent automatio...Read More

DeFAI: Automate integrations

PortAI revolutionizes DeFi operations by automating complex protocol integrations through an intelligent Gnosis Safe age...Read More

DeFAI - Build Autonomous DeFi Agents that seamlessly integrate with DeFi protocols to automate, optimize, and execute various financial operations.

PortAI demonstrates seamless integration between autonomous agents and DeFi protocols through Gnosis Safe, enabling inte...Read More

Treasury Management: Best Overall

Our Gnosis Safe automation agent directly addresses key challenges in modern treasury management by providing intelligen...Read More

AI Advancement - Enhance your agent with onchain read/write capabilities and decentralised storage. Use it in combination with all other tracks

AI Advancement: Enhanced Agent Capabilities Track PortAI showcases advanced onchain integration capabilities through an...Read More

AI Advancement - Best Multi-Model Synergy Agent

PortAI demonstrates advanced multi-model AI orchestration through Safe's infrastructure, enabling sophisticated DeFi aut...Read More

AI Advancement: Most Autonomous Agent

Our agent demonstrates advanced autonomous capabilities in DeFi operations through sophisticated automation mechanisms: ...Read More

Smart Account Tooling - Best onchain agent co-pilot using Smart Sessions

Smart Account Tooling: Smart Sessions Co-Pilot Track Our project introduces an intelligent co-pilot agent that leverages...Read More

Smart Account Tooling - Connecting AI Agents with Safe: Core Infrastructure & Developer Tooling

Smart Account Tooling: AI Agent Infrastructure Track Our project establishes core infrastructure bridging AI agents wit...Read More

Smart Account Tooling - Best Tools/Infra for Agent x Safe Communication

Smart Account Tooling Track Alignment Our implementation provides a robust technical framework for agent-Safe communicat...Read More

Smart Account Tooling - Best Autonomous Agent using GAME SDK and GAME plugins.

DeFAI: Embedding DeFi in agents using Safe & Enso

DeFAI: Safe & Enso Integration Track Our project demonstrates advanced DeFi strategy automation by seamlessly integrati...Read More

DeFAI: Autonomous Business Agents

DeFAI: Autonomous Business Agents Track PortAI transforms business-level DeFi operations into autonomous processes thro...Read More

AI Advancement: Best-in-class

AI Advancement: Best-in-Class Track PortAI demonstrates cutting-edge AI capabilities in DeFi automation through sophist...Read More

Smart Account Tooling: Humans X AI

Smart Account Tooling: Humans X AI Track Our project bridges human intelligence with AI automation within Gnosis Safe, e...Read More

Discussion

Builders also viewed

See more projects on Devfolio