Goal planning, tool use, and result inspection
Characters interpret goals, generate execution steps, use game tools, inspect results, and adjust subsequent plans.
Use C#/.NET to integrate agent characters with continuous tool use, long-term memory, game time, multi-character execution, and game-confirmed state changes.
Add the runtime to an existing C# game, then configure the abilities characters may use according to game rules.
.NET 8 · netstandard2.1$ dotnet add package OpenGameAgent --version 0.3.0-alpha.1Currently alpha. Core contracts are stabilizing; public APIs and persistence formats may still change.
Characters interpret goals, generate execution steps, use game tools, inspect results, and adjust subsequent plans.
Characters understand turns, day and night, dates, and phases—and can schedule work in future game time rather than merely follow message order.
Movement, trade, combat, or building can continue across scenes and sessions, then recover from durable operation receipts after disconnection or interruption.
Characters retain experiences, relationships, and commitments, formalize repeatable tasks as skills, and advance goals through messages, schedules, and delegation.
Characters generate structured action intents. Game code confirms permissions, conditions, and parameters, executes approved actions, and returns state results.
Connect multiple model providers, add tools through MCP and Agent Plugins 1.0, and handle text, images, audio, and video through one interface.
Run directly inside the game or self-host the optional .NET 8 JSON/SSE service, then connect OGA Agent Cloud when the project needs production capacity, realtime interaction, and long-term operations.
Integrate the OpenGameAgent runtime into your game project.
View source ↗Discuss integration services →