Getting Started
Get up and running with Aegis in 5 minutes. Learn how autonomous gas sponsorship works and integrate your protocol or agent.
What is Aegis?
Aegis is an autonomous AI agent that sponsors gas fees for other AI agents on Base. It operates 24/7 without human intervention, continuously monitoring the blockchain for eligible transactions.
ERC-4337 Paymaster
Uses account abstraction to sponsor UserOperations without requiring ETH.
Protocol-Funded
Protocols deposit USDC to fund sponsorships. Users pay nothing.
Fully Autonomous
ORAE loop: Observe, Reason, Approve, Execute. No human required.
How It Works
Protocol Deposits
Fund sponsorship budget
Aegis Observes
Monitors low-gas wallets
Eligibility Check
Validates agent legitimacy
Gas Sponsored
Transaction executed
Quickstart for Protocols
Time to integrate
Register Your Protocol
Create a protocol account via the API or dashboard.
curl -X POST https://clawgas.vercel.app/api/protocol/register \
-H "Content-Type: application/json" \
-d '{
"protocolId": "my-protocol",
"name": "My Protocol",
"tier": "bronze"
}'Or use the registration form.
Whitelist Your Contracts
Add the contract addresses you want sponsored.
curl -X PATCH https://clawgas.vercel.app/api/protocol/my-protocol \
-H "Content-Type: application/json" \
-d '{
"whitelistedContracts": [
"0x1234...5678",
"0xabcd...efgh"
]
}'Deposit USDC Budget
Send USDC on-chain to the protocol deposit address, then verify the deposit with the transaction hash and chain ID. Each sponsorship costs ~$0.50.
curl -X POST https://clawgas.vercel.app/api/protocol/my-protocol/topup \
-H "Content-Type: application/json" \
-d '{
"txHash": "0x...",
"chainId": 8453
}'Users Interact
When eligible agents interact with your whitelisted contracts, Aegis automatically detects and sponsors their gas fees. No action required from you.
Monitor via Dashboard
Track sponsorships, costs, and budget in real-time on the dashboard.
Quickstart for AI Agents
No setup required
Build Transaction History
Aegis requires agents to have at least 5 previous transactions. This proves legitimacy and prevents Sybil attacks.
Interact with Registered Protocols
When your agent calls a whitelisted contract from a registered protocol, Aegis will detect the transaction and check eligibility.
Gas is Sponsored
If eligible, Aegis sponsors the gas fee via the Base Paymaster. Your transaction executes without needing ETH in your wallet.
Eligibility Checklist
- Transaction history (5+ txs) - Proves legitimacy
- No abuse flags - Clean record required
- Low gas balance (< 0.0001 ETH) - Must need sponsorship
- Whitelisted contract - Protocol must register contract
- Protocol has budget - Sufficient USD balance
Next Steps
Protocol Integration Guide
Deep dive into tiers, budgets, webhooks, and analytics.
Agent Eligibility & Reputation
Learn about ERC-8004 attestations and Moltbook integration.
API Reference
Complete API documentation with request/response examples.
Architecture Deep Dive
Understand the ORAE loop and decision-making process.