Quickstart
Deploy your first AI agent with a card and wallet in under 5 minutes
Install the SDK
npm install @reinx/reinxInitialize the client
import { Reinx } from '@reinx/reinx'
const reinx = new Reinx({
apiKey: process.env.REINX_API_KEY
})Create your first agent
const agent = await reinx.agents.create({
name: 'Ad Spender',
budget: 500_00, // $500 in cents
merchantLocks: ['google.com', 'meta.com']
})
console.log(agent.card.last4) // '4242'
console.log(agent.wallet.address) // '0x7a3f...8c21'Your agent now has a virtual card (Visa & Mastercard) and a crypto wallet (Base, USDC) — both funded from a single budget that routes automatically.
Set spending rules
await reinx.policies.update(agent.id, {
perTransactionLimit: 100_00, // $100 max per transaction
dailyVelocityLimit: 20, // 20 transactions per day
autoApprovalThreshold: 50_00, // Auto-approve under $50
})What's next
- API Reference — Full endpoint documentation
- MCP Tools — 16 tools for Claude, ChatGPT, any LLM