Skip to content
masterclass Buddy

AI Tools · Tool

FAISS

The AI SDK is a TypeScript toolkit for building AI applications and agents. It provides a shared way to work with supported model providers and includes libraries for text, UI, workflows, and terminal agents.

Last updated

Syntax

const { text } = await generateText({ model, prompt });

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • AI SDK Core
  • AI SDK RSC
  • AI SDK UI
  • AI SDK Workflow
  • AI SDK TUI
  • HarnessAgent
  • generateText

Source: AI SDK by Vercel. Checked 2026-11-03.