For the complete documentation index, see llms.txt. Prefer markdown by appending .md to documentation URLs or sending Accept: text/markdown.

Get started

Get started with AI Kit. Explore template apps, provider integrations, and the architecture behind the AI starter kit.

TurboStarter AI Kit provides ready-to-use AI templates for Next.js and Expo. Start with chat, RAG, images, or voice, then configure the providers your product needs.

Whether you're launching a small side project or a full-scale product, it gives you the structure you need to start building immediately.

Use the kit selector to explore Core Kit for a full SaaS foundation or Edge Kit for TanStack Start on Cloudflare. If you are comparing them, choose a kit walks through the requirements that decide it.

Features

AI Kit comes packed with features designed to accelerate your development process:

Core framework

AI

Data storage

Authentication

User interface

Templates

AI Kit includes several production-ready template applications that showcase diverse AI capabilities. Use these examples to understand implementation patterns and jumpstart your own projects.

Scope of this documentation

Use these guides for AI Kit's templates and its own authentication, credits, database, and API. To add full account flows, subscriptions, organizations, or admin, follow Integrate Core Kit.

For a TanStack Start app on Cloudflare Workers with D1 and an AI foundation, explore Edge Kit. Its AI building blocks connect model calls, streaming, and message rendering. Edge uses different routing, authentication, and binding infrastructure from the AI Kit templates.

Setup

The fastest start is the AI Kit CLI. If you already cloned the repo or are combining with Core, use the guides below:

Configure specific AI providers and demo apps from the sidebar after bootstrap. If you have not created the project yet, start with the AI Kit CLI (npx @turbostarter/cli@latest new -k ai).

When AI Kit is your application base, use the ai repository for Git commands. If Core Kit is already your base, keep working in core and port the selected AI feature by following the Core-first recipe.

Deployment

Deploying AI Kit follows the same process as deploying the core web application. Ensure you configure all necessary environment variables, including those for your selected AI providers (like OpenAI, Anthropic, etc.), in your deployment environment.

For comprehensive deployment instructions across various platforms, consult our core deployment guides:

For mobile app store deployment, refer to our mobile publishing guides:

Each AI demo app may have specific deployment considerations, so check their dedicated documentation sections for additional guidance.

AI-assisted development

AI Kit ships editor rules, skills, a code-reviewer subagent, and a new-feature command so agents follow this monorepo. The extras page covers template conventions, what is on disk, and the ChatGPT prompt pack that comes with the license.

Major AI coding assistants - such as Cursor, Claude, ChatGPT Codex, Antigravity, and others - work with this setup when you open the cloned project.

Use /llms.txt for LLM-optimized docs. For the shared symlink layout and editor knobs, see the AI-assisted development guide.

Let's build amazing AI SaaS!

We're excited to help you create innovative AI-powered applications quickly and efficiently. If you have questions, encounter issues, or want to showcase your creations, connect with our community:

Happy building!

How is this guide?

Last updated on

On this page

Make AI your edge, not replacement.Try AI Kit