AI
Docs
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-ai

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.