@builddai/ai-kit · Apache-2.0 · v0.13.0
Your key, your prompts.
We pick the model. Your prompts never touch us.
The chat parts we run buildd on, packaged for your app. Only /models calls us.
npm i -E @builddai/ai-kit@0.13.0Pin the exact version. Rerun your evals before you upgrade.
A chat thread from @builddai/ai-kit/chat/react
The kit's real components on scripted data. Go ahead, click Discard.
We see the receipt, never the chat.
- Fallbackbuildd down? You get the last good plan, then your defaults.
- BudgetsOver the limit, a call is refused or moved to a cheaper model.
- ReceiptsBuilt from a fixed field list, so a stray prompt can’t get in.
One list decides what the model can touch.
Declare tools once. The menu and the server both read it.
askEvery write asks first, with a before and after.
allowA write may skip its card, under tight rules.
readNo writes at all.
neverNot a tool. Shown locked.
Take the parts you want.
/chat/reactReadyThread, composer, pickers and approval cards.
needs: react 19, @ai-sdk/react 4, ai 7
/chat/serverReadyThe turn runner, with tool permissions enforced on the server.
needs: ai 7, loaded on the first turn
/chat/contractReadyThe wire types. No dependencies.
needs: Nothing. Isomorphic
/modelsReadyWhich model to call, and a receipt with no content.
needs: Nothing. Node, Bun, edge
/decideReadyA model picks one of your labels or answers yes or no.
needs: Optional @typesafe-ai/sdk
/surfacesRank slot readyA model ranks your own chips.
needs: decide
Plain CSS. Map the --kit-* variables to your tokens.
Open source
The runner and ai-kit are Apache-2.0. The server is source-available under FSL-1.1. Each release becomes Apache-2.0 two years after it ships.