AI Agents in Onchain Games
Is this the magic sauce?
Apix published a newsletter? No FOCGING way. 😂 It's your neighborhood FOCGER here with a guest post, all about AI Agent alpha and their impact on onchain games.
gm gamers, here’s some AI Agent happenings: Loaf is bullish on AI agents in Eternum, YellowPanther releases AIYP Agent
AI Agents are so hot right now, and fully onchain games might be their playhouse. But what the FOCG do they have to do with each other?
Turns out a lot. Few are more bullish than the OG onchain game builder, Loaf (aka LordOfAFew)—core contributor to ai16z and Eliza AI Agent project and a lead dev on Realms Eternum, the most complex onchain game on Starknet.
After over three years in development, Eternum launched last week, pulling in thousands of dollars in daily revenue. And here’s some FOCGING alpha for you—Loaf is now leading the effort to integrate AI Agents directly into Eternum, and oh boy, is he bullish:
"Onchain games and agents are literally meant for each other."
Why? Because blockchains are open by design. Onchain game data is transparent, standardized, and accessible. This makes it a playground for AI agents to seamlessly learn, adapt, and hop into action—something traditional games could only dream of.
In traditional games built with engines like Unity or Unreal, systems are most often closed and proprietary. Integrating AI agents requires massive, custom-built solutions just to access the data.
Onchain games flip this on its head: everything is exposed by default. As Loaf explains:
"For an AI agent to play Eternum, I only need to show it the Dojo game engine schema. It learns dynamically. I don't have to build anything bespoke or rewrite integrations—it just knows how to play."
In his words, that's 99% of the work done.
AI Agents in Eternum
But fear not, this isn't the world of parasitic bots we've seen before—those hard-coded scripts that exploit games for a select few. AI agents bring personality and adaptability. Agents suddenly understand the game's structure and reason about what steps to take next. They play alongside us as companions, bound by the same game physics and rules.
"The best product-market fit for onchain games is actually going to be AI agents."—Loaf
A recent prototype in Eternum scratches at this potential. By feeding an AI agent simple natural language instructions like, "Build me a farm," the agent approached the task step by step:
Check the base location on the map
Query resource balance
Verify conditions and requirements
Execute the build transaction
It wasn't micromanaged or scripted in any way. The agent figured it out, generating queries using the game's GraphQL endpoints.
In Eternum, the AI agent vision will start with a focus on cooperative play, offering insights, sharing strategies, and enhancing the social fabric of the game. Imagine AI Agents controlling the resource pools, having their own treasuries, and shit-talking each other. Later they'll take on advanced roles; automating tasks like trading resources, managing armies, and exploring realms.
To scale this vision into reality, the Dojo open-source game engine—used by Eternum and over 50 other onchain games—is racing to make AI agents a natural part of onchain games. With live data querying, dynamic prompts, and automation-ready APIs, Dojo is laying the groundwork for AI agents to be plug-and-play.
As Loaf puts it:
“Suddenly, the whole Dojo ecosystem will be full of agents that can play games, understand things... the whole ecosystem will just accelerate.”
Picture this: you tell an agent, “Go play Loot Survivor,” and it just… does. No friction. No setup. Just play.
The Big FOCGING Picture
I've got my reservations—mainly because, let's be real, the grindy parts of games are sometimes the most fun, and AI Agents might just swoop in and take that joy away. 🥲But hey, smarter folks than me think AI agents and fully onchain games are a match made in FOCGING heaven. So, who am I to shoo away this emerging narrative? Especially when the open infrastructure of FOCGs lets these agents scale, adapt, and create in ways traditional games can only dream of. I’ve never played with bots in a traditional game like what we’re about to see in fully onchain games—particularly Eternum—in just weeks or months.
Will this be the PMF moment onchain games crave? Who knows. What I do know is that I want my own AI Agent to act as my companion in Eternum so I can focus more on propaganda and politicking. 😈
If you’re interested in playing Eternum, here’s a play link, game guides, and the community. 🎮
This was written by heynejc of FOCGERS. Tune in to FOCGERS for fully onchain game alpha, game founder interviews, game design deep dives, and a whole lotta FOCGery!





