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

Extras

Conventions in the templates, the ChatGPT prompt pack, and editor extras that ship with AI Kit.

Tips and tricks

The AI templates are meant to be the reference implementation, not throwaway demos. Next to the code you'll find comments marking the intended extension points, so new capabilities follow the same shape.

export const getModelProvider = (model: string) => {
  /**
   * You can use custom providers for specific models, e.g. for OpenAI
   * by using @ai-sdk/openai. By default the AI Gateway is used.
   *
   * Example:
   * if (model.startsWith(Provider.OPENAI)) {
   *   return withMiddleware(openai.responses(getModelFromId(model) ?? model));
   * }
   */
  return withMiddleware(gateway.languageModel(model));
};

When you add a feature, copy the nearest template and incorporate into your specific use-case.

100+ ChatGPT prompts

Need help with the business side? Pro licenses include 100+ prompts for marketing, SEO, sales, and everyday founder work 🔥

Use them for landing copy, launch posts, and research. The prompts ship with your license rather than in the repository.

Startup prompts

AI rules, skills, subagents and commands

AI Kit ships with AGENTS.md and a shared .agents/ directory that includes rules, skills, a code-reviewer subagent, and a setup-new-feature command. They're tuned for this monorepo (Vercel AI SDK, Hono, Drizzle, Expo), so generated code follows the existing templates.

To learn how to set them up and use them effectively, see the AI-assisted development docs. Where that page mentions packages/api/, AI-specific code lives in packages/ai/ in this kit.

Discord community

AI Kit licenses include dedicated Discord channels. Ask about providers, credits, LiveKit, or a template that won't stream, and share what you've built. Check more details at /discord.

Join us

Discord

How is this guide?

Last updated on

On this page

Make AI your edge, not replacement.Try AI Kit