Livecreate.bixai.dev
Bixai Agent SDK Starter
Next.js AI agent template
Template for production-ready agent apps built on Next.js and the OpenAI Agents SDK, with a modular tool structure and a fast path to deployment.
Visit siteSource on GitHub
What it does
- Production-ready Next.js integration
- OpenAI Agents SDK support
- Modular tool and agent structure
Why I built Bixai Agent SDK Starter
Every agent project I started began with the same hour of setup: Next.js, the OpenAI Agents SDK, a streaming API route, input validation, sessions. So I turned that hour into one command.
You get a working agent app with typed tools, streaming and a choice of two templates, ready to change into whatever you’re building.
How Bixai Agent SDK Starter works
- The CLI copies one of two templates: a single agent with tools, or a triage agent that hands off to specialists. It sets up your package manager of choice (npm, pnpm, yarn or bun) and runs git init.
- The /api/agent route returns plain JSON, or a stream of server-sent events, and tells the UI which agent is active after a handoff.
- Every request is validated with a strict Zod schema: messages up to 4,000 characters, between 1 and 20 agent turns.
- Server sessions live in memory with a 30-minute timeout and a cap of 200, both configurable.
- The default model is gpt-5-mini, and one environment variable changes it.
Built with
- TypeScript
- Next.js 16
- React 19
- OpenAI Agents SDK
- Zod
- Tailwind CSS
Try Bixai Agent SDK Starter
npx @bixai/create-agent-sdk-starter