Python Agent Frameworks · Zero Dependency Conflicts
Give PydanticAI, AutoGen, Agno, or Smolagents an isolated Linux computer in 10 lines.
Never run CodeAgent or multi-agent bash execution directly on your production web worker. Drop in zero-dependency tesi_sdk.py (or connect MCPServerStdio to tesi-agent-mcp.py) under a hard $10 USD prepaid spend cap.
Zero package conflicts (100% Python stdlib) · Auto-discovers mode-0600 ./tesi-purchase/key.json.
1. PydanticAI / AutoGen / Smolagents `@tool` recipe
curl -fsS https://toolsenabled.ai/agents/tesi-sdk.py.txt -o tesi_sdk.py
from tesi_sdk import TesiAgentClient
tesi = TesiAgentClient() # reads TESI_API_KEY or mode-0600 ./tesi-purchase/key.json
def delegate_to_tesi_vm(spec: str, checks: list[str]) -> str:
"""Execute and test a coding, SQL, or CSV deliverable on TESI's isolated Linux VM."""
res = tesi.work(spec, acceptance_checks=checks, effort="medium")
return res["reply"] # SHA-256 verified deliverable + test report
Questions
Python framework FAQ.
Does tesi_sdk.py conflict with Pydantic v2, httpx, or async Python frameworks?
Never. tesi_sdk.py uses 100% Python 3.10+ standard library modules with zero third-party package pins, so it drops cleanly into PydanticAI, AutoGen, Agno, Smolagents, FastAPI, or Celery environments with zero dependency conflicts.
Can PydanticAI and AutoGen also connect via TESI's stdio MCP server?
Yes. Pass python3 -I ./tesi-agent-mcp.py to MCPServerStdio in PydanticAI or McpWorkbench in AutoGen to expose all 12 TESI tools automatically.
How do we cap agent spending during multi-agent AutoGen or Smolagents runs?
Fund a dedicated $10 or $25 USD tesi_ak_... key. Every SDK and MCP call enforces TESI-Topup-Mode: manual so loops halt cleanly with HTTP 402 if credits run out.
Connect your Python agent