Files
ai-econ/agents/trading_agent.py

11 lines
343 B
Python

from ai_economist.foundation.base.base_agent import BaseAgent, agent_registry
@agent_registry.add
class TradingAgent(BaseAgent):
"""
A basic mobile agent represents an individual actor in the economic simulation.
"Mobile" refers to agents of this type being able to move around in the 2D world.
"""
name = "TradingAgent"