Skip to content

About

Resources

Stars

30 stars

Watchers

0 watching

Forks

Repository files navigation

World Cup Eve

An Eve agent for answering questions about the World Cup.

Built with Eve, Next.js, and AI SDK.

Highlights

  • ⚡ Live match context: scores, standings, and match events exposed to the Eve agent as typed tools
  • 🧠 Model routing: grok-4.20-non-reasoning served 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

Requirements

  • Node.js 24+
  • Bun
  • AI_GATEWAY_API_KEY or another provider credential supported by your model

Development

bun install
bun run dev

Open http://localhost:3000.

Scripts

bun run typecheck
bun run format:check
bun run build

Eve

  • agent/agent.ts configures the model and provider routing
  • agent/tools/* exposes typed tools to the agent
  • agent/instructions/* adds dynamic instructions
  • evals/* 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.

Evals

bunx eve eval --url http://localhost:3000

License

MIT

About

Resources

Stars

30 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages