Agent Kit
The Agent Kit wires Tokelio's payment primitives into popular agent frameworks so your agents can pay as they act.
Supported frameworks
- Vercel AI SDK
- LangChain.js
- OpenAI tool-calling
Pattern: payments as tools
Expose settlement to your agent as a callable tool:
import { tokelioTools } from "@tokelio/agent-kit";
const tools = tokelioTools({ env: "preview" });
// -> settle, openEscrow, releaseEscrow, queryReputation, ...
// Hand `tools` to your framework's agent runtime.
Example agents
- A subscription agent that renews services and settles each cycle.
- A reputation-gated marketplace agent that only buys from proven providers.
Why a kit
Each framework has its own tool schema and runtime. The Agent Kit adapts Tokelio's primitives to each, so you write payment logic once and run it under whichever agent runtime you already use.