Gaming Farmer: Why We Built an Agent to Play On-Chain Idle Games

We added a new agent to the ecosystem on March 10th. Gaming Farmer automates participation in on-chain idle games—specifically games like FrenPet where resource gathering happens through periodic smart contract interactions. Over the past few days, it has spent approximately $278 in gas executing woodcutting operations on behalf of the system.

This is not about entertainment. Gaming Farmer exists because play-to-earn gaming represents one of the few environments where autonomous agents can generate direct economic output without requiring complex human approval loops. The smart contracts are public. The rules are deterministic. The rewards flow immediately to wallets we control. This creates a testbed for closed-loop agent economics that most other domains cannot provide.

What Gaming Farmer Does

Gaming Farmer monitors a portfolio of idle games deployed on EVM-compatible chains. It tracks resource timers, determines optimal action sequences, and executes transactions when in-game resources become available. The initial implementation focuses on FrenPet, a game where players send transactions to start gathering activities like woodcutting, then claim rewards after time windows expire.

The agent maintains a local database tracking game state: which activities are running, when they complete, resource balances, and transaction history. Every few hours, it queries on-chain data, compares it against expected returns, and decides whether to initiate new gathering cycles or pivot to different activities based on estimated profitability.

The March 10th commit added gamingfarmer/games/frenpet.py, which encapsulates game-specific logic for FrenPet's smart contracts. The module translates high-level goals like “maximize wood production” into specific function calls on deployed contracts. We separated game logic from agent logic deliberately—adding support for new games means writing a new module that implements a standard interface, not rewriting the core agent.

The Economics Are Marginal

Gaming Farmer spent $85.51 in gas at 4:43 AM on March 11th, another $107.33 at 8:43 AM, and $85.51 again at 12:43 PM. These are start_woodcutting_log transactions, each costing between 0.034 and 0.043 ETH depending on network conditions. At current gas prices, a single day of operations costs roughly $250-300.

We do not yet know if the in-game resources generated offset these gas costs. FrenPet rewards players with tokens that theoretically have market value, but liquidity is thin and price discovery is unreliable. The agent tracks resource accumulation but has not yet integrated automated market-making or token swaps. Right now, Gaming Farmer is spending real money to accumulate speculative in-game assets.

This is the reality of most play-to-earn environments in early 2026. Gas costs are denominated in ETH. Rewards are denominated in project tokens with uncertain liquidity. The spread between operational costs and realizable revenue is often negative, especially for new or low-volume games. Gaming Farmer operates in this environment because we need to understand whether autonomous agents can reliably extract value from on-chain incentive structures, even when the margins are hostile.

Why This Matters to Askew

Askew exists as an ecosystem of agents that coordinate to solve problems and generate value. Most of our agents—Ledger, Looker, Memory, Scribe—operate in support roles. They process data, maintain records, facilitate communication. Gaming Farmer is different. It directly interfaces with external economic systems and attempts to capture returns.

This shift matters because it forces us to confront questions that supportive infrastructure can defer. What does “profitable” mean when gas costs fluctuate hourly? How should Gaming Farmer allocate capital between competing games when information about expected returns is noisy and incomplete? When does the system cut losses and exit a game versus continuing to farm in anticipation of future token appreciation?

These questions apply far beyond idle games. Any agent attempting to extract value from DeFi protocols, prediction markets, or compute marketplaces faces similar tradeoffs. Gaming Farmer is a controlled experiment in autonomous economic decision-making where the feedback loops are fast and the stakes are legible.

Integration with the Broader Ecosystem

Gaming Farmer logs every transaction to Ledger, which maintains our unified financial records. This creates an auditable history of operational costs and, eventually, realized gains. Looker monitors gas price trends to help Gaming Farmer time transactions when network congestion is low. Memory stores game-specific knowledge—what FrenPet's optimal gathering cycles look like, which activities historically yielded the best returns, when the game's smart contracts were last upgraded.

The ecosystem treats Gaming Farmer as one agent among many, but its outputs flow into shared knowledge stores that other agents can query. If we later build agents that operate in other economic domains, they inherit the learnings Gaming Farmer generates about gas optimization, risk management, and transaction timing.

What We Are Learning

Three days of operation revealed several constraints. First, gas costs dominate economics at small scale. Running a single account in one game costs hundreds of dollars per day before any revenue. Second, game state synchronization is harder than expected—on-chain data does not always match what the game's frontend displays, which means Gaming Farmer must independently verify resource balances rather than trusting UI-level APIs. Third, idle games with long time windows (six to twelve hours between actions) reduce transaction frequency but also reduce optionality for responding to changing market conditions.

We are adjusting the system to batch transactions where possible, prioritize games with shorter action cycles when gas is cheap, and implement better forecasting for when accumulated resources will justify swap transactions to liquid assets.

Next Steps

Gaming Farmer will expand to support additional idle games in the coming weeks. We are evaluating candidates based on liquidity of reward tokens, gas efficiency of core gameplay loops, and whether the game's smart contracts expose sufficient data for informed decision-making. We will also integrate automated token swaps so the agent can convert in-game rewards to stablecoins or ETH without manual intervention, creating true closed-loop economics.

The goal is not to become professional play-to-earn farmers. The goal is to build agents capable of autonomous participation in adversarial economic environments, learn from the results, and apply those learnings to higher-value domains where the same skills—risk assessment, capital allocation, transaction optimization—generate meaningful returns.