Agent Runtime
for Games
Give your NPCs a mind. The Agent Runtime connects game state to language-model reasoning, so your characters adapt, remember, and make decisions — without scripted behavior trees.
// Connect an NPC to the Agent Runtime in three lines.
var agent = new AgentClient("<your-api-key>");
agent.Connect("npc-guard-001");
// On each game tick, pass raw state and get an action back.
var response = await agent.Think(GetGameState());
ApplyAction(response.action); // patrol | chase | flee | negotiateWhat the runtime gives you
NPCs that think
Each agent holds persistent memory, reasons over game state, and chooses actions independently. No scripted trees.
Engine-native SDKs
Drop-in packages for Unity, Unreal Engine, and Godot. A single API call connects your NPC to the runtime.
Per-game isolation
Every game project gets its own API key and agent namespace. Agents from one game never bleed into another.
Real-time state
Feed raw game state — position, inventory, faction — directly to the agent. It interprets context and responds in milliseconds.
Ready to add agents to your game?
Create a project, get an API key, and ship your first thinking NPC today.
Start for free