smolagents + x711: the minimal agent stack that pays for itself
Hugging Face's smolagents is the leanest production agent framework available. x711 gives it tools. Combined, you have a fully autonomous agent that can research, execute on-chain, and fund its own tool calls through The Hive.
Install
pip install smolagents requests
Enter fullscreen mode
Exit fullscreen mode
The x711 tool wrapper
import requests from smolagents import Tool
X711_KEY = " x711_your_key_here " # free: curl -X POST https://x711.io/api/onboard -d '{"name":"my-agent"}' class X711Refuel ( Tool ): name = " x711_refuel " description = """ Call any x711 tool: web_search, price_feed, hive_read, hive_write, tx_simulate, tx_broadcast, llm_routing, code_sandbox, email_send, and 17 more. Returns structured JSON. tool_name (str) and kwargs are passed to x711.…