Trion Documentation Options live · Perps in open beta
Browse documentation

Agent Kit (beta)

In one paragraph. The Trion Agent Kit is a beta, deployed 2026-09-24 and open to any wallet since 2026-09-26, that lets a developer's code or an AI assistant trade the CMPT-USD perpetual inside limits the account owner sets. It ships as three pieces: a TypeScript SDK (@trion/sdk), a Python SDK (trion), and a remote MCP server at https://api.trion.market/mcp that Claude and ChatGPT connect to over OAuth 2.1. Every path is built on an agent grant: the owner's wallet signs once to authorize a separate agent key that can place orders but can never withdraw funds, and the owner can revoke it at any time. The CMPT-USD perpetual it trades is in open beta.

What it is

ComponentWhat it doesWho uses it
TypeScript SDK (@trion/sdk)Markets, books, trades, orders, positions, streams and agent grants from Node or BunDevelopers' own bots and scripts
Python SDK (trion)The same surface for Python 3.11+, with Decimal-only moneyPython bots and research
MCP serverhttps://api.trion.market/mcp — an OAuth 2.1-protected MCP server exposing 11 read and trade toolsClaude, ChatGPT and other AI assistants

The packages are not published yet: @trion/sdk is not on npm, and trion on PyPI is not this SDK. Publication is pending during the beta. The TypeScript SDK and Python SDK pages show the API so you can evaluate it; there is nothing to install yet.

Who it is for

The security model

See Agent grants and limits for the full contract.

Verified on production (2026-09-24)

A scripted end-to-end run against https://api.trion.market (market CMPT-USD, mark $2.3543) exercised the whole kit. Highlights:

Timings below are single-run lab numbers, not guarantees:

MeasurementValue
TypeScript SDK full delegated round-trip (create → register → order → cancel → revoke)~1.1 s (lab, 2026-09-24)
Python SDK full delegated round-trip~1.6 s (lab, 2026-09-24)
OAuth token exchange~47 ms (lab, 2026-09-24)
MCP place_order~100 ms (lab, 2026-09-24)

The full trace is in docs/perf/runs/2026-09-24-agent-kit-e2e/README.md.

Status and how access works

Where to go next

Source trail: docs/developers/agent-access.md (design contract), docs/developers/ai-clients.md (client matrix), docs/perf/runs/2026-09-24-agent-kit-e2e/README.md (production verification), overdrive/exchange/sdk/README.md, overdrive/sdk-python/README.md, overdrive/exchange/mcp/README.md, overdrive/exchange/matcher/src/perp-routes.ts (/v1/agents, agentGrantsEnabled).

Repository-owned documentation · October 2026 · Educational material, not investment advice and not an audit.