Configuration Reference
All simulation settings are stored in a single JSON (or Python dict)
that is passed to Simulator. This page documents
every top-level key and their required / optional sub-keys.
Top-Level Structure
{
"simulation": { ... },
"environment": { ... },
"<spaceName>": { ... },
"<socialNetworkName>": { ... },
"<agentName>": { ... },
"<itemName>": { ... },
"<serviceName>": { ... },
"<eventName>": { ... }
}
Simulation Configuration
Controls the overall simulation run.
Key |
Required |
Description |
|---|---|---|
|
✓ |
Total number of environment steps to execute. |
|
Number of agents that call |
|
|
List of event configuration keys. Each key must appear as a top-level entry in the config. |
Environment Configuration
Declares the components that make up the simulation world.
Key |
Required |
Description |
|---|---|---|
|
✓ |
Key of the grid-space configuration block. |
|
✓ |
Key of the social-network configuration block. |
|
✓ |
Name of the item that acts as the numéraire (e.g., |
|
✓ |
List of agent configuration keys. |
|
✓ |
List of item configuration keys. Must include |
|
List of service configuration keys (e.g., |
Space Configuration
"gridSpace": {
"type": "GridSpace",
"gridSize": [50, 50]
}
Key |
Required |
Description |
|---|---|---|
|
✓ |
Class name — use |
|
✓ |
|
Agent Configuration
Each agent key maps to a block that configures all agents of that type:
"Household": {
"type": "LLMAgent",
"isHousehold": true,
"numAgents": 118,
"inventory": {
"Yen": [100000, 200000],
"Rice": [3, 10]
}
}
Key |
Required |
Description |
|---|---|---|
|
✓ |
Agent class name registered with the simulator. |
|
If |
|
|
Number of instances to create. Defaults to |
|
|
Initial inventory. Each value is either a fixed number or a
|
|
|
List of observation keys the agent requests from the environment.
Use |
|
|
List of information keys this agent broadcasts to every other agent
(e.g., |
|
|
List of information keys shared only with co-located agents
(e.g., |
|
|
If |
Item Configuration
"Rice": {
"type": "Item",
"initialPrice": 1000.0
}
Key |
Required |
Description |
|---|---|---|
|
Item class name. Defaults to the item key name. |
|
|
Initial market price \(p_0\). Defaults to |
Event Configuration
"provideSubsidy": {
"type": "SubsidyEvent",
"trigger": {
"every": 30,
"probability": 1.0
},
"subsidyAmount": 50000
}
trigger sub-keys:
Key |
Required |
Description |
|---|---|---|
|
Tuple of step indices at which to fire the event. |
|
|
Period \(k\); the event fires at steps \(k, 2k, 3k, \ldots\) |
|
|
|
|
|
List of |
|
|
Probability \(p \in [0, 1]\) with which the event fires on
each eligible step. Defaults to |
Social Network Configuration
Key
Required
Description
type✓
Class name — use
"SocialNetwork"for the built-in implementation.followCapMaximum number of agents a single agent may follow. Omit for no limit.
recSysRecommender-system configuration block (see below).
recSyssub-keys:Key
Required
Description
type✓
Recommender-system class name (e.g.,
"TwoHopRecommenderSystem").maxRecommendationsMaximum number of follow suggestions per step.
isRandomizedWhether suggestions are sampled probabilistically.
temperatureSoftmax temperature \(\tau\) used when
isRandomizedistrue. Higher \(\tau\) → more uniform sampling.