AI Encounter

Agentic battle chat

LIVEProof of conceptLive siteSource

An agent that works out which game action a player meant from whatever they typed. There are two here, attack and elaborate, but the same routing extends to as many as you like. Hit the sparkly button for a random battle, then talk your way through it.

AI Encounter

Highlights

attack the agent rolls your damage, applies it, then rolls the enemy's reply
elaborate answers questions and narrates without touching game state
routing free text to a logical action, written from scratch rather than tool-called
scenarios a fresh battle at any time, nothing saved between them

The battle mechanics are deliberately thin. The point was the routing, not the combat.

Built with

Genkit, TypeScript, Firebase Hosting.