Skip to content
Source
Sign inSign up
TanStack/ai

Architecture

Describes commit 2641779Updated Made by openai/gpt-6-luna

Overview

TanStack AI is a TypeScript monorepo for building provider-agnostic AI applications. Its core package supplies shared AI activities and streaming behavior; separate provider packages adapt model and service APIs to those shared interfaces. Applications can add the headless client and framework bindings, then choose the providers and capabilities they need.

The workspace also contains packages for persistence, devtools, memory, MCP, media, agent harnesses, sandboxing, and Code Mode. Code Mode lets an agent execute TypeScript in an isolated runtime and can be combined with sandbox and isolate implementations. Examples demonstrate integrations across frameworks and use cases; docs describe the public APIs and architecture. Root scripts use pnpm and Nx to build, test, and maintain workspace projects.