# Ai

> TanStack AI enables developers to build robust, type-safe AI applications with minimal boilerplate. Its primary goals are to abstract away LLM provider differences, support multimodal inputs and outputs, and integrate seamlessly with modern frameworks — especially TanStack Start for server-client tool sharing. The SDK empowers teams to create intelligent agents, chat interfaces, and tools that can reason, execute, and stream responses while maintaining strict type safety and developer experience.

**Remember:**
- Provider-agnostic adapters
- Multimodal content support
- Streaming chat completion
- Agent loop strategies
- Server-client tool execution
- TanStack Start integration

## Docs
- [Devtools](https://github.com/TanStack/ai/blob/main/docs/getting-started/devtools.md): install & quickstart.
- [Overview](https://github.com/TanStack/ai/blob/main/docs/getting-started/overview.md): install & quickstart.
- [Quick Start](https://github.com/TanStack/ai/blob/main/docs/getting-started/quick-start.md): install & quickstart.
- [Reference](https://github.com/TanStack/ai/blob/main/docs/reference/index.md): API reference.
- [Generate Docs](https://github.com/TanStack/ai/blob/main/scripts/generate-docs.ts): docs page.
- [Agentic Cycle](https://github.com/TanStack/ai/blob/main/docs/guides/agentic-cycle.md): docs page.
- [Ai](https://github.com/TanStack/ai/blob/main/docs/api/ai.md): API reference.
- [Ai Client](https://github.com/TanStack/ai/blob/main/docs/api/ai-client.md): API reference.
- [Ai React](https://github.com/TanStack/ai/blob/main/docs/api/ai-react.md): API reference.
- [Ai Solid](https://github.com/TanStack/ai/blob/main/docs/api/ai-solid.md): API reference.

## Tutorials
- [README](https://github.com/TanStack/ai/blob/main/examples/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/php-slim/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/python-fastapi/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/ts-group-chat/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/ts-react-chat/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/ts-solid-chat/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/examples/vanilla-chat/README.md): install & quickstart.
- [Vanilla Chat](https://github.com/TanStack/ai/blob/main/examples/vanilla-chat/index.html): worked example.
- [Anthropic Server](https://github.com/TanStack/ai/blob/main/examples/python-fastapi/anthropic-server.py): worked example.
- [Api Verification](https://github.com/TanStack/ai/blob/main/examples/ts-react-chat/api-verification.ts): API reference.

## API
- [Api.Chat](https://github.com/TanStack/ai/blob/main/testing/panel/src/routes/api.chat.ts): API reference.
- [Api.List Traces](https://github.com/TanStack/ai/blob/main/testing/panel/src/routes/api.list-traces.ts): API reference.
- [Api.Load Trace](https://github.com/TanStack/ai/blob/main/testing/panel/src/routes/api.load-trace.ts): API reference.
- [Api.Tanchat](https://github.com/TanStack/ai/blob/main/packages/typescript/smoke-tests/e2e/src/routes/api.tanchat.ts): API reference.

## Optional
- [Changelog](https://github.com/TanStack/ai/blob/main/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-anthropic/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-client/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-devtools/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-gemini/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-ollama/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-openai/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-react-ui/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-react/CHANGELOG.md): version history.
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-solid-ui/CHANGELOG.md): version history.
- [Code Of Conduct](https://github.com/TanStack/ai/blob/main/CODE_OF_CONDUCT.md): docs page.
- [README](https://github.com/TanStack/ai/blob/main/README.md): docs page.
- [Eslint.Config](https://github.com/TanStack/ai/blob/main/eslint.config.js): docs page.
- [Prettier.Config](https://github.com/TanStack/ai/blob/main/prettier.config.js): docs page.
- [Verify Links](https://github.com/TanStack/ai/blob/main/scripts/verify-links.ts): docs page.
- [Vitest.Workspace](https://github.com/TanStack/ai/blob/main/vitest.workspace.js): docs page.

## .Github
- [Pull Request Template](https://github.com/TanStack/ai/blob/main/.github/pull_request_template.md): docs page.
- [Copilot Instructions](https://github.com/TanStack/ai/blob/main/.github/instructions/copilot-instructions.md): docs page.

## Packages
- [README](https://github.com/TanStack/ai/blob/main/packages/php/tanstack-ai/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/python/tanstack-ai/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-client/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-devtools/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-gemini/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-ollama/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-openai/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-react-ui/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-react/README.md): install & quickstart.
- [README](https://github.com/TanStack/ai/blob/main/packages/typescript/ai-solid-ui/README.md): install & quickstart.

## Testing
- [README](https://github.com/TanStack/ai/blob/main/testing/panel/README.md): install & quickstart.
- [App.Config](https://github.com/TanStack/ai/blob/main/testing/panel/app.config.ts): docs page.
- [Vite.Config](https://github.com/TanStack/ai/blob/main/testing/panel/vite.config.ts): docs page.
- [Routetree.Gen](https://github.com/TanStack/ai/blob/main/testing/panel/src/routeTree.gen.ts): docs page.
- [Guitar Tools](https://github.com/TanStack/ai/blob/main/testing/panel/src/lib/guitar-tools.ts): docs page.
- [Index](https://github.com/TanStack/ai/blob/main/testing/panel/src/traces/index.ts): docs page.
- [Model Selection](https://github.com/TanStack/ai/blob/main/testing/panel/src/lib/model-selection.ts): docs page.
- [Recording](https://github.com/TanStack/ai/blob/main/testing/panel/src/lib/recording.ts): docs page.
