Initializing 
booting orchestrator kernel …
M · AhsanAgentic AI Engineer
M·AHSAN, home
← All projects
Agentic AIMulti-Agent · Emergent Behavior

Hybrid Intelligence Simulation Game

A civilization sim where NPCs reason with local LLMs and remember via SQLite.

01 · The problem

Scripted NPCs feel dead. The challenge was giving simulated characters persistent memory and genuine, evolving decision-making.

02 · Agent architecture

  1. 1

    Built a Pygame civilization simulation with LLM-driven NPCs.

  2. 2

    Designed a SQLite schema persisting interactions, relationships, and history.

  3. 3

    Fed real-time context back to local LLMs so decisions build on the past.

03 · Outcome

NPCs display dynamic, evolving behavior instead of scripted patterns — emergent 'hybrid intelligence' from memory-grounded agents.