Exports core AI client functions and types for building chat, generation, and realtime applications.
// Source: https://github.com/TanStack/ai | License: MIT | Copyright 2025 Tanner Linsley
// Provided via justclaw.it.com; keep this notice with the code.
export { createChat } from './create-chat.ts'
export { createByok } from './create-byok.ts'
export { createRealtimeChat } from './create-realtime-chat.ts'
export { createMcpAppBridge } from './create-mcp-app-bridge.ts'
export type { CreateMcpAppBridgeOptions } from './create-mcp-app-bridge.ts'
export {
createPageWebMCPTools,
createRegisterWebMCPTools,
} from './create-web-mcp-tools.ts'
export type {
CreatePageWebMCPToolsOptions,
CreateRegisterWebMCPToolsOptions,
} from './create-web-mcp-tools.ts'
export type {
DeepPartial,
CreateChatOptions,
CreateChatReturn,
UIMessage,
ChatRequestBody,
QueuedMessage,
SendMessageOpti
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key