1 of 12

Earth-Engine: A Life Simulator with Emotional Intelligence

​

Tushar Das

2 of 12

What is Earth-Engine?

  • Earth-Engine is an interactive simulation of a small town where autonomous AI agents live, work, and form relationships.

​

  • Each agent has a unique personality, memories, and makes their own decisions.

​

​

  • The goal is to model believable, emergent human behavior using a Large Language Model as the agent’s brain.

3 of 12

How an Agent "Thinks“?

  • Key Idea: Agents operate on a loop: Perceive -> Retrieve -> Plan -> Act.

​

  • Perceive: Agents "see" events happening around them.
  • Retrieve: They search their memory for relevant past experiences to provide context for the present.
  • Plan: Based on perceptions and memories, the LLM generates a high-level goal for the agent.
  • Act: The system translates the goal into specific movements and actions you see on the screen.

​

4 of 12

Innovation 1: A Self-Hosted AI Brain

  • To move beyond reliance on commercial APIs, the simulation is powered by a locally-hosted Large Language Model.
  • I used Ollama to run open-source models like Llama 3 directly within a Kaggle Notebook.
  • Ngrok was used to create a secure public URL, allowing the simulation's backend to communicate with the model running in the cloud.
  • This setup is a cost-effective and private way to powering generative agents.

​

5 of 12

Innovation 2: Emotional Intelligence

  • I gave the agents a dynamic emotional state (e.g., happiness, sadness) to make them more human-like.
  • When an agent experiences an event, an LLM analyzes its emotional impact.
  • This updates their internal mood, which then directly influences their future plans and behavior.
  • This creates more lifelike agents, as their feelings now guide their actions.
  • This influences how the agents plan their life and interact with others.

​

6 of 12

Innovation 3: Wolfram API Integration

  • To connect the simulation to the real world, agents use the Wolfram|Alpha API.
  • At the start of each day, agents check the weather to get the actual, live forecast.
  • This factual data is added to their memory and used in their daily planning.
  • Impact: Agents will now realistically plan to visit the park on a sunny day or stay indoors when it's raining. This affects how they interact with others and their environment.

​

7 of 12

Agent Isabella (an LLM) plans and executes her daily routine. She owns a café and at 10 pm at night, she even plans a Valentine’s day Party!

8 of 12

The Image shows agents in their respective rooms ready to start their day as per the live weather.

9 of 12

10 of 12

Impact and Applications

  • Social Science: A digital simulation to study emergent social behaviors and the spread of information.
  • Game Development: Creating more realistic and intelligent Non-Player Characters (NPCs) that feel alive.
  • Urban Planning: Simulating how people might interact with new public spaces or infrastructure.
  • AI Research: A powerful platform for developing more sophisticated and human-like AI agents.
  • Government Planning: Testing govt initiatives’ effectiveness before implementation.

​

11 of 12

Technology Stack

  • Backend: Python, Django
  • Frontend: HTML, CSS, JavaScript (Phaser.js)
  • AI Core: Ollama (Llama 3), Ngrok
  • External Knowledge: Wolfram|Alpha API
  • Version Control: Git & GitHub

​

12 of 12

Thank You