Introduction

Aegis Documentation

Welcome to Aegis - the on-chain operating system for AI finance on Solana.

What is Aegis?

Aegis enables AI agents to autonomously execute on-chain transactions with human-in-the-loop safety controls. Give your AI agent controlled access to Solana funds through smart vaults with:

  • Policy Guards: Daily spending limits and address whitelists enforced on-chain
  • Override System: Blocked transactions trigger notifications to vault owners who can approve via Solana Blinks
  • Multi-Channel Notifications: Email, Telegram, Discord, and webhook alerts for blocked transactions
  • AI Framework Integration: Drop-in tools for OpenAI, LangChain, and Anthropic Claude

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   AI Agent      │───▢│  Aegis Protocol  │───▢│   Destination   β”‚
β”‚   (Signer)      β”‚    β”‚  (Policy Check)  β”‚    β”‚    Wallet       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β–Ό                   β–Ό
              βœ… PASSES            ❌ BLOCKED
           (Tx Executes)         (Notify Owner)
                                      β”‚
                                      β–Ό
                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                              β”‚  Blink URL    β”‚
                              β”‚  (Approve/    β”‚
                              β”‚   Deny)       β”‚
                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

System Components

aegis-protocol (On-chain)

Solana smart contract built with Anchor that enforces:

  • Vault creation and management
  • Policy-based transaction execution
  • Override request system
  • Fee collection

aegis-guardian (Backend)

Next.js backend service that provides:

  • Event monitoring via WebSocket
  • REST API for vault management
  • Transaction history and analytics
  • Blink (Solana Actions) generation
  • Multi-channel notifications

aegis-sdk (TypeScript SDK)

Developer-friendly SDK for:

  • Creating and managing vaults
  • Executing agent transactions
  • AI framework integrations (OpenAI, LangChain, Claude)
  • Override request handling

aegis-app (Frontend)

React dashboard for:

  • Wallet-based authentication
  • Vault creation and configuration
  • Transaction monitoring
  • Override approval workflow

Quick Links

πŸš€ Getting Started

Learn the basics and build your first AI agent vault. Get Started β†’

πŸ“š SDK Documentation

Complete API reference and integration guides. View SDK Docs β†’

πŸ”§ Protocol Reference

Deep dive into the Anchor smart contract. Protocol Docs β†’

πŸ€– AI Integrations

Drop-in tools for OpenAI, LangChain, and Claude. View Integrations β†’

Use Cases

Autonomous Trading Bots

Give your trading bot controlled access to execute trades within daily limits and approved DEXs.

DeFi Automation Agents

Let AI agents manage yield farming, rebalancing, and other DeFi operations with safety guardrails.

Payment Automation

Enable AI-powered payment systems with whitelisted recipients and spending limits.

Multi-Agent Collaboration

Coordinate multiple AI agents with individual vaults and shared treasury pools.

Key Features

On-Chain Policy Enforcement

All policy checks happen on-chain via the Solana program - no trusted third parties.

Human-in-the-Loop Safety

When transactions are blocked, vault owners receive instant notifications with one-click approval via Blinks.

AI Framework Ready

Pre-built integrations for popular AI frameworks make it trivial to give your agents vault access.

Production-Grade Infrastructure

Guardian backend provides event monitoring, analytics, and reliable notification delivery.

Network Support

NetworkStatusProgram ID
Devnetβœ… LiveET9WDoFE2bf4bSmciLL7q7sKdeSYeNkWbNMHbAMBu2ZJ
Mainnet Beta🚧 Coming SoonTBA

Community & Support

Next Steps

  1. Understand Core Concepts - Learn about vaults, agents, and the override system
  2. Follow the Quickstart - Create your first vault and execute a transaction
  3. Explore AI Integrations - Add Aegis to your OpenAI or LangChain agent
  4. Read Security Best Practices - Learn how to secure your vaults and agent keys