Skip to content

Advanced AI Economist is a flexible, modular, and composable framework designed to model socio-economic behaviors and dynamics featuring both agents and governments. The framework can be used with reinforcement learning for learning optimal economic policies. Visit the official AI Economist site here - https://www.einstein.ai/the-ai-economist.

License

Notifications You must be signed in to change notification settings

timipani/advanced-ai-economist

Advanced Foundation: AI Economic Simulation Framework

This project is an implementation of the Foundation framework, a flexible, modular, and composable environment for modeling socio-economic behaviors and dynamics in a society with both agents and governments.

It provides a Gym-style API:

  • reset: Resets the environment and returns the observation.
  • step: Moves the environment one step forward, returning the tuple (observation, reward, done, info).

The simulation framework can be used with reinforcement learning to learn optimal economic policies, as detailed in the following papers:

For more information, check out:

Ethics Review and Intended Use

See our Simulation Card for a review of the framework's intended use and ethical review.

Join our Slack

For extending this framework, discussing machine learning for economics, and collaborating on research projects, join our Slack channel aieconomist.slack.com.

Installation Instructions

You'll need Python 3.7+ installed to get started.

Pip Installation

You can use the Python package manager: pip install advanced-ai-economist

Source Installation

  1. Clone the repository: git clone www.github.com/timipani/advanced-ai-economist
  2. Create a new conda environment:
conda create --name advanced-ai-economist python=3.7 --yes
conda activate advanced-ai-economist
  1. Set your PYTHONPATH to include the advanced-ai-economist directory: export PYTHONPATH=<path-to-advanced-ai-economist>:$PYTHONPATH

Getting Started

Familiarize with Foundation by trying the tutorials in the 'tutorials' folder.

Code Structure

The simulation is located in the 'ai_economist/foundation' folder.

  • base: Base classes for defining Agents, Components, and Scenarios.
  • agents: Agents represent economic actors in the environment.

Releases and Contributions

Bug reports, pull requests, and other contributions are welcome. See our contribution guidelines.

About

Advanced AI Economist is a flexible, modular, and composable framework designed to model socio-economic behaviors and dynamics featuring both agents and governments. The framework can be used with reinforcement learning for learning optimal economic policies. Visit the official AI Economist site here - https://www.einstein.ai/the-ai-economist.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published