# Decision Model Village Simulation in the Browser - Emberwick

Emberwick is a browser village simulation with 8 villagers and 4 scenarios. Inspect how Deem-4B, Karar-4B and Wähler-4B choose each next action.

Source: https://emberwick.mertkayacs.com/

Video: Night in Emberwick: the barn burns and villagers run to the well

# Emberwick: a village run by decision models.

A browser village where AI chooses each villager’s next move.

See how small AI models handle fires, storms and wolves. Inspect each villager’s choices; recorded decisions let you start immediately.

[Play the game](https://emberwick.mertkayacs.com/play/?lang=en) [Meet the models](https://jevalt.mertkayacs.com/#models)

## Four scenarios.

Each scenario ran once in English, Turkish and German, and every decision came from the model of that language. In all 12 recorded runs, the villagers reached every goal. With the game’s built-in rules, they reach these goals too.

Video: Barn fire

Barn fire The grain is inside and the wind is rising. Buckets must be carried from the well, or the barn will burn down.

- Fire out. All 8 villagers carried water. The barn ended the run 96% to 97% intact.

Video: Storm before harvest

Storm before harvest Three fields are ripe. The villagers must cover the grain, lash the mill sails and get under a roof.

- Mill sails lashed. The mill ended the run 66% to 74% intact.
- Grain covered.

Video: Market day

Market day Stalls open, a trader arrives and there is bread to sell. Then the tax collector comes.

- Trades made. The villagers made 23 to 45 trades per run, and the village’s coin grew from 40 to between 84 and 176.
- Tax paid on time. In every run, at least 7 of 8 households paid before the collector left.

Video: A day in Emberwick

A day in Emberwick Expect harvest and baking, a sick cow, rain, and wolves at dusk.

- Wolves driven off. They fled before they could take a lamb.
- Sick cow cured. Vilma brewed a remedy from her herbs, and the cow was tended back to health.

## How it works.

1.

### A villager needs to act

A task ends, a fire or storm starts, or a neighbour asks for help.

2.

### The game asks the model

It sends the situation in plain words and only the actions possible right now.

3.

### The model decides

Deem-4B, Karar-4B or Wähler-4B gives every option a probability, and the villager takes the most likely one that is still possible.

4.

### You can inspect each decision

Click a villager to see the question, the options and how sure the model was.

The game ships with the models’ recorded answers, so it runs in the browser without a model server. To watch the models decide live, connect the game to a JevAlt server or to the online demo on Hugging Face. When no answer arrives in time, a recorded answer or the game’s built-in rules decide.

### A real request: the barn fire at 19:42

Emmerich the baker hears the alarm. The game asks Deem-4B 3 questions, and these are its answers.

- Action Fight the fire 77.6% · Bake bread 7.2% · Eat something 5.0%
- Urgency An emergency, drop everything 81.5%
- Ask for help Bertram, the village guard 66.2% · Anselm 11.1%

Emmerich runs for the buckets, and Bertram gets the call for help.

Show the request

```
{
  "state": {
    "time": "19:42 (Evening)",
    "weather": "Clear sky, a strong wind",
    "villager": {
      "name": "Emmerich", "role": "baker", "doing": "Bake bread",
      "needs": {…}, "skills": {…}, "carrying": {…}
    },
    "village": {
      "stocks": {…}, "fields": […], "granary": "…",
      "events": ["The barn is on fire! Fire strength 41 of 100, barn 89 percent intact."]
    },
    "others": […],  // the other 7: place, task, hunger, relation
    "recent": ["19:41 Alarm! Fire in the barn."]
  },
  "model": "Deem-4B",
  "questions": {
    "action": { "type": "choice", … },       // 7 actions possible now
    "urgency": { "type": "score", … },       // 4 levels, calm to emergency
    "ask_for_help": { "type": "choice", … }  // 7 neighbours or nobody
  }
}
```

## Life in Emberwick.

Image: Emmerich bakes bread as the sun rises over the village.

Bread at dawn

Image: Emmerich tends the glowing bread oven under the midday sun.

The midday bake

Image: Ottilie stands by the market stalls as her decision panel offers the choice to pay tax.

The tax collector arrives

Image: Flames rise from the barn while Anselm waits for a model decision.

A fire, a live decision

Video: Scenes from Emberwick

Scenes from Emberwick

## Recorded village evidence

Last updated: 2026-10-15

Villagers

8

[Recorded village results](https://emberwick.mertkayacs.com/llms-full.txt)

Recorded runs

12

[Recorded village results](https://emberwick.mertkayacs.com/llms-full.txt)

Model decisions

926

[Recorded village results](https://emberwick.mertkayacs.com/llms-full.txt)

Completed tasks

380

[Recorded village results](https://emberwick.mertkayacs.com/llms-full.txt)

> “Eight villagers made 926 model decisions across 12 recorded runs.”

One recorded run per scenario and language; the built-in rules also reach the scenario goals.

Cite this

```
@misc{kaya2026emberwick,
  author = {Kaya, Mert},
  title = {Emberwick},
  year = {2026},
  url = {https://emberwick.mertkayacs.com/}
}
```

## Frequently asked questions

### What is Emberwick and which AI models does it use?

Emberwick is a browser village simulation where 8 villagers choose actions using small decision models. Deem-4B handles English, Karar-4B Turkish and Wähler-4B German. The game describes the situation and available actions, then uses the probabilities returned by the model. You can inspect each villager’s options, answer and confidence while the village runs.

### Can I play Emberwick without running a model server?

Yes. Emberwick ships recorded answers from all 3 JevAlt models, so you can begin in the browser without setting up a model server. The playable game needs JavaScript and WebGL. To watch live model decisions, connect a JevAlt server or the Hugging Face demo. Recorded answers or built-in rules take over if an answer is late.

### What scenarios can I try in Emberwick?

Emberwick has 4 scenarios: a barn fire, a storm before harvest, market day and an ordinary village day. The villagers fight fires, secure the mill, cover grain, trade, pay taxes, treat a sick cow and drive away wolves. Each scenario has recordings in English, Turkish and German, using the model for that language.

### What do the recorded Emberwick results show?

The recorded evaluation covers 12 runs: 4 scenarios in 3 languages, with 8 villagers, 926 model decisions and 380 completed tasks. Every scenario goal was reached in its 3 language runs. The built-in rules reach those goals too. These recordings describe this simulation and do not establish that the models outperform other agents.

### How does a villager choose an action in Emberwick?

The game sends a description of the situation and a list of actions possible at that moment. The model assigns each option a probability. The villager takes the most likely action that remains possible. In the published barn-fire example, the game asks 3 questions about the next action, urgency and whom to ask for help.

## Step into the village.

The game runs in your browser. Pick a scenario and a language to begin.

[Play the game](https://emberwick.mertkayacs.com/play/?lang=en)

[An Eschatia Labs project. Eschatia Labs is an independent, non-profit open-source AI research lab.](https://eschatialabs.com/)

[JevAlt](https://jevalt.mertkayacs.com/) [JevAlt on GitHub](https://github.com/mertkayacs/jevalt) [Hugging Face](https://huggingface.co/collections/mertkayacs/jevalt-decision-models) [JevOss](https://jevoss.mertkayacs.com/) [reevesagents](https://reevesagents.mertkayacs.com/) [Tholos](https://tholos.mertkayacs.com/) [xdfdet](https://xdfdet.mertkayacs.com/) [Eldalambë](https://eldalambe.mertkayacs.com/)

[Built by Mert Kaya](https://mertkayacs.com/)
