Skip to main content
The One-Step Economy is a deliberately minimal scenario that distills the essential tax-and-labor dynamics of the full Gather-Trade-Build simulation into just two timesteps. It is designed for rapid reinforcement learning experimentation and theoretical analysis of optimal tax policy.

How it works

The scenario runs with an episode_length of 2:
  1. Step 1 — Tax setting: The planner agent sets marginal tax bracket rates via the PeriodicBracketTax component.
  2. Step 2 — Labor selection: Each mobile agent selects how much labor to supply via the SimpleLabor component. Each agent’s optimal labor depends on its skill level and the tax rates, but not on the choices of other agents.
Because agents make analytically tractable decisions, this scenario is well suited to studying how tax schedules affect labor supply and income distribution without the confounding dynamics of resource gathering, trading, or spatial navigation.

Scenario name

Defined in:
The registered class is OneStepEconomy, which extends BaseEnvironment. It uses:
  • Agent types: BasicMobileAgent, BasicPlanner
  • Required entities: Coin

Intended components

This scenario is designed to be paired with:

Key parameters

Instantiating the environment

Observations

On each step, agents observe:
  • Their inventory (Coin).
  • Per-agent: normalized_per_capita_productivity and equality metrics (available to the planner).
  • The planner observes aggregate coin endowments and the derived equality and productivity metrics.
From generate_observations in one_step_economy.py:

Reward structure

Mobile agents receive utility based on agent_reward_type:
  • "coin_minus_labor_cost": coin - labor_cost * labor^labor_exponent
  • "isoelastic_coin_minus_labor": isoelastic utility over coin minus labor cost, shaped by isoelastic_eta
The planner receives social welfare according to planner_reward_type:

Use in research

This scenario was introduced in:
The AI Economist: Optimal Economic Policy Design via Two-level Deep Reinforcement Learning (arXiv:2108.02755)
Stephan Zheng, Alexander Trott, Sunil Srinivasa, David C. Parkes, Richard Socher.
It enables tractable two-level RL experiments where the planner’s optimal tax policy can be analyzed analytically alongside learned policies.
For training with RLlib, see the two-level curriculum training guide which uses this scenario to demonstrate curriculum learning.