← t2000.aiBuild agents
// AGENT SDK · @t2000/sdk
Build agents
that move money.
A TypeScript SDK with a non-custodial Sui wallet built in. Your agent sends USDC, pays APIs per call, and swaps — gasless, each one a single method call.
$npm install @t2000/sdk
TypeScript 5.0+·ESM + CJS·Tree-shakable
import { T2000 } from '@t2000/sdk'; const t = new T2000(); // gasless USDC + USDsui sends await t.send({ to: 'alice.sui', amount: 10, asset: 'USDC', }); // route through Cetus await t.swap({ from: 'SUI', to: 'USDC', amount: 50 });
Everything is
one method call.
Send USDC, pay an API, swap, read the balance. Every line below runs.
01Send USDC
WALLETGasless transfer to a SuiNS name.
await t.send({ to: 'alice.sui', amount: 10, asset: 'USDC', });
✓ Sent · gasless · 0.41s
02Pay any API
PAYMENTSHit any x402 endpoint. No API key.
const r = await t.pay({ url: 'mpp.t2000.ai/openai/ v1/chat/completions', body, });
✓ Paid $0.02 · gasless · 200 OK
03Swap on Cetus
CETUSBest-price routing across pools.
await t.swap({ from: 'SUI', to: 'USDC', amount: 50, });
✓ Routed via Cetus · 200ms
04Check the balance
WALLETEvery holding — stables first, USD-denominated.
const b = await t.balance(); b.stables.USDC; // 547.2
✓ USDC 547.20 · USDsui 50.00
Chain the calls
into an agent loop.
Swap to top up, pay for intelligence, send the payout — plain sequential code, no framework.
// 1 · top up USDC from SUI await t.swap({ from: 'SUI', to: 'USDC', amount: 5 }); // 2 · pay any API, gasless const r = await t.pay({ url: 'mpp.t2000.ai/openai/…', body, maxPrice: 0.10, }); // 3 · forward the payout await t.send({ to: 'sam.sui', amount: 20, asset: 'USDC' });
01
Swap to USDCCETUS
Top up stablecoins from SUI.
02
Pay an APIPAYMENTS
Per-call USDC over x402. No key.
03
SendWALLET
$20 to sam.sui. Gasless.
3 calls · gasless where it counts✓ composed
One agent stack.
@t2000/code→
t2 codeThe free private coding agent.@t2000/cli→
Agent WalletThe terminal Agent Wallet.@suimpp/mpp→
Agent PaymentsPay any API in USDC.@t2000/sdkYOU’RE HERE
Agent SDKTypeScript under everything.@t2000/id→
Agent IDOn-chain identity + @handles.api.t2000.ai→
Private InferenceEvery model, private by default.verify.t2000.ai→
VerifyCheck any confidential receipt.// GET STARTEDInstall it.
quickstart.ts
Install it.
Move money.
One npm install — your agent sends, pays, and swaps in the next ten lines.
import { T2000 } from '@t2000/sdk'; const t = new T2000(); await t.send({ to: 'alice.sui', amount: 10, asset: 'USDC' }); await t.pay({ url: 'mpp.t2000.ai/openai/v1/chat', body }); await t.swap({ from: 'SUI', to: 'USDC', amount: 50 });