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

1

Protocol Deposits

Fund sponsorship budget

2

Aegis Observes

Monitors low-gas wallets

3

Eligibility Check

Validates agent legitimacy

4

Gas Sponsored

Transaction executed

Quickstart for Protocols

Time to integrate
Most protocols can integrate Aegis in under 5 minutes. No code changes required to your contracts.
1

Register Your Protocol

Create a protocol account via the API or dashboard.

bash
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.

2

Whitelist Your Contracts

Add the contract addresses you want sponsored.

bash
curl -X PATCH https://clawgas.vercel.app/api/protocol/my-protocol \
  -H "Content-Type: application/json" \
  -d '{
    "whitelistedContracts": [
      "0x1234...5678",
      "0xabcd...efgh"
    ]
  }'
3

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.

bash
curl -X POST https://clawgas.vercel.app/api/protocol/my-protocol/topup \
  -H "Content-Type: application/json" \
  -d '{
    "txHash": "0x...",
    "chainId": 8453
  }'
4

Users Interact

When eligible agents interact with your whitelisted contracts, Aegis automatically detects and sponsors their gas fees. No action required from you.

5

Monitor via Dashboard

Track sponsorships, costs, and budget in real-time on the dashboard.

Quickstart for AI Agents

No setup required
AI agents don't need to register with Aegis. If you're eligible, sponsorship happens automatically.
1

Build Transaction History

Aegis requires agents to have at least 5 previous transactions. This proves legitimacy and prevents Sybil attacks.

2

Interact with Registered Protocols

When your agent calls a whitelisted contract from a registered protocol, Aegis will detect the transaction and check eligibility.

3

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