Kaggriculture: a farming agent
An agent for a two-player farming sim that must end a 30-day season with the most money. Heuristics first, then bandit-tuned parameters, and RL only if it beats both.
Abstract
Kaggriculture[1] is a two-player farming simulation: whoever holds the most money after a 30-day season wins. This entry builds a modular agent of a state parser, a priority task executor and a market order book, and plans to tune a rule-based strategy with multi-armed bandits[2][3] before considering reinforcement learning[4].
Introduction
Thirty days is a short episode, and reinforcement learning needs many games before it learns anything. A good rule-based farmer with a few tunable knobs (how much to plant, when to sell, how much cash to hold back) can be tuned far more cheaply with a bandit.
Strong heuristics plus bandit-tuned parameters, before RL.
It is also a small version of the explore-versus-exploit problem behind Gaby and Tom.
kaggle.comKaggriculture ↗Create an agent to play in this farming simulation and compete with others to maximize your incomeProgress
Methodology
| Module | Role |
|---|---|
| State parser | Turns the raw observation into tiles, cash and day of season |
| Priority task executor | Runs the most valuable action available this turn |
| Market order book | Tracks prices, because when you sell matters as much as what |
Strategy lives only in the executor, so it can be swapped without touching the parser or the market.
Results and Conclusion
No benchmark results yet. The wheat-only stub was pure exploitation with nothing learned; the bandit is where exploration starts, and any RL agent will have to beat that baseline first.
References
Kaggle. Kaggriculture. https://www.kaggle.com/competitions/kaggriculture (opens in new tab) ↩︎
Auer, P., Cesa-Bianchi, N. & Fischer, P. (2002). Finite-time Analysis of the Multiarmed Bandit Problem. Machine Learning, 47, 235–256. https://doi.org/10.1023/A:1013689704352 (opens in new tab) ↩︎
Lattimore, T. & Szepesvári, C. (2020). Bandit Algorithms. Cambridge University Press. https://tor-lattimore.com/downloads/book/book.pdf (opens in new tab) ↩︎
Sutton, R. S. & Barto, A. G. (2018). Reinforcement Learning: An Introduction (2nd ed.). MIT Press. http://incompleteideas.net/book/the-book-2nd.html (opens in new tab) ↩︎
