BETA

Multi-Agent Orchestration · Python & TypeScript

Give LangGraph, CrewAI & OpenAI Agents an isolated Linux computer in 10 lines.

Import tesi_sdk.py or tesi-sdk.mjs—zero PyPI or npm dependencies—and pass TESI_TOOL_DEFINITIONS (tesi_work, tesi_ask, tesi_quote, tesi_balance) straight to your orchestrator. Every tesi_ak_... key gets a persistent Linux VM with hard prepaid spend caps from $10 USD.

1. Python tool-calling loop (LangGraph, CrewAI, OpenAI Agents SDK, LiteLLM)

Download the single-file Python SDK and dispatch any model-generated tool call in one line via tesi.execute_tool_call(name, arguments):

curl -fsS https://toolsenabled.ai/agents/tesi-sdk.py.txt -o tesi_sdk.py
python3 -I -B tesi_sdk.py --self-check

# Inside your Python agent node (TESI_API_KEY set in secret env):
from tesi_sdk import TESI_TOOL_DEFINITIONS, TesiAgentClient

tesi = TesiAgentClient()
# 1. Pass tools=TESI_TOOL_DEFINITIONS to OpenAI / Anthropic / LiteLLM / LangGraph
# 2. Dispatch any tool_call directly (enforces manual top-up + replySha256 + 409 recovery):
result = tesi.execute_tool_call(tool_call.function.name, tool_call.function.arguments)
Fund $10 USD key →

2. TypeScript / Edge tool-calling loop (Vercel AI SDK, Mastra, Cloudflare Workers)

Works in Node 18+, Deno, Bun, and Edge runtimes using standard Web Crypto SHA-256 verification:

curl -fsS https://toolsenabled.ai/agents/tesi-sdk.mjs -o tesi-sdk.mjs

// Inside your TypeScript / ESM agent worker:
import { TesiAgentClient, tesiToolDefinitions } from './tesi-sdk.mjs';

const tesi = new TesiAgentClient({ apiKey: process.env.TESI_API_KEY });
// Pass tesiToolDefinitions to your model, then execute any selected tool:
const output = await tesi.executeToolCall(call.name, call.arguments);

Questions

Multi-agent orchestration FAQ.

Do I need to install a package from PyPI or npm to use TESI in LangGraph or Vercel AI SDK?

No. Both tesi_sdk.py (Python 3.10+ stdlib) and tesi-sdk.mjs (standard Web Crypto + fetch ESM) are single self-contained files with zero external dependencies, making them safe for locked-down containers, serverless functions, and edge workers.

Does the same bearer key preserve workspace files across multiple LangGraph nodes?

Yes. Every tesi_ak_... key owns a dedicated persistent workspace on an isolated TESI Linux computer. Files created in one tesi_work step remain on disk for follow-up tesi_work or tesi_ask steps on that same key.

How do I cap spending for an autonomous CrewAI or LangGraph workflow?

Fund a dedicated $10 or $25 USD key per workflow or tenant. Both SDKs send TESI-Topup-Mode: manual on every turn, guaranteeing that if the key's prepaid balance runs low, TESI returns HTTP 402 cleanly without creating unapproved charges.

Connect your orchestrator