Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Money as a Medium of Exchange in an Economy with Artificially Intelligent Agents

Replication of Marimon, McGrattan & Sargent (1990)

This project provides a modern MyST Markdown version of the paper and a Python replication of the classifier system simulations from:

Marimon, R., McGrattan, E., & Sargent, T. J. (1990). Money as a Medium of Exchange in an Economy with Artificially Intelligent Agents. Journal of Economic Dynamics and Control, 14(2), 329–373. DOI: 10.1016/0165-1889(90)90025-C

The paper studies how artificially intelligent agents using Holland’s classifier systems learn to use commodity money in a Kiyotaki-Wright economy. Agents are endowed with production technologies and must trade to obtain their desired consumption goods. Through a bucket brigade payment system and genetic algorithms, agents learn which goods to accept in trade — and commodity money emerges endogenously.

The Paper

The original PDF has been converted to a MyST Markdown version — a modern, web-native format with cross-references, proper equation numbering, and navigable structure. The conversion captures ~93% of the original content including all 17 equations, 66 tables, 10 figures, 17 footnotes, and 21 references.

The key ingredients of the paper are:

The paper simulates 8 economies with varying parameters and demonstrates convergence to Nash-Markov equilibria, including the emergence of fiat money in Economy C.

Read the full paper text → | PDF → MyST conversion notes → | Download PDF

Python Replication

The primary companion notebook replicates all 8 economies from the paper using Python (NumPy, Matplotlib):

Companion Notebook 1: Classifier Systems

Full replication of all 8 economies (A1.1, A1.2, A2.1, A2.2, B.1, B.2, C, D) using Holland classifier systems with bucket brigade strength updates and genetic algorithms. All code is self-contained — no external dependencies.

Supporting documentation:

Experiments

Companion Notebook 2: AlphaGo Approach

An alternative approach using AlphaGo-style methods (MCTS + policy-value networks) to learn trading strategies in the Kiyotaki-Wright economy.

References
  1. Marimon, R., McGrattan, E., & Sargent, T. J. (1990). Money as a medium of exchange in an economy with artificially intelligent agents. Journal of Economic Dynamics and Control, 14(2), 329–373. 10.1016/0165-1889(90)90025-c