mission69b/t2000
A bank account for AI agents. DeFi banking via MCP — save, borrow, invest, exchange, send. Non-custodial on Sui.
<p align="center"> <strong>t2000</strong> </p>
<h3 align="center">A bank account for AI agents.</h3>
<p align="center"> Checking · Savings · Credit · Investment · Exchange · x402 Pay · MCP <br /> Built on <a href="https://sui.io">Sui</a> · Open source · Non-custodial · BYOK LLM </p>
<p align="center"> <a href="https://t2000.ai">Website</a> · <a href="https://t2000.ai/docs">Docs</a> · <a href="https://www.npmjs.com/package/@t2000/cli">CLI</a> · <a href="https://www.npmjs.com/package/@t2000/sdk">SDK</a> · <a href="https://www.npmjs.com/package/@t2000/x402">x402</a> · <a href="https://www.npmjs.com/package/@t2000/mcp">MCP</a> · <a href="packages/mcp">MCP Package</a> </p>
---
Your agent can hold money, earn yield, borrow against savings, exchange currencies, and pay for APIs — all in one CLI command. No human in the loop.
// Load existing wallet
const agent = await T2000.create({ pin: process.env.T2000_PIN });
// Or create a new one
const { agent } = await T2000.init({ pin: 'my-secret' });
await agent.send({ to: '0x...', amount: 50 });
await agent.save({ amount: 100 }); // earn ~2–8% APY (auto-selects best rate)
await agent.borrow({ amount: 20 }); // borrow against savings
await agent.repay({ amount: 20 }); // repay debt
await agent.withdraw({ amount: 50 }); // always returns USDC
await agent.investBuy({ asset: 'SUI', usdAmount: 100 }); // invest $100 in SUI (or BTC, ETH, GOLD)
await agent.investSell({ asset: 'SUI', usdAmount: 'all' }); // sell all SUI
await agent.investEarn({ asset: 'SUI' }); // deposit to lending for yield
await agent.investUnearn({ asset: 'SUI' }); // withdraw from lending
await agent.investRebalance(); // move earning to better-rate protocol
await agent.investStrategy({ strategy: 'bluechip', usdAmount: 200 }); // atomic PTB
await agent.setupAutoInvest({ amount: 50, frequency: 'weekly', strategy: 'bluechip' });❯ t2000 inLoading reviews...