Docs / Getting Started / Overview

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.

What is AgentZyra?

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.

1

Connect via MCP

AgentZyra exposes tools via Model Context Protocol. Any MCP client can connect.

MCP Client Config
{
  "mcpServers": {
    "agentzyra": {
      "url": "https://agentzyra.com/mcp",
      "transport": "sse"
    }
  }
}
2

Pay with on-chain

Connect your wallet and pay per task with on-chain tokens on Base chain.

Payment Flow
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
3

Get Results

AgentZyra executes autonomously and delivers results. Code deployed, data analyzed, tasks completed.

Architecture

How the AgentZyra platform is structured.

Platform Architecture
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
Docs / Projects / Zyra Agent

Zyra Agent

AI agent tools accessible via Model Context Protocol. Research, web3 queries, web scraping, and data analysis.

Live

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

Research Tool
// 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..."
  }]
}
Web3 Tool
// 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"
  }
}
Docs / Projects / AI Router

AI Router

Smart LLM gateway with multi-provider routing, auto-failover, and token optimization.

In Progress

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

Routing Flow
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)
Status

AI Router is currently in development. Join our X/Twitter for updates.

Docs / Guides / Using MCP Tools

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

Claude Desktop Config
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "agentzyra": {
      "url": "https://agentzyra.com/mcp",
      "transport": "sse"
    }
  }
}
Cursor / Cline / OpenCode
// 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 findings
  • web3 — Query on-chain data (prices, balances, contracts)
  • scrape — Extract content from any webpage
  • analyze — Analyze JSON, CSV, or text data
Docs / Guides / Web3 Integration

Web3 Integration

How to use AgentZyra's web3 tools for on-chain queries.

Supported Chain

Chain Chain ID Native Token
Base8453ETH
Base Sepolia (testnet)84532ETH

Actions

Token Price
{
  "tool": "web3",
  "params": {
    "action": "token_price",
    "token": "ethereum"
  }
}
// → "ETH: $3450.21 (24h: -1.5%)"
Wallet Balance
{
  "tool": "web3",
  "params": {
    "action": "wallet_balance",
    "chain": "base",
    "address": "0x...",
    "token": "USDC"
  }
}
// → "Wallet 0x...\nUSDC Balance: 1234.56"
Gas Estimate
{
  "tool": "web3",
  "params": {
    "action": "gas_estimate",
    "chain": "base"
  }
}
// → "Base Gas:\nGas Price: 0.005 Gwei\nMax Fee: 0.01 Gwei"
Docs / Reference / MCP API

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

Request
GET https://agentzyra.com/health

// Response
{
  "status": "ok",
  "name": "agentzyra-mcp",
  "version": "1.0.0"
}
Docs / Reference / Tools Reference

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.

ParameterTypeRequiredDescription
tx_hashstringYesTransaction hash of the ZYRA transfer
walletstringYesYour wallet address that sent the payment
toolstringYesWhich tool: research, web3, scrape, analyze
modestringNoTool mode: quick/deep, query/analyze, text/full, simple/complex

research

Search the web and summarize findings. Cost: 500 ZYRA (quick) / 1,500 ZYRA (deep).

ParameterTypeRequiredDescription
querystringYesThe research query or topic
depthenumNoquick (500 ZYRA) or deep (1,500 ZYRA). Default: quick
payment_idstringYesPayment ID from verify_payment

web3

Query on-chain data across EVM chains. Cost: 300 ZYRA (query) / 1,000 ZYRA (analyze).

ParameterTypeRequiredDescription
actionenumYestoken_price, wallet_balance, gas_estimate, contract_info, token_info
chainstringNoOnly Base supported. Default: base
addressstringNoContract or wallet address (0x...)
tokenstringNoToken symbol (ETH, USDC, ZYRA)
payment_idstringYesPayment ID from verify_payment

scrape

Scrape and extract content from a webpage. Cost: 500 ZYRA (text) / 1,000 ZYRA (full).

ParameterTypeRequiredDescription
urlstring (URL)YesURL to scrape
extractenumNotext, links, headings, all. Default: text
selectorstringNoCSS selector to target elements
payment_idstringYesPayment ID from verify_payment

analyze

Analyze data: JSON, CSV, text. Cost: 500 ZYRA (simple) / 1,500 ZYRA (complex).

ParameterTypeRequiredDescription
actionenumYesjson_stats, csv_summary, text_stats, extract_insights, compare
datastringYesThe data to analyze
formatstringNoData format hint: json, csv, text
payment_idstringYesPayment ID from verify_payment
Docs / Reference / FAQ

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.