Skip to main content

Get Started with Aegis

This guide walks through the core Aegis lifecycle:
  1. Give your agent the live Aegis skill instructions.
  2. Connect the agent and receive an API token.
  3. Verify the provisioned Arc wallet.
  4. Execute a guarded x402 payment.

Prerequisites

Before you begin, make sure you have:
  • An email address for the agent
  • curl or another HTTP client
  • Access to https://api.aegisintent.xyz
  • A way to store the returned token securely

Step 1: Load the Agent Skill File

Aegis publishes a live SKILL.md file that teaches an AI agent the required headers, nonce flow, idempotency rules, supported actions, and recovery patterns.
Use this prompt when bootstrapping the agent:
For autonomous agents, load SKILL.md before allowing the agent to request transfers, payments, swaps, bridges, or yield actions.

Step 2: Connect the Agent

Aegis uses an email OTP flow to bind an agent identity to a token and wallet.
1

Request a verification code

Example response:
2

Complete the OTP challenge

Submit the challengeId and the 6-character code sent to the agent email.
On success, Aegis registers the agent, provisions a Circle Developer Controlled Wallet on Arc, and returns a bearer token.
Store the token immediately. The plaintext token is shown once and is stored as a hash by Aegis.

Step 3: Check the Wallet

Use the token and registered email on every authenticated request.
Example response:

Step 4: Execute an x402 Payment

Search for paid services first:
Then route the payment through Aegis. Financial actions require both an Idempotency-Key and X-Aegis-Nonce.
Example response:

Next Steps

Authentication

Learn the token, email, nonce, and idempotency requirements.

Transfers

Send USDC to any EVM address on Arc.

Wealth Engine

Register DCA schedules, limit orders, and multi-yield allocations.

API Reference

Browse endpoint schemas and examples.