We present an agent-based model of a minimal economy containing households, retail banks, and producers of consumer and capital goods. Household behavior is based on the buffer-stock savings model by Deaton (1961), while the profit-maximizing firms employ reinforcement learning to determine pricing and production. Competitive retail banks facilitate the flow of funds between households and prod...