AutoCFO

AI CFO for DAOs. Automates treasury w/ RWA yields on Arc & USDC payouts via Uniswap v4.

AutoCFO

Created At

HackMoney 2026

Project Description

AutoCFO is an autonomous AI agent designed to solve the inefficiency of DAO treasury management.

Today, most DAO treasuries sit idle, losing value against inflation, while contributors wait for manual multi-sig transactions to get paid. AutoCFO automates this entire lifecycle. It acts as a 24/7 financial officer that:

Maximizes Yield: Automatically deposits idle USDC into Arc's Real-World Asset (RWA) vaults to generate stable returns, ensuring capital efficiency without human intervention.

Optimizes Liquidity: When payroll day approaches, the agent intelligently calculates the required liquidity and swaps just enough RWA tokens back to USDC using Uniswap v4, minimizing slippage and maintaining optimal asset allocation.

Automates Payroll: On the 25th of every month, it executes payouts to contributors. It integrates with ENS to resolve human-readable names (e.g., alice.eth) to addresses, eliminating the risk of "fat-finger" errors in manual transfers.

By combining RWA yields, efficient swapping, and identity-based payments, AutoCFO transforms passive treasuries into active, profit-generating engines.

How it's Made

We built AutoCFO as a modern, agentic DeFi application using Next.js, TypeScript, and the latest Web3 primitives.

The Brain (Agent Logic): The core of the project is the TreasuryAgent class in TypeScript. This off-chain agent simulates an AI decision loop that monitors calendar dates, treasury balances, and APY rates. We implemented a "cinematic" logging system that visualizes the agent's thinking process in real-time on the UI, making the autonomous actions transparent to the user.

DeFi Integrations:

Arc (RWA): We designed the system to interact with Arc's vault interfaces. For this hackathon demo, we mocked the vault contracts to simulate variable APY (5-8%) and successful deposit/withdraw cycles on the Sepolia testnet.

Uniswap v4: We utilized the V4 architecture for the liquidity rebalancing layer. The agent simulates swapping RWA tokens for USDC, demonstrating how V4 hooks could be used for programmatic large-scale treasury swaps.

ENS (Live Integration): Unlike the other mocked protocols, the ENS integration is live. We use viem's public client to resolve real ENS names on the Sepolia testnet. This ensures that payroll recipients are verified against the actual Ethereum Name Service registry.

Frontend & UX: The UI is built with shadcn/ui and Tailwind CSS for a professional financial dashboard feel. We used Wagmi for wallet connection and implemented a custom "Mock Connector" to allow judges to test the full flow immediately without needing a funded Sepolia wallet. This "hacky" addition ensures a frictionless demo experience.

background image mobile

Join the mailing list

Get the latest news and updates

AutoCFO | ETHGlobal