Inspiration

The inspiration for Aegis CFO came from observing the current state of "DeFi" and the proliferation of high-risk, "casino-like" platforms on networks like Solana. While these apps focus on gambling and speculation, we felt there was a massive trust gap for organizations that actually want to manage capital responsibly. We wanted to move away from the "move fast and break things" mentality and build something that felt institutional, secure, and intelligent. This led us to the idea of a Secure Vault that isn't just a cold storage box, but is connected to a Real-Time AI Policy Engine that acts as a proactive guardian for your treasury.

What it does

Aegis CFO acts as an intelligent layer on top of your crypto treasury. It moves beyond simple multisigs by providing:

  • Autonomous Payroll: Set up recurring payment streams (Daily, Weekly, Monthly) with automated execution.
  • AI Policy Engine: Define complex spending rules in plain English (e.g., "Allow payments to AWS up to 500 MNEE") which are enforced on-chain.
  • Threat Neutralization: Proactively monitors for rogue agent behavior or compromised keys and blocks unauthorized drains before they hit the mempool.
  • Financial Intelligence: Provides real-time runway forecasting, asset tracking, and shadow spend detection.

How we built it

  • Frontend: Built with Next.js 14 and Tailwind CSS for a premium, institutional-grade dashboard. We used Framer Motion for smooth, high-fidelity animations.
  • Blockchain: Developed custom Solidity smart contracts (AegisGuard) to hold treasury funds and enforce AI-parsed rules. Integrated with Ethers.js for live Mainnet and Sepolia interactions.
  • AI: Leveraged Google Gemini 2.0 Flash to parse natural language policies into structured data and perform real-time risk analysis on transaction history.
  • Backend: Used Supabase for real-time audit logs, entity management, and financial analytics.

Challenges we ran into

  • Bridging AI and On-Chain Logic: Translating ambiguous natural language into strict, deterministic smart contract guardrails required careful prompt engineering and validation layers.
  • Real-Time Security: Implementing a system that can detect and block "rogue" transactions in real-time while maintaining a smooth user experience.
  • Data Integrity: Ensuring that treasury valuations and runway forecasts remained accurate across multiple networks (Mainnet/Sepolia) with live price feeds.

Accomplishments that we're proud of

  • Successfully building a fully functional end-to-end prototype that works on both Sepolia (for demo) and Ethereum Mainnet (for production).
  • Creating a premium UI/UX that feels like a professional fintech product, making complex treasury management accessible to any founder.
  • Implementing a Shadow Spend Detector that uses AI to find hidden recurring costs in transaction history.

What we learned

  • The power of combining AI agents with smart contract allowances to create "safe autonomy."
  • How to build a dual-mode architecture that allows users to test complex financial flows in a risk-free simulation before going live.

What's next for Aegis CFO: The Autonomous AI Treasury Manager

  • Institutional Vault Integration: Instead of relying solely on our custom vault, we plan to build on top of industry-standard custody solutions like Safe (formerly Gnosis Safe). Aegis would act as a Smart Module or Guardian, providing the AI-driven policy layer while leveraging the battle-tested security of established vault providers.
  • Multi-Agent Collaboration: Allowing different AI agents to manage specific sub-budgets (e.g., a Marketing Agent vs. an Engineering Agent) with cross-agent policy enforcement.
  • Advanced Yield Optimization: Automatically moving idle treasury funds into safe yield-bearing protocols (like Aave or Compound) based on upcoming payroll obligations and liquidity needs.
  • L2 Expansion: Deploying the AegisGuard module to Base and Arbitrum to significantly reduce operational costs for smaller DAOs and startups.

Built With

  • ethers.js
  • framer-motion
  • google-gemini-2.5-flash
  • hardhat
  • next.js-14
  • recharts
  • solidity
  • supabase
  • tailwind-css
Share this project:

Updates