Build with AgentZyra.
AgentZyra is an autonomous AI agent that builds, deploys, and maintains software products. This documentation covers all projects built by AgentZyra and how to use them.
AgentZyra is not just a chatbot — it's an autonomous agent that writes code, deploys infrastructure, manages Web3 interactions, and creates products. It operates 24/7 and pays for its own operations using on-chain tokens on Base.
Core Concepts
Autonomous Agent
AgentZyra plans, executes, and completes tasks without human supervision. It chains tools together to achieve complex goals.
Tool-Using
Browses web, writes code, interacts with APIs, manages wallets, scrapes data, and deploys applications.
On-Chain Economy
Uses on-chain tokens on Base for payments. No subscriptions — just on-chain token transfers via MCP protocol.
Quickstart
Get started with AgentZyra in 3 steps.
Connect via MCP
AgentZyra exposes tools via Model Context Protocol. Any MCP client can connect.
{
"mcpServers": {
"agentzyra": {
"url": "https://agentzyra.com/mcp",
"transport": "sse"
}
}
}
Pay with on-chain
Connect your wallet and pay per task with on-chain tokens on Base chain.
1. Send ZYRA from your wallet to treasury address
2. Request a task via MCP
3. Approve on-chain transfer on-chain
4. AgentZyra executes the task
5. Results delivered
Get Results
AgentZyra executes autonomously and delivers results. Code deployed, data analyzed, tasks completed.
Architecture
How the AgentZyra platform is structured.
agentzyra.com ← Landing page / Company site
├── /projects ← Showcase of all projects
│
api.agentzyra.com ← Zyra Agent (tools API)
├── /mcp ← MCP endpoint (SSE)
├── /health ← Health check
│
router.agentzyra.com ← AI Router (future)
├── /v1 ← OpenAI-compatible API
├── /dashboard ← Management UI
│
market.agentzyra.com ← Agent Marketplace (future)
├── /agents ← Browse agents
├── /deploy ← Deploy agent
Zyra Agent
AI agent tools accessible via Model Context Protocol. Research, web3 queries, web scraping, and data analysis.
Available Tools
| Tool | Description | Parameters |
|---|---|---|
verify_payment |
Verify ZYRA payment on-chain | tx_hash, wallet, tool, mode |
research |
Web search and summarize | query, depth, payment_id |
web3 |
On-chain data queries | action, chain, address, token, payment_id |
scrape |
Website content extraction | url, extract, selector, payment_id |
analyze |
Data analysis (JSON, CSV, text) | action, data, format, payment_id |
Usage Example
// Via MCP client
{
"tool": "research",
"params": {
"query": "latest DeFi protocols on Base",
"depth": "deep"
}
}
// Response
{
"content": [{
"type": "text",
"text": "# Research: latest DeFi protocols on Base\n\n## Aerodrome Finance\nURL: https://aerodrome.finance\n..."
}]
}
// Check on-chain token info on Base
{
"tool": "web3",
"params": {
"action": "token_info",
"chain": "base",
"token": "on-chain"
}
}
// Check wallet balance
{
"tool": "web3",
"params": {
"action": "wallet_balance",
"chain": "base",
"address": "0x...",
"token": "ETH"
}
}
AI Router
Smart LLM gateway with multi-provider routing, auto-failover, and token optimization.
Features
- Multi-provider routing — OpenAI, Anthropic, DeepSeek, Gemini, and 40+ providers
- Auto-failover — Provider A fails → auto switch to Provider B
- Multi-account — Multiple API keys per provider, round-robin rotation
- Token saver — Compress tool outputs, save 20-40% tokens
- Combo system — Create fallback chains (Subscription → Cheap → Free)
- Quota tracking — Real-time usage monitoring per key
- Format translation — OpenAI ↔ Claude ↔ Gemini format conversion
How It Works
User → api.agentzyra.com/v1/chat/completions
│
▼
┌─────────────┐
│ AI Router │
│ - Auth │
│ - Rate limit│
│ - Route │
└──────┬──────┘
│
Tier 1: OpenAI (subscription)
↓ quota exhausted
Tier 2: DeepSeek (cheap, $0.14/1M)
↓ budget limit
Tier 3: Free provider (unlimited)
AI Router is currently in development. Join our X/Twitter for updates.
Using MCP Tools
How to connect to AgentZyra's MCP server and use the available tools.
What is MCP?
Model Context Protocol (MCP) is a standard for connecting AI models to external tools and data sources. AgentZyra exposes its capabilities as MCP tools that any compatible client can use.
Connecting
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"agentzyra": {
"url": "https://agentzyra.com/mcp",
"transport": "sse"
}
}
}
// Settings → MCP Servers
{
"agentzyra": {
"url": "https://agentzyra.com/mcp",
"transport": "sse"
}
}
Available Tools
Once connected, you can use these tools:
research— Search the web and summarize findingsweb3— Query on-chain data (prices, balances, contracts)scrape— Extract content from any webpageanalyze— Analyze JSON, CSV, or text data
Web3 Integration
How to use AgentZyra's web3 tools for on-chain queries.
Supported Chain
| Chain | Chain ID | Native Token |
|---|---|---|
| Base | 8453 | ETH |
| Base Sepolia (testnet) | 84532 | ETH |
Actions
{
"tool": "web3",
"params": {
"action": "token_price",
"token": "ethereum"
}
}
// → "ETH: $3450.21 (24h: -1.5%)"
{
"tool": "web3",
"params": {
"action": "wallet_balance",
"chain": "base",
"address": "0x...",
"token": "USDC"
}
}
// → "Wallet 0x...\nUSDC Balance: 1234.56"
{
"tool": "web3",
"params": {
"action": "gas_estimate",
"chain": "base"
}
}
// → "Base Gas:\nGas Price: 0.005 Gwei\nMax Fee: 0.01 Gwei"
MCP API Reference
Complete reference for AgentZyra's MCP server endpoints.
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/mcp |
GET | SSE connection for MCP protocol |
/mcp |
POST | Send messages to MCP server |
/health |
GET | Health check endpoint |
/ |
GET | Server info and tool list |
Health Check
GET https://agentzyra.com/health
// Response
{
"status": "ok",
"name": "agentzyra-mcp",
"version": "1.0.0"
}
Tools Reference
Complete reference for all MCP tools exposed by AgentZyra.
verify_payment
Verify a ZYRA token payment on-chain. Returns a payment_id to use with other tools.
| Parameter | Type | Required | Description |
|---|---|---|---|
tx_hash | string | Yes | Transaction hash of the ZYRA transfer |
wallet | string | Yes | Your wallet address that sent the payment |
tool | string | Yes | Which tool: research, web3, scrape, analyze |
mode | string | No | Tool mode: quick/deep, query/analyze, text/full, simple/complex |
research
Search the web and summarize findings. Cost: 500 ZYRA (quick) / 1,500 ZYRA (deep).
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The research query or topic |
depth | enum | No | quick (500 ZYRA) or deep (1,500 ZYRA). Default: quick |
payment_id | string | Yes | Payment ID from verify_payment |
web3
Query on-chain data across EVM chains. Cost: 300 ZYRA (query) / 1,000 ZYRA (analyze).
| Parameter | Type | Required | Description |
|---|---|---|---|
action | enum | Yes | token_price, wallet_balance, gas_estimate, contract_info, token_info |
chain | string | No | Only Base supported. Default: base |
address | string | No | Contract or wallet address (0x...) |
token | string | No | Token symbol (ETH, USDC, ZYRA) |
payment_id | string | Yes | Payment ID from verify_payment |
scrape
Scrape and extract content from a webpage. Cost: 500 ZYRA (text) / 1,000 ZYRA (full).
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string (URL) | Yes | URL to scrape |
extract | enum | No | text, links, headings, all. Default: text |
selector | string | No | CSS selector to target elements |
payment_id | string | Yes | Payment ID from verify_payment |
analyze
Analyze data: JSON, CSV, text. Cost: 500 ZYRA (simple) / 1,500 ZYRA (complex).
| Parameter | Type | Required | Description |
|---|---|---|---|
action | enum | Yes | json_stats, csv_summary, text_stats, extract_insights, compare |
data | string | Yes | The data to analyze |
format | string | No | Data format hint: json, csv, text |
payment_id | string | Yes | Payment ID from verify_payment |
Frequently Asked Questions
Is AgentZyra free to use?
AgentZyra uses on-chain tokens on Base for payments. You pay per task, no subscription required. The MCP server itself is free — you only pay for task execution.
What chains does AgentZyra support?
AgentZyra operates on Base chain (Base Sepolia for testing, Base mainnet for production).
How do I get on-chain tokens?
ZYRA is a on-chain native token on Base. You can get it from decentralized exchanges on Base.
Can I use AgentZyra without paying?
The MCP server is accessible for free. Some tools (research, scrape) may have free tiers. Paid tasks require on-chain tokens.
Is my data private?
AgentZyra processes tasks on-demand and does not store your data long-term. Task results are delivered in real-time and not persisted.