---
title: AI Agent Tools
description: 505+ AI agent definitions and automation frameworks
---
# AI Agent Tools
Access **505+ AI agent definitions** across **15+ frameworks** including LangChain, AutoGPT, Eliza, CrewAI, and custom implementations.
## AI Agent Frameworks (15+)
### LangChain Agents
**`langchain_create_agent`** - Create LangChain agent
```typescript
{
name: string;
tools: string[]; // Tool names
model: 'gpt-4' | 'claude-3' | 'llama-2';
systemPrompt?: string;
memory?: 'buffer' | 'summary' | 'vector';
}
```
**`langchain_run_agent`** - Execute agent task
```typescript
{
agentId: string;
input: string;
maxIterations?: number;
}
```
### Eliza Agents
**`eliza_create_character`** - Create Eliza character
```typescript
{
name: string;
bio: string;
personality: string[];
knowledge: string[];
modelProvider: 'openai' | 'anthropic';
}
```
**`eliza_chat`** - Chat with character
```typescript
{
characterId: string;
message: string;
context?: string;
}
```
### AutoGPT
**`autogpt_create_agent`** - Create autonomous agent
```typescript
{
name: string;
goals: string[]; // Agent goals
constraints: string[];
resources: string[];
}
```
**`autogpt_execute`** - Run AutoGPT task
```typescript
{
agentId: string;
task: string;
maxSteps?: number;
}
```
## Crypto-Specific Agents (50+ definitions)
### Trading Agent
**`trading_agent_create`** - Create trading agent
```typescript
{
name: string;
strategy: 'scalping' | 'swing' | 'arbitrage' | 'market-making';
riskTolerance: 'low' | 'medium' | 'high';
assets: string[];
budget: string;
}
```
**`trading_agent_backtest`** - Backtest strategy
```typescript
{
agentId: string;
startDate: string;
endDate: string;
initialCapital: string;
}
```
### DeFi Agent
**`defi_agent_create`** - Create DeFi optimization agent
```typescript
{
name: string;
objective: 'max-yield' | 'min-risk' | 'balanced';
protocols: string[]; // Allowed protocols
assets: string[];
constraints?: {
maxGas?: string;
minAPY?: number;
};
}
```
**`defi_agent_optimize`** - Run optimization
```typescript
{
agentId: string;
currentPositions?: Array<{
protocol: string;
asset: string;
amount: string;
}>;
}
```
### Research Agent
**`research_agent_create`** - Create research agent
```typescript
{
name: string;
focus: string[]; // Topics to research
sources: string[]; // Data sources
updateFrequency: 'realtime' | 'hourly' | 'daily';
}
```
**`research_agent_query`** - Ask research question
```typescript
{
agentId: string;
question: string;
depth: 'quick' | 'thorough' | 'comprehensive';
}
```
## Agent Marketplace (100+ pre-built)
### Popular Agents
**Degen Trading Bot** - Memecoin trading specialist
- Strategy: Momentum + social sentiment
- Risk: High
- Avg ROI: 150% (volatile)
**Yield Optimizer** - DeFi yield maximizer
- Strategy: Cross-protocol yield farming
- Risk: Medium
- Avg APY: 15-25%
**Portfolio Manager** - Multi-chain portfolio balancer
- Strategy: Rebalancing + risk management
- Risk: Low-Medium
- Avg APY: 8-12%
**NFT Trader** - NFT floor price trading
- Strategy: Floor sweeps + flips
- Risk: High
- Avg ROI: 80%
**MEV Hunter** - MEV opportunity scanner
- Strategy: Sandwich + arbitrage
- Risk: Medium
- Avg Daily: 0.5-2 ETH
## Agent Tools & Capabilities
### Available Tools (200+)
Agents can use any Universal Crypto MCP tool:
**Blockchain**
- Balance checking
- Transaction sending
- Contract interaction
- Multi-chain operations
**DeFi**
- Protocol interactions
- Yield optimization
- Liquidity management
- Flash loans
**Trading**
- CEX trading
- DEX swapping
- Order execution
- Portfolio tracking
**Analytics**
- Price data
- On-chain metrics
- Social sentiment
- Market trends
## Usage Examples
### Autonomous Yield Farmer
```typescript
import { agents } from '@universal-crypto/tools';
// Create DeFi optimization agent
const yieldAgent = await agents.defi_agent_create({
name: 'Auto Yield Farmer',
objective: 'max-yield',
protocols: ['aave', 'compound', 'yearn', 'convex'],
assets: ['USDC', 'DAI', 'USDT'],
constraints: {
maxGas: '50', // Max $50 gas per rebalance
minAPY: 5, // Minimum 5% APY
},
});
// Run daily optimization
setInterval(async () => {
const optimization = await agents.defi_agent_optimize({
agentId: yieldAgent.id,
currentPositions: [
{ protocol: 'aave', asset: 'USDC', amount: '10000' },
{ protocol: 'yearn', asset: 'DAI', amount: '5000' },
],
});
console.log(`New strategy: ${optimization.recommended}`);
console.log(`Expected APY: ${optimization.apy}%`);
// Auto-execute if profitable
if (optimization.gasCost < 50 && optimization.apy > 15) {
await optimization.execute();
}
}, 86400000); // Daily
```
### Trading Bot with Risk Management
```typescript
// Create trading agent with strict risk controls
const tradingAgent = await agents.trading_agent_create({
name: 'Conservative Trader',
strategy: 'swing',
riskTolerance: 'low',
assets: ['BTC', 'ETH', 'SOL'],
budget: '10000', // $10k
});
// Backtest first
const backtest = await agents.trading_agent_backtest({
agentId: tradingAgent.id,
startDate: '2025-01-01',
endDate: '2026-01-01',
initialCapital: '10000',
});
console.log(`Backtest results:`);
console.log(`Final value: $${backtest.finalValue}`);
console.log(`ROI: ${backtest.roi}%`);
console.log(`Max drawdown: ${backtest.maxDrawdown}%`);
console.log(`Win rate: ${backtest.winRate}%`);
// Deploy if good results
if (backtest.roi > 20 && backtest.maxDrawdown < 15) {
await agents.trading_agent_deploy({
agentId: tradingAgent.id,
mode: 'live',
});
}
```
### Multi-Agent System
```typescript
// Create specialized agent team
const team = await agents.create_agent_team({
name: 'Crypto Investment Team',
agents: [
{
role: 'researcher',
type: 'research_agent',
config: {
focus: ['defi', 'layer2', 'ai-projects'],
sources: ['twitter', 'discord', 'github'],
},
},
{
role: 'analyst',
type: 'trading_agent',
config: {
strategy: 'technical-analysis',
indicators: ['rsi', 'macd', 'bollinger'],
},
},
{
role: 'executor',
type: 'defi_agent',
config: {
objective: 'balanced',
protocols: 'all',
},
},
],
workflow: 'research -> analysis -> execution',
});
// Run team task
const result = await agents.run_team_task({
teamId: team.id,
task: 'Find and execute best yield opportunity',
budget: '50000',
});
```
### Custom Agent with Tools
```typescript
// Create custom LangChain agent
const customAgent = await agents.langchain_create_agent({
name: 'Token Launch Analyzer',
tools: [
'get_token_price',
'get_token_holders',
'analyze_token',
'get_liquidity',
'check_contract_verified',
'get_social_sentiment',
],
model: 'gpt-4',
systemPrompt: `You are an expert at analyzing new token launches.
When given a token address, you should:
1. Check contract verification
2. Analyze holder distribution
3. Assess liquidity
4. Check social sentiment
5. Provide risk score (0-100)
6. Give buy/sell recommendation`,
});
// Analyze new token
const analysis = await agents.langchain_run_agent({
agentId: customAgent.id,
input: 'Analyze token 0x... and provide recommendation',
});
```
## Agent Performance Metrics
| Agent Type | Success Rate | Avg ROI | Risk Level |
|------------|--------------|---------|------------|
| Yield Farmer | 95% | 15-25% APY | Low |
| Swing Trader | 65% | 50-100% | Medium |
| MEV Hunter | 85% | 20-40% | Medium |
| Arbitrage | 90% | 10-20% | Low |
| Sniper | 40% | 200%+ | Very High |
| Market Maker | 80% | 8-15% | Low-Medium |
## Agent Frameworks Supported
| Framework | Agents | Languages | Features |
|-----------|--------|-----------|----------|
| **LangChain** | 150+ | Python, TS | Tools, memory, chains |
| **AutoGPT** | 50+ | Python | Autonomous, goals |
| **Eliza** | 100+ | TS | Characters, memory |
| **CrewAI** | 40+ | Python | Multi-agent teams |
| **Autogen** | 30+ | Python | Conversational |
| **Custom** | 135+ | Various | Specialized |
## Pricing
| Feature | Cost | Notes |
|---------|------|-------|
| Create agent | Free | Unlimited agents |
| Run agent | $0.01-0.10/run | Based on complexity |
| Marketplace agents | Varies | Set by creator |
| Tools usage | Per tool | See tool pricing |
## Next Steps
- [Build Custom Agent](/guides/ai-agents/custom) - Create your own agent
- [Agent Templates](/tools/ai-agents/templates) - Pre-built templates
- [Multi-Agent Systems](/guides/ai-agents/teams) - Coordinate multiple agents
- [Agent Marketplace](/marketplace/agents) - Buy/sell agents