This article is a deep-dive from JudyAI Lab — an AI engineering playbook series with 100+ published guides, 5,000+ weekly readers across 60+ countries, focused on the practical side of running AI agents, trading systems, and content pipelines in production.

📰 Key Takeaways

Thousand Token Wood is a multi-agent economic simulation submitted to the Build Small Hackathon, using the small Qwen2.5-3B model to drive five forest animal characters trading five goods for pebble currency in a fictional market. The whole system runs on vLLM deployed on Modal, with a Gradio frontend, needing just one batched GPU call per round to resolve every character’s decision — keeping continuous simulation affordable.

The team found that without a deliberately designed scarcity mechanism, overproduction would wipe out any incentive to trade, so they added three constraints: only one unit of the same type of food per meal, food spoils and can’t be stockpiled, and firewood demand spikes in winter while only one character supplies it. These three rules directly produced bubbles and crashes — in a scenario modeled on the 1929 bank run, the character Oona dumps honey for pebbles, driving the honey price from 10 down to 3 within a few rounds; firewood, meanwhile, rose from 4 to 7 amid the winter crisis.

Across a 15-round test, 75 API calls achieved 100% valid JSON output, with 3 to 9 trades closing per round, and the Gini coefficient widened from 0.14 to 0.38 as wealth disparity emerged naturally. While the model’s JSON formatting was stable, its economic reasoning was weaker — the fix was to explicitly list each character’s production goods, banned purchases, out-of-stock items, and examples in the prompt, rather than switching to a bigger model. The author’s core conclusion: structure beats scale.


💬 JudyAI Lab Take

Thousand Token Wood produced bubbles and wealth divergence using a small Qwen2.5-3B model, and it points to something counterintuitive: you don’t need a bigger model, you need better rule design.

The system got honey to drop from 10 to 3 and firewood to rise from 4 to 7 within a handful of rounds — not through the model’s economic reasoning, but through three human-designed scarcity rules: food spoilage, a one-unit-per-meal cap, and only one supplier in winter. That gave the characters a real incentive to trade, and let the bubble emerge naturally. With each character’s production goods, banned purchases, and out-of-stock items spelled out explicitly in the prompt, 75 API calls hit 100% valid JSON output, and the Gini coefficient widened from 0.14 to 0.38 — wealth divergence showed up without anyone designing for it. The takeaway from this case: when a multi-agent system’s behavior falls short of expectations, tighten the environmental constraints and make the prompt more concrete first, before rushing to swap in a bigger model.

If you’re designing a multi-agent pipeline, try asking one question: strip away every external constraint — do the agents still have a reason to interact with each other? The answer usually lives in the rule design, not the model size.


📅 Original Article Info


🔗 Further Reading

References