Thousand Token Wood: shipping a multi-agent economy on a 3B model

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

A working demo showing that a 3B model can run a real-time multi-agent economy if prompts enforce reasoning constraints rather than relying on the model's own judgment.

Read this as

A developer built a small game economy where five creatures, each run by a 3-billion-parameter AI model called Qwen2.5-3B, trade goods and cause market crashes. Tiny models are cheap and fast enough to run many agents at once, but unreliable at reasoning: one creature tried buying the food it already had too much of. Careful prompting fixed this, and the game is publicly playable as a Hugging Face Space.

This hackathon project demonstrates that small 3B models, served cheaply via vLLM on Modal, can power real-time multi-agent simulations where frontier models would be too slow or costly per agent turn. The catch: the model formatted JSON perfectly but reasoned poorly until prompts were tightened. Cost-sensitive agent-simulation builders gain a worked example; it changes nothing about model purchasing decisions.

Five agents on Qwen2.5-3B (served via vLLM on Modal, Gradio UI) each decide in one batched GPU call per turn. The model emitted valid JSON on 100% of calls but economically illiterate orders until prompts included produced goods, computed shortage lists, and one worked example. Scarcity mechanics (spoilage, fuel crises) and a mean-reverting wellbeing model were required; a JSON parse-and-repair layer degrades malformed output to no-ops. Full agent traces are published as an open dataset.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Qwen2.5-3B vLLM Modal Gradio Hugging Face Tulip Mania

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading