Safe DeFi for AI agents. On-chain spending limits, session keys, and smart contract enforcement.
Agent Actions is a wallet security architecture for AI agents using ZeroDev Kernel smart accounts with session keys and on-chain spending caps.
Every AI agent DeFi SDK fires transactions without safety guardrails. A prompt-injected agent with signing authority could drain a wallet.
- ZeroDev Kernel: Smart contract wallet with session keys
- On-Chain Limits: Custom Solidity spending cap policy
- Web Dashboard: Configure limits, enable protocols, revoke access
User (EOA) → Dashboard → ZeroDev SDK → Kernel Account (on-chain)
├── ECDSA Validator (sudo = user)
├── Permission Validator (regular = bot)
│ ├── Call Policy
│ └── SpendingCapPolicy
└── Session Key (bot's address)
Bot → MCP Server → ZeroDev SDK → Kernel Account → Uniswap
- Composable Spending Caps: USD cap, per-token cap, allowlist, unrestricted
- Curated DeFi Registry: Pre-vetted protocols (starting with Uniswap)
- Session Keys: Bot gets scoped permissions, user retains full control
- Defense-in-Depth: Three layers of protection
See the comparison analysis for detailed security analysis vs. other approaches.
🚧 Under development. Not ready for production use.
This project is optimized for Optimism and other L2 networks.
MIT