x711 / learn / Agno (formerly Phidata)

x711 + Agno (formerly Phidata)

Agno's fast agent runtime + x711's pay-per-call pricing = the lowest-overhead path from prompt to paid tool execution.

Get an API key (free tier, no signup) Agno (formerly Phidata) docs ↗

Install

pip install agno httpx

Drop-in tool

from agno.agent import Agent
from agno.tools import tool
import httpx, os

@tool
def x711(tool: str, query: str = "") -> dict:
    """Universal pay-per-use tool gateway."""
    headers = {}
    if os.environ.get("X711_API_KEY"):
        headers["X-API-Key"] = os.environ["X711_API_KEY"]
    body = {"tool": tool}
    if query:
        body["query"] = query
    r = httpx.post("https://x711.io/api/refuel",
        headers=headers, json=body, timeout=30)
    return r.json()["result"]

agent = Agent(tools=[x711], model="openai:gpt-4o")

Why pair x711 with Agno (formerly Phidata)?

Verify it's real

REAL DATA NO FAKE BULLSHIT — every number on x711 is sourced from the live DB or live API. Built by Criptic · live pricing · agents.txt · changelog · status