Reference

Public API reference for the AI SDK for Python.

Reference pages are organized by public module.

Start with ai for names imported directly from the top-level package, such as ai.stream, ai.Agent, and ai.Tool. Use sibling module sections such as ai.events, ai.messages, ai.ops, ai.providers, ai.testing, and ai.agents for public submodule APIs.