AI SDK Template
Everything you need to build your next AI powered application. Built with:
- Vercel AI SDK
- Next.js 16
- Tailwind CSS
- shadcn/ui
- Free & Open Source
Fully open source and free to use. No hidden costs or subscriptions. Fork it, customize it, and make it your own.
- Latest Tech Stack
Built with Next.js 16, Vercel AI SDK, and TypeScript. Get access to the latest features and best practices for modern AI applications.
- Beautiful Components
Pre-built UI components with shadcn/ui. Accessible, customizable, and styled with Tailwind CSS. Easy to customize and extend.
Getting Started
1. Clone the repository
git clone https://github.com/ChangoMan/ai-sdk-template
cd ai-sdk-template2. Install dependencies
npm install3. Set up environment variables
cp .env.example .env.localThen open .env.local and fill in your API keys:
GOOGLE_GENERATIVE_AI_API_KEY- Get from Google GeminiOPENAI_API_KEY- (Optional) Get from OpenAI
By default, this template will use the Google Generative AI Provider since it has a generous free tier. However, if you want to try out the image generation, you may need to add a billing plan.
4. Run the development server
npm run devOpen http://localhost:3000 in your browser to see the result.