An Eve agent for answering questions about the World Cup.
Built with Eve, Next.js, and AI SDK.
- ⚡ Live match context: scores, standings, and match events exposed to the Eve agent as typed tools
- 🧠 Model routing:
grok-4.20-non-reasoningserved through the Vercel AI Gateway - 💬 Resumable chats: each conversation gets a
/chat/<id>URL and restores from browser storage - 🧩 Complete Eve setup: typed tools, dynamic instructions, evals, and a chat UI in one small app
- Node.js 24+
- Bun
AI_GATEWAY_API_KEYor another provider credential supported by your model
bun install
bun run devOpen http://localhost:3000.
bun run typecheck
bun run format:check
bun run buildagent/agent.tsconfigures the model and provider routingagent/tools/*exposes typed tools to the agentagent/instructions/*adds dynamic instructionsevals/*contains Eve evals for the agent behavior
next.config.ts wraps Next with withEve, so the web app and Eve runtime deploy as one project.
bunx eve eval --url http://localhost:3000MIT