DeFI Agents MCP
DeFi agent definitions JSON API - Production-ready agents for Web3, crypto trading, portfolio management, and blockchain automation
🤖 DeFi Agents API - AI Agent Definitions for Web3
42 production-ready AI agent definitions for DeFi, portfolio management, trading, and Web3 workflows. RESTful JSON API with 18-language support.
A comprehensive, discoverable API hosting specialized AI agent schemas with universal compatibility. Works with any AI platform, LLM, or chatbot that supports agent indexes - no vendor lock-in, no platform restrictions. Perfect for developers, LLMs, and AI systems building Web3 applications.
✨ Key Features
- ✅ 42 Production-Ready Agents - DeFi, portfolio, trading, Web3, education
- ✅ 18 Languages - Automated i18n translation workflow (Learn More →)
- ✅ RESTful JSON API - Easy integration for developers and LLMs (API Docs →)
- ✅ Machine-Readable Indexes - Agent manifest for AI crawlers (agents-manifest.json)
- ✅ Universal Format - Standard JSON schema works with any platform
- ✅ No Vendor Lock-in - Switch platforms without losing work
- ✅ Open Source - MIT licensed, fully transparent
- ✅ SEO & AI Friendly - robots.txt, structured data, semantic indexing
- ✅ CDN Hosted - GitHub Pages for fast global access
- ✅ Custom Domain Ready - Easy white-labeling
🚀 Quick Start
For AI Systems & LLMs
Discover agents via the API:
# Get all agents (English)
curl https://sperax.click/index.json
# Get agents in any language
curl https://sperax.click/index.zh-CN.json
# Get agent manifest for indexing
curl https://sperax.click/agents-manifest.json
For Users
Add agents to your AI platform:
https://sperax.click/index.json
Or with language:
https://sperax.click/index.{locale}.json
For Developers
git clone https://github.com/nirholas/defi-agents.git
cd defi-agents
bun install
bun run format
bun run build
Complete Development Workflow Guide →
📦 Agent Categories
🌟 Featured Agent
🎯 Sperax Portfolio - All-in-one crypto portfolio management ⭐ RECOMMENDED
- Complete portfolio tracking, trading automation, DeFi protocols, and analytics
- ONE agent for 100% of portfolio management features
- Perfect for most users - install once, access everything
⚠️ Current Status: Read-only portfolio tracking and analytics available now. Automated trading, bots, and DeFi interactions coming soon in SperaxOS roadmap.
🪙 DeFi & Crypto (42 Specialized Agents)
Sperax Ecosystem (8 Agents):
Master Agent (Recommended):
- Sperax Portfolio 🎯 - All-in-one portfolio management (dashboard, trading, bots, DeFi, analytics)
Original Sperax Agents (7):
- USDs Stablecoin Expert, SPA Tokenomics Analyst, veSPA Lock Optimizer
- Governance Guide, Liquidity Strategist, Bridge Assistant, Yield Aggregator
SperaxOS Portfolio Specialists (16): 💡 For advanced users who prefer focused tools
- Portfolio Dashboard, Assets Tracker, Analytics Expert, Wallet Manager
- Trading Assistant, AI Trading Bot, Signal Bot, DCA Bot
- Arbitrage Bot, Pump Screener, DeFi Center, DeFi Protocols
- Strategies Marketplace, Bot Templates, Settings Manager, Help Center
Note: SperaxOS portfolio agents currently use
sperax.funfor testing. The domain may change tosperax.ioor similar once SperaxOS launches in production. See FAQ for details.
General DeFi (34 Agents) + Crypto News:
- Yield Farming Optimizer, Impermanent Loss Calculator, Gas Optimizer
- Smart Contract Auditor, MEV Protection Advisor, Whale Watcher
- Protocol Comparator, Token Unlock Tracker, Liquidation Risk Manager
- Airdrop Hunter, Alpha Leak Detector, APY vs APR Educator
- Bridge Security Analyst, Crypto Tax Strategist, DeFi Insurance Advisor
- DeFi Onboarding Mentor, DeFi Protocol Comparator, DeFi Risk Scoring Engine
- DEX Aggregator Optimizer, Governance Proposal Analyst, Layer 2 Comparison Guide
- Liquidation Risk Manager, Liquidity Pool Analyzer, Narrative Trend Analyst
- NFT Liquidity Advisor, Portfolio Rebalancing Advisor, Protocol Revenue Analyst
- Protocol Treasury Analyst, Stablecoin Comparator, Staking Rewards Calculator
- Wallet Security Advisor, Yield Dashboard Builder, Yield Sustainability Analyst
🤝 Agent Teams
Create collaborative teams of specialized agents that work together on complex tasks.
Example Team - DeFi Strategy:
- Yield Optimizer (finds opportunities)
- Risk Assessment Agent (evaluates safety)
- Portfolio Tracker (monitors performance)
- Gas Optimizer (minimizes costs)
The host agent coordinates discussion, ensuring each specialist contributes their expertise while building toward a comprehensive solution.
🌍 Multi-Language Support
All agents automatically available in 18 languages:
🇺🇸 English・🇨🇳 简体中文・🇹🇼 繁體中文・🇯🇵 日本語・🇰🇷 한국어・🇩🇪 Deutsch・🇫🇷 Français・🇪🇸 Español・🇷🇺 Русский・🇸🇦 العربية・🇵🇹 Português・🇮🇹 Italiano・🇳🇱 Nederlands・🇵🇱 Polski・🇻🇳 Tiếng Việt・🇹🇷 Türkçe・🇸🇪 Svenska・🇮🇩 Bahasa Indonesia
🛠️ API Reference
Endpoints
# Main index (all agents)
GET https://nirholas.github.io/AI-Agents-Library/index.json
# Individual agent (English)
GET https://nirholas.github.io/AI-Agents-Library/{agent-id}.json
# Localized agent
GET https://nirholas.github.io/AI-Agents-Library/{agent-id}.zh-CN.json
# Language-specific index
GET https://nirholas.github.io/AI-Agents-Library/index.zh-CN.json
Quick Integration
// Load all agents
const response = await fetch('https://nirholas.github.io/AI-Agents-Library/index.json');
const { agents } = await response.json();
// Load specific agent
const agent = await fetch(`https://nirholas.github.io/AI-Agents-Library/defi-yield-optimizer.json`);
const agentConfig = await agent.json();
🤖 Contributing an Agent
We welcome contributions! Submit your agent to expand the library.
Quick Submit
- Fork this repository
- Create your agent in
src/your-agent-name.json
{
"author": "your-github-username",
"config": {
"systemRole": "You are a [role] with expertise in [domain]..."
},
"identifier": "your-agent-name",
"meta": {
"title": "Agent Title",
"description": "Clear, concise description",
"avatar": "🤖",
"tags": ["category", "functionality", "domain"]
},
"schemaVersion": 1
}
- Submit a Pull Request
Our automated workflow will translate your agent to 18 languages and deploy it globally.
Quality Guidelines
✅ Clear purpose - solves a specific problem
✅ Well-structured prompts - comprehensive but focused
✅ Appropriate tags - aids discovery
✅ Tested - verified functionality
📖 Documentation
For Users
- Agent Teams Guide - Multi-agent collaboration
- FAQ - Common questions
- Examples - Real-world use cases
For Developers
- Complete Workflow Guide - End-to-end development process
- Contributing Guide - How to submit agents
- API Reference - Complete API documentation
- Agent Creation Guide - Design effective agents
- 18 Languages i18n Workflow - Automated translation system
- Deployment Guide - Domain setup and CI/CD
- Prompt Engineering - Writing better prompts
- Model Parameters - Temperature, top_p explained
- Troubleshooting - Common issues
🚀 Deployment
GitHub Pages (Automatic)
- Fork/Clone this repository
- Choose your domain option:
- Default GitHub Pages: Delete the
CNAMEfile - Custom Domain: Update
CNAMEwith your domain
- Default GitHub Pages: Delete the
- Enable GitHub Pages:
- Settings → Pages → Source:
gh-pagesbranch
- Settings → Pages → Source:
- Push to main - GitHub Actions automatically builds and deploys
Your agents will be at:
- Default:
https://[username].github.io/[repository]/index.json - Custom:
https://yourdomain.com/index.json
Custom Domain Setup
- Update CNAME file:
echo "yourdomain.com" > CNAME - Configure DNS: Add CNAME record →
[username].github.io - Enable HTTPS in repository settings after DNS propagates
Note: The build process automatically copies your CNAME to the deployment, so your custom domain persists across all deployments. Forks can simply update or delete the CNAME file.
🔧 Development Tools
Split Agent Batches
node split-agents.cjs
Converts batch JSON into individual agent files.
Emoji Converter
node emoji-converter.cjs
Converts emoji URLs to native Unicode.
🌐 Integration Examples
Custom Application
// Fetch agents
const agents = await fetch('https://nirholas.github.io/AI-Agents-Library/index.json').then((r) =>
r.json(),
);
// Use with your AI model
const systemPrompt = agents.agents[0].config.systemRole;
Python
import requests
# Load agents
response = requests.get('https://nirholas.github.io/AI-Agents-Library/index.json')
agents = response.json()['agents']
# Filter by tag
defi_agents = [a for a in agents if 'defi' in a['meta']['tags']]
🔐 Security & Privacy
- No data collection - Static JSON index, zero tracking
- Agents run locally - Execute in your AI platform's environment
- Open source - Full transparency, audit every line
- No external calls - Pure JSON configuration files
📊 Stats
- 42 Agents - DeFi-focused coverage
- 18 Languages - Global accessibility via automated translation
- 8 Sperax Specialists - Ecosystem-specific agents (7 core + 1 portfolio master)
- 34 General DeFi Agents - Comprehensive DeFi toolkit
- ~300 KB Index - Fast loading (gzipped: ~65 KB)
- 80-120ms - Global CDN delivery
- 0 Vendor Lock-in - True interoperability
🔗 Projects Building with AI Agents Library 🤍
- SperaxOS - Application Branch
📜 License
MIT License - see LICENSE file for details.
Open Source • Open Format • Open Future
Sperax Portfolio
By @sperax on 2024-12-21
All-in-one cryptocurrency portfolio management: tracking, trading, automation, DeFi, and analytics
portfolio trading defi analytics automation wallet bots sperax all-in-one master
Crypto Whale Watcher
By @sperax on 2024-12-16
Track and analyze large wallet movements and whale behavior
on-chain whale analytics trading monitoring
Cross-Chain Bridge Security Analyst
By @sperax on 2024-12-16
Evaluate bridge security and recommend safest cross-chain routes
bridge security cross-chain risk multichain
Token Unlock Schedule Tracker
By @sperax on 2024-12-16
Monitor and analyze token unlock events and their market impact
tokenomics unlocks vesting supply analysis
veSPA Lock Optimizer
By @sperax on 2024-12-16
Maximize returns through optimal veSPA locking strategies
sperax vespa staking optimization voting-power
Sperax Portfolio Tracker
By @sperax on 2024-12-16
Track and analyze your complete Sperax ecosystem holdings
sperax portfolio tracking analytics dashboard
DeFi Insurance & Risk Coverage Advisor
By @sperax on 2024-12-16
Navigate DeFi insurance options for smart contract protection
insurance protection risk coverage safety
NFT Liquidity & Lending Advisor
By @sperax on 2024-12-16
Navigate NFT-backed lending and liquidity solutions
nft liquidity lending collateral defi
USDs Stablecoin Expert
By @sperax on 2024-12-16
Specialist in Sperax USDs mechanism, collateralization, and yield strategies
sperax stablecoin usds defi yield
DEX Aggregator Route Optimizer
By @sperax on 2024-12-16
Find optimal swap routes across DEX aggregators
dex swap routing aggregator optimization
Crypto Tax Strategy Advisor
By @sperax on 2024-12-16
Optimize crypto taxes and provide tax-efficient DeFi strategies
tax strategy accounting optimization compliance
Smart Contract Security Auditor
By @sperax on 2024-12-16
Review and assess smart contract security for DeFi protocols
security smart-contracts audit solidity risk
Sperax Yield Aggregator
By @sperax on 2024-12-16
Find and optimize best yield opportunities in Sperax ecosystem
sperax yield farming optimization apy
Personal DeFi Dashboard Builder
By @sperax on 2024-12-16
Design and track your custom DeFi portfolio dashboard
dashboard tracking portfolio analytics monitoring
Crypto Wallet Security Advisor
By @sperax on 2024-12-16
Best practices for securing crypto wallets and assets
security wallet safety best-practices hardware
DeFi Yield Sustainability Analyst
By @sperax on 2024-12-16
Analyze whether high yields are sustainable or temporary
defi yield sustainability analysis tokenomics
Stablecoin Deep Comparator
By @sperax on 2024-12-16
Compare stablecoin mechanisms, risks, and use cases
stablecoin usdc dai usdt comparison
DeFi Portfolio Rebalancing Advisor
By @sperax on 2024-12-16
Optimize portfolio allocation and rebalancing strategies
portfolio rebalancing allocation strategy optimization
Sperax Ecosystem Onboarding Guide
By @sperax on 2024-12-16
Help newcomers understand and start using Sperax protocol
sperax education onboarding beginner tutorial
DeFi Yield Farming Strategist
By @sperax on 2024-12-16
Identify and optimize yield farming opportunities across DeFi protocols
defi yield-farming apy strategy optimization
Sperax Governance Guide
By @sperax on 2024-12-16
Navigate Sperax DAO proposals, voting, and protocol upgrades
sperax governance dao voting proposals
DeFi Protocol Comparison Expert
By @sperax on 2024-12-16
Compare similar DeFi protocols across features, risks, and yields
defi comparison protocols analysis research
DeFi Beginner Onboarding Mentor
By @sperax on 2024-12-16
Guide complete beginners through their first DeFi experiences
education beginner onboarding tutorial defi-basics
APY vs APR Educator
By @sperax on 2024-12-16
Explain and calculate the difference between APY and APR in DeFi
defi education apy apr yields
Protocol Revenue & Fundamentals Analyst
By @sperax on 2024-12-16
Analyze DeFi protocol business models and revenue generation
defi revenue analysis fundamentals tokenomics
DAO Governance Proposal Analyst
By @sperax on 2024-12-16
Analyze and explain DAO governance proposals and their implications
governance dao voting proposals analysis
Impermanent Loss Calculator
By @sperax on 2024-12-16
Calculate and explain impermanent loss scenarios for LP positions
defi liquidity impermanent-loss calculator amm
DAO Treasury & Resource Analyst
By @sperax on 2024-12-16
Analyze DAO treasury holdings, runway, and capital allocation
treasury dao capital runway allocation
Liquidation Risk Manager
By @sperax on 2024-12-16
Monitor and manage liquidation risks in lending protocols
lending liquidation risk collateral defi
Crypto Narrative & Trend Analyst
By @sperax on 2024-12-16
Track and analyze dominant narratives and trends in crypto markets
narrative trends analysis sentiment market-cycles
Sperax Protocol Risk Monitor
By @sperax on 2024-12-16
Track and analyze security risks across Sperax smart contracts
sperax security risk audit monitoring
Liquidity Pool Deep Analyzer
By @sperax on 2024-12-16
Analyze LP pool health, risks, and optimal entry/exit timing
defi liquidity-pools amm analysis risk
SPA Tokenomics Analyst
By @sperax on 2024-12-16
Expert in SPA token economics, staking rewards, and protocol revenue
sperax spa tokenomics staking governance
Gas Cost Optimization Expert
By @sperax on 2024-12-16
Minimize gas costs and optimize transaction timing
ethereum gas optimization layer-2 efficiency
Crypto Alpha & Signal Detector
By @sperax on 2024-12-16
Identify trading alpha and early signals in DeFi markets
alpha trading signals research opportunities
MEV Protection Advisor
By @sperax on 2024-12-16
Protect users from front-running, sandwich attacks, and MEV exploitation
mev security front-running flashbots protection
Sperax Liquidity Provider Strategist
By @sperax on 2024-12-16
Optimize liquidity provision strategies across Sperax pools
sperax liquidity amm yield-farming impermanent-loss
Sperax Bridge Assistant
By @sperax on 2024-12-16
Guide users through cross-chain bridging with optimal routes and costs
sperax bridge cross-chain arbitrum layer-2
Staking Rewards Calculator
By @sperax on 2024-12-16
Calculate and optimize staking rewards across protocols
staking rewards calculator pos yields
DeFi Protocol Risk Scoring Engine
By @sperax on 2024-12-16
Comprehensive risk assessment framework for DeFi protocols
risk assessment scoring analysis framework
DeFi Airdrop Hunter
By @sperax on 2024-12-16
Identify and strategize for potential protocol airdrops
airdrop rewards strategy farming allocation
Related Servers
Memory Bank MCP
An MCP server for remote memory bank management, enhanced with Supergateway for streamable-http transport. It supports multi-project management and requires persistent storage.
Dropbox by CData
A read-only MCP server by CData that allows LLMs to query live Dropbox data. Requires the CData JDBC Driver for Dropbox.
Google Drive MCP
Access and manage your Google Drive files and folders.
Google Drive
Interact with Google Drive, Sheets, and Docs APIs.
s3-tools MCP Server
Provides tools for interacting with AWS S3 buckets.
Koneksi MCP Server (Go)
Provides AI assistants with access to Koneksi Storage for secure file storage and backup operations.
AIStor
An MCP server for interacting with AIStor and MinIO object stores.
TOS MCP Server
Explore and retrieve content from Volcengine's Tinder Object Storage (TOS) using natural language queries.
AWS S3 MCP Server
An MCP server for managing files and buckets on AWS S3. Requires AWS credentials for authentication.
Dropbox MCP Server
An MCP server for interacting with Dropbox, allowing clients to manage files and folders.