Agents
ADAS Agent Documentation
This directory contains documentation for each agent in the ADAS system. Each agent has specific capabilities, knowledge, and responsibilities within the multi-agent architecture.
Agent Overview
ADAS employs a Multi-Agent System (MAS) architecture with specialized agents working together to provide comprehensive functionality:
Coordinator Agent
Orchestration
Task delegation, conversation management, error handling
Analytics Agent
Data Analysis
Price tracking, TVL analysis, market trends, portfolio analytics
DeFi Agent
Blockchain Operations
Token transfers, swaps, lending, staking, protocol interactions, trading
Aptos Expert Agent
Knowledge & Guidance
Protocol explanations, strategy recommendations, technical support
Agent Architecture
Each agent in ADAS is built on the ElizaOS framework and follows a consistent architecture:
Character Definition: JSON configuration defining the agent's personality, knowledge, and behavior
Knowledge Base: Markdown files containing domain-specific information
Plugin Integration: Specialized plugins providing specific capabilities
LLM Integration: Connection to language models (primarily Claude) for reasoning
Agent Communication
Agents communicate through the Coordinator Agent, which:
Receives user requests
Routes requests to appropriate specialized agents
Aggregates responses
Manages conversation context
Handles error recovery
Agent Capabilities
Coordinator Agent
The Coordinator Agent is implemented using n8n workflows and serves as the central orchestrator of the ADAS system.
Key Responsibilities:
Route user requests to appropriate specialized agents
Manage conversation context and history
Coordinate responses from multiple agents
Handle error recovery and fallback mechanisms
Provide monitoring and logging
Analytics Agent
The Analytics Agent provides data analysis and insights about the Aptos ecosystem.
Key Responsibilities:
Fetch real-time price data from CoinGecko
Retrieve TVL data from DefiLlama
Track protocol performance metrics
Analyze market trends
Generate portfolio analytics
Plugins:
@elizaos-plugins/plugin-aptos-analytics
DeFi Agent
The DeFi Agent handles all on-chain operations on the Aptos blockchain.
Key Responsibilities:
Execute token transfers and balance checks
Perform swaps on DEXs (Liquidswap, Thala)
Manage lending positions (Joule Finance, Aries Protocol)
Handle staking operations (Amnis Finance, Thala)
Execute trading operations (Merkle Trade)
Monitor transaction status
Create and manage tokens and NFTs
Protocols Supported:
Joule Finance: Lending and borrowing
Amnis Finance: Staking
Liquidswap: Token swapping
Thala Labs: DEX operations and staking
Merkle Trade: Trading operations
Aries Protocol: Lending platform
Plugins:
@elizaos-plugins/plugin-aptos
Aptos Expert Agent
The Aptos Expert Agent provides specialized knowledge and guidance about the Aptos ecosystem.
Key Responsibilities:
Provide information about Aptos protocols
Explain DeFi concepts and strategies
Offer recommendations based on market conditions
Answer technical questions about Aptos
Educate users about best practices
Plugins:
@elizaos-plugins/plugin-aptos
Agent Development
Adding New Capabilities
To add new capabilities to an agent:
Update the relevant plugin with new actions
Enhance the agent's knowledge base with information about the new capabilities
Test the agent with prompts targeting the new capabilities
Update the agent's character definition if needed
Creating a New Agent
To create a new specialized agent:
Create a new character definition JSON file in
eliza/characters/Set up the agent's knowledge base in
eliza/characters/knowledge/Configure the agent with appropriate plugins
Update the Coordinator Agent to integrate with the new agent
Add documentation for the new agent
Testing Agents
Each agent should be tested with a variety of prompts to ensure it can handle its responsibilities effectively. See the individual agent documentation for specific testing prompts.
Agent Documentation
Coordinator Agent
Analytics Agent
DeFi Agent
Aptos Expert Agent
Community Tools
Meme Agent
ADAS also includes a Meme Agent that manages our Twitter presence. While built using the same ElizaOS framework, this agent operates independently from the main product and focuses on community engagement and content creation.
Last updated