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_fet":0.0}
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_fet":0.0,"cost_fet":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, Usage-Based

Start free. Pay only when you exceed the daily limit. Every response shows your remaining quota.

Prepaid Balance
Pay per request in FET
Top up with crypto (see below). Balance never expires.
  • slim (code context) 0.5 FET
  • map / extract layers 0.3 FET
  • compress / analyze context 0.3–0.5 FET
  • teleport / search chats 0.3–2.0 FET
  • mark / auto-annotate 1.0 FET

Top Up with Crypto

Send any supported currency to a generated address. Balance is credited automatically after 1 blockchain confirmation — no manual steps.

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), FET balance is added to your account. No action needed.

4

Check status anytime

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

bash — top up example
# Request 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": 10, "currency": "bnb"}'

# → {
#     "invoice_id": "inv_abc123",
#     "address": "0xABCDEF...",
#     "amount": "0.0312 BNB",
#     "expires_in": "60 minutes"
#   }

# Check payment 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
Auto-converted to FET balance. You send any currency above — we handle the conversion. Your account balance is always in FET. Minimum top-up: $1 equivalent.

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