Example projects for the An SDK — deploy AI coding agents and connect them to your app.
| Example | Description | Stack |
|---|---|---|
nextjs-chat |
Chat UI connected to a deployed agent with web search | Next.js, @an-sdk |
nextjs-fill-form |
AI-powered form filling with tabbed forms + chat | Next.js, React Hook Form, @an-sdk |
email-agent |
Email operations copilot — send, read inbox, auto-reply via AgentMail | Next.js, AgentMail, @an-sdk |
note-taker |
AI notebook assistant with persistent notes via Convex | Next.js, Convex, @an-sdk |
monitor-agent |
Service health monitoring with Slack alerts | Node.js CLI, @an-sdk |
Each example is self-contained. Pick one, navigate to its directory, and follow its README:
cd nextjs-chat
pnpm install
npx an login
npx an deploy
cp .env.example .env.local
pnpm dev