Live on Fetch.ai Network

AI Agents for
Developer Workflows

Three specialized AI agents — code analysis, context compression, and chat teleportation — available via REST API, Python SDK, and Claude MCP.

Explore Agents
Your API Key
3
Live Agents
50
Free Requests / Day
13
Crypto Currencies
8
MCP Tools

Three Specialized Agents

Each agent runs on the Fetch.ai decentralized network with a REST API and crypto-native billing.

💻
Code Context Agent
Slims GitHub files to only the code relevant to your task, maps layer structure, and extracts specific layers. Cuts context size by up to 90% before sending to any LLM.
POST/code/slim
POST/code/map
POST/code/extract
POST/code/mark
GET/code/me
🩺
Context Doctor
Diagnoses bloated conversation histories and compresses them without losing meaning. Analyzes token usage, extracts memory, and optimizes message sequences.
POST/context/compress
POST/context/analyze
POST/context/optimize
POST/context/extract-memory
GET/context/me
🚀
AI Teleporter
Imports and searches chat histories from Claude, ChatGPT, Copilot, and Cursor. Store your AI conversations and query them semantically across all your tools.
POST/teleport/teleport
POST/teleport/search
POST/teleport/merge
GET/teleport/formats
GET/teleport/me

Up and Running in 60 Seconds

Get a key, make your first call. No account, no credit card, no waiting.

bash
# 1. Get a free API key (50 requests/day included)
curl -X POST https://agentslab.duckdns.org/register \
  -H "Content-Type: application/json" \
  -d '{"name":"my-project"}'
# → {"api_key":"fak_xxx","free_requests_per_day":50,...}

# 2. Slim a GitHub file to only relevant code
curl -X POST https://agentslab.duckdns.org/code/slim \
  -H "X-API-Key: fak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://raw.githubusercontent.com/.../file.py","task":"fix auth bug"}'
# → {"context":"...relevant code only...","_meta":{"free_remaining":49}}

# 3. Check your quota
curl https://agentslab.duckdns.org/code/me -H "X-API-Key: fak_xxx"
# → {"user_id":"user_xxx","free_remaining_today":49,"balance_usd":0.0,"subscription":null}

# 4. Subscribe to Pro ($15/mo — 300 requests included)
curl -X POST https://agentslab.duckdns.org/code/subscribe \
  -H "X-API-Key: fak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"tier":"pro"}'
# → {"checkout_url":"https://polar.sh/checkout/...","tier":"pro","price_usd":15,"monthly_included":300}
python
# pip install fetch-agents
from fetch_agents import FetchAgents

# Register once — no auth needed
info = FetchAgents.register(name="my-project")
print(info["api_key"])  # fak_xxx

client = FetchAgents(api_key="fak_xxx")

# Code Context Agent
result = client.slim(url="https://raw.githubusercontent.com/.../auth.py", task="fix JWT bug")
print(result["context"])   # relevant code only
print(result["_meta"])     # {"free_remaining":49,"balance_usd":0.0,"cost_usd":0.0}

# Context Doctor
compressed = client.compress(text=long_text, max_length=500)

# AI Teleporter
client.teleport(data=claude_export_json)
hits = client.search(index_id="my-index", query="auth bug discussion")
.mcp.json
{
  "mcpServers": {
    "fetch-agents": {
      "command": "python3",
      "args": ["./mcp_server.py"],
      "env": { "FETCH_API_KEY": "fak_xxx" }
    }
  }
}

// 8 tools become available in Claude:
// slim_code  map_layers  extract_layer  compress_text
// analyze_context  teleport_chat  search_knowledge  teleporter_formats

Add to your .mcp.json, restart Claude — all 8 tools appear automatically. No SSH keys, no tunnels, no VM access required.

Simple, Predictable Pricing

Start free. Subscribe for predictable monthly costs. Or pay per request — whatever fits your workflow.

Pro
Pro
$15 / month
300 req/mo included. $0.10/req after.
  • 300 requests included
  • Overage from balance
  • Never blocked mid-task
  • $0.05/req avg (2× cheaper)
Team
Team
$49 / month
1,500 req/mo included. $0.08/req after.
  • 1,500 requests included
  • $0.033/req avg (3× cheaper)
  • Best for daily heavy use
Pay-as-you-go
Pay per request
Top up with card or crypto. Balance never expires.
  • slim / mark $0.15–$0.33
  • map / extract / compress $0.10–$0.15
  • teleport / search $0.10–$0.66
📈
Does it pay for itself? Yes — for any file over 100 KB queried more than 3 times, slim saves more in Claude API costs than it charges.
100 KB file × 10 queries → saves $0.60 vs Claude Sonnet  •  slim costs $0.15  = 4× ROI
500 KB file × 10 queries → saves $3.00  •  slim costs $0.15  = 20× ROI

Top Up Your Balance

Pay with a credit card or crypto. Balance is credited instantly (card) or after 1 on-chain confirmation (crypto) — never expires.

Credit / Debit Card

Pay with Card — instant

One-click Polar Checkout. Balance credited the moment payment completes. No crypto wallet needed.

$10
~67 calls
$50
~333 calls
POST /topup/card {"amount_usd": 25} → {"checkout_url": "https://checkout.polar.sh/..."}
Powered by Polar — all major cards accepted
Crypto

Pay with Crypto — no KYC

13 currencies accepted. Send to a generated address — balance credited automatically after 1 on-chain confirmation. No account required.

$1
min
$10
~67 calls
$25
~167 calls
$100
max
POST /topup {"amount_usd": 25, "currency": "bnb"} → {"address": "0xABC...", "expires_in": 1800}

Crypto — how it works

1

Request a payment invoice

Call POST /topup with the amount and your preferred currency. You'll receive a unique deposit address for this payment.

2

Send crypto to the address

Send the exact amount from any wallet. The address is valid for 60 minutes. Each invoice is single-use.

3

Balance credited automatically

After 1 on-chain confirmation (~10 min for BTC, ~30 sec for BNB/TRX), USD credit is added to your account. No action needed.

4

Check status anytime

Use GET /topup/{invoice_id} to poll. Returns pendingconfirmingpaid.

bash — top up examples
# Option A: card payment (instant) — returns Polar checkout URL
curl -X POST https://agentslab.duckdns.org/code/topup/card \
  -H "X-API-Key: fak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"amount_usd": 25}'

# → {"checkout_url": "https://checkout.polar.sh/...", "amount_usd": 25}
# Open checkout_url in browser to pay — balance credited on completion

# Option B: crypto invoice — choose any currency
curl -X POST https://agentslab.duckdns.org/code/topup \
  -H "X-API-Key: fak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"amount_usd": 10, "currency": "bnb"}'

# Check crypto invoice status
curl https://agentslab.duckdns.org/code/topup/inv_abc123 \
  -H "X-API-Key: fak_xxx"
# → {"status":"paid","credited_fet":25.0}

13 Accepted Currencies

Major Coins
Bitcoin BTC Ξ Ethereum ETH BNB BSC Ł Litecoin LTC Bitcoin Cash BCH
Alt Coins
Ð Dogecoin DOGE TRON TRX
Stablecoins
💵 USDT ERC-20 💵 USDT BEP-20 💵 USDT TRC-20 🔵 USDC ERC-20 🔵 USDC BEP-20 🟡 DAI ERC-20
Any currency, USD balance. You send any crypto above — we handle the conversion. Your account balance is in USD. Minimum top-up: $1.

Claude Gets New Superpowers

Connect all 3 agents to Claude as native tools. Works in Claude.ai, Cursor, and any MCP-compatible client.

1

Get your API key

Click "Get Free API Key" above or run POST /register. Instant, no signup.

2

Download mcp_server.py

Single Python file. Requires Python 3.9+ and httpx.

bash
curl -O https://agentslab.duckdns.org/mcp_server.py
pip install httpx mcp
3

Add to .mcp.json

Paste the config with your key. Restart Claude. Done — all 8 tools appear.

4

Ask Claude to use agents

"Slim this file for my task", "compress this context", "search my chat history for X" — it calls the agents automatically.

.mcp.json
{
  "mcpServers": {
    "fetch-agents": {
      "command": "python3",
      "args": ["./mcp_server.py"],
      "env": {
        "FETCH_API_KEY": "fak_your_key_here"
      }
    }
  }
}

// Tools available after connection:
// slim_code      — slim file to task-relevant code
// map_layers     — map file structure
// extract_layer  — extract specific code layer
// compress_text  — compress long text
// analyze_context — diagnose context bloat
// teleport_chat  — import chat export
// search_knowledge — semantic chat search
// teleporter_formats — list supported formats