investec-ai v0.2.0
Investec AI Documentation
Add AI-powered banking to any app in minutes. Conversational banking, spending analysis, fraud detection, voice banking, and receipt scanning — all from one SDK.
Quick install
npm install investec-aiGetting Started
Install the SDK and make your first API call in under 5 minutes.
API Reference
Complete reference for all SDK methods — accounts, transactions, AI features.
Guides
Step-by-step guides for Next.js, Hono, and custom AI models.
Examples
Copy-paste working code for chat, voice banking, receipt scanning, and more.
The whole thing in three lines
app/api/chat/route.ts
import { InvestecAI, createChatHandler } from 'investec-ai';
const sdk = new InvestecAI({
clientId: process.env.INVESTEC_CLIENT_ID!,
clientSecret: process.env.INVESTEC_CLIENT_SECRET!,
apiKey: process.env.INVESTEC_API_KEY!,
openaiApiKey: process.env.OPENAI_API_KEY!,
});
export const POST = createChatHandler(sdk);Your app now has a fully functional AI banking assistant backed by real Investec data.