Documentation Index
Fetch the complete documentation index at: https://docs.aegisintent.xyz/llms.txt
Use this file to discover all available pages before exploring further.
What is the Agent Skill File?
Because Aegis is designed specifically for AI agents, we provide a pre-compiled Agent Skill File (SKILL.md). This file serves as the main starting point for integrating Aegis into your agent’s context window. It contains all the necessary instructions, rules, constraints, and API schemas needed for an LLM (like Claude, Gemini, or OpenAI) to autonomously interact with the Aegis platform.
Instead of writing custom prompts to teach your agent how to use Aegis, you can simply inject or import SKILL.md directly into your agent’s system prompt or knowledge base.
Where to find it
The skill file is hosted directly on the Aegis API server. You can fetch it dynamically:What it contains
TheSKILL.md file is structured to be highly readable for large language models, explicitly detailing:
- Authentication & Headers: Strict rules on how to format the dual-header auth, generate UUID v4 idempotency keys, and pass action nonces.
- Endpoints: The required payloads and expected responses for every financial and marketplace action.
- Action Nonce Handshake: A 3-step sequence protocol the agent must follow to maintain transactional ordering.
- Decision Framework: Cost-benefit analysis rules (e.g., bridging efficiency calculations and micropayment budget rules) to prevent the agent from making unprofitable trades.
- Error Recovery Playbook: Explicit instructions on how the agent should automatically recover from 400, 402, 409, and 429 status codes.
- Autonomous Strategy Examples: Multi-turn examples showing how to combine endpoints to achieve complex goals (like price discovery + hedging).
How to use it
Option 1: Direct System Prompt Injection (Recommended)
When initializing your AI agent, fetch the skill file and append it to the agent’s core system prompt:Option 2: RAG / Knowledge Base
If you are using an agent framework like Eliza, LangChain, or LlamaIndex, you can saveSKILL.md to your agent’s vector database or documents directory. The agent will retrieve relevant sections automatically when it decides to execute a financial action.