A Unity client that sends world state and applies structured events, plus a Flask/LangGraph backend for lore, decisions, dialogue, and blockchain-aware tools.
Unity · Agent world model · AI NPCs
MiniTown AI
A small Unity world whose lore, events, dialogue, and NPC actions are generated by a stateful agent service.
- ROLE
- Solo builder of the Unity client and companion agent service
- STATE
- Two repository integration prototype
SYSTEM FLOW
- 01WORLD STATE
- 02AGENT SERVICE
- 03LORE + EVENT
- 04STRUCTURED ACTION
- 05UNITY WORLD
Build
Turning probabilistic model output into bounded, structured events the game can actually execute.
RESULT
A complete game-to-agent loop split cleanly between simulation and reasoning services.
- NOW
- The local game to agent loop is complete across two repositories.
- NEXT
- Add gameplay capture and typed action schemas.
System flow
- 01WORLD STATE
- 02AGENT SERVICE
- 03LORE + EVENT
- 04STRUCTURED ACTION
- 05UNITY WORLD
- Unity
- C#
- Python
- Flask
- LangGraph
- CDP AgentKit