SDK
Built in your stack. Not next to it.
Type-safe, streaming, idiomatic. Three lines for a chat. A couple more for a custom UI.
import { useAiva } from 'aiva-sdk/react' export function SupportChat() { const { messages, send, status } = useAiva({ assistant: 'support', stream: true }) return ( <div> {messages.map((m) => ( <Message key={m.id} role={m.role}> {m.content} </Message> ))} <Composer onSend={send} /> </div> ) }
What makes it different
Designed for developers who ship.
Type-safe by default. Streaming by default. Idiomatic in every framework we support.
Catch the bug before you ship.
Full TypeScript across every method. Autocomplete on every parameter. Your editor knows what useAiva() returns before you finish typing the dot.
Pass an invalid model name? Compile error. Forget a required parameter? Compile error. Catch it before your customer does.
await aiva.deploy({ model: 'gpt-4o-realtime', channel: 'voce' // ← typo })
First token in 240ms.
Most AI SDKs make you wait for the entire response before showing anything. Ours streams tokens the moment they're available — so your UI feels alive, not frozen.
useAiva() returns a reactive messages array that updates as tokens arrive. No polling, no fetch loops, no special handling required.
Idiomatic everywhere.
The React SDK uses hooks. The Next.js SDK uses Server Actions. The Node SDK uses async iterators. The Python SDK uses async generators. We don't make you fight your framework.
Each is a thin layer over the same core, so behavior stays consistent — but you get to write code that looks like the rest of your codebase.
Specifications
The numbers you actually need.
Bundle sizes, latency, dependency footprint — the things engineering teams check first.
Available everywhere
In your package manager of choice.
npm, yarn, pnpm, bun, pip, poetry. Stable releases, semver, fully changelogged.
In production
Real teams using the SDK.
Vellum integrated AIVA into their developer console in two days. Their engineers never had to leave TypeScript.
We don't trust SDKs that throw on undefined config. AIVA's autocomplete caught three of my bugs before I ran the code. That's how I knew it was real.
Other capabilities
SDK is one piece. Here's the rest.
All channels run on the same brain — train once, deploy anywhere.
npm i aiva-sdk
and go.
Free for 14 days. MIT licensed. No credit card. Run it locally before signing up if you want.