AgentKit
Production-ready starter template for building AI agents with web search capabilities. Includes authentication, database persistence, streaming chat UI, and a polished landing page.
Introduction
AgentKit is a production-ready starter template for building AI chat applications with web search capabilities. It ships with authentication, PostgreSQL persistence, streaming responses, and a modern UI built with shadcn/ui — everything you need to launch fast.
AI-Powered Web Search
Toggle web search on or off with a single click. When enabled, your agent can search the web for current information, recent events, and up-to-date data using Exa search tools.
Modern Chat Interface
Pre-built chat UI with streaming responses, file uploads, message history, and tool call visualization. Built with shadcn/ui and Tailwind CSS for a responsive, polished experience.
Authentication and Persistence
Clerk authentication with email/password and OAuth support. Conversations are saved to PostgreSQL via Prisma with user-scoped chat history.
Production Ready
Includes error handling, loading states, responsive design, and deployment guidance for Vercel. Full TypeScript coverage throughout the codebase.
Built With
- Next.js 16 and React 19
- Vercel AI SDK with Anthropic Claude
- Clerk authentication
- Prisma + PostgreSQL
- shadcn/ui and Tailwind CSS
- Exa web search integration
Getting Started
- Clone:
git clone https://github.com/anayatkhan1/agentkit-starter.git - Install:
pnpm install - Configure: Add Clerk, Anthropic, and database env vars
- Migrate:
pnpm prisma migrate dev - Run:
pnpm devand open http://localhost:3000
Visit the live demo or explore the GitHub repository to get started.