0
0
Article

LLMs Meet Loot: How Daydreams Is Rewriting Onchain Play

Catching up with Daydreams, a generative agent framework merging AI with onchain games and beyond.
0
0
May 9, 20254 min read

To me, one of the most interesting generative onchain agent frameworks is Daydreams.

I've been tracking Daydreams since the start of 2025 through its deepening integration into Eternum, a fully onchain strategy game I recently covered that will have Daydreams agents roaming its map by this point next week.

Simply put, this framework lets you create AI agents powered by large-language models (LLMs) that can sign crypto transactions, call APIs, and remember what they’ve done.

via Daydreams

Its code is lightweight and open-source, and it offers crosschain support across networks like Ethereum, Base, Solana, Starknet, Hyperliquid, Abstract, and beyond.

All that said, you can do many things with this system, from launching an autonomous trading bot to making a Twitter agent. But its Context and Memory approaches are ideal for onchain gaming, as they let Daydreams agents plan for and achieve goals over the long-term.

Additionally, the Daydreams codebase supports integrating with popular onchain game engines like Dojo and MUD, so it's straightforward to pop these agents into many of crypto's most popular rising games.

In a gaming context, then, Daydreams offers two main pillars of utility right now: 1) players launching their own agents to play games for them, and 2) developers launching agents as non-player characters (NPCs) to expand experiences for human players.

When it comes to that latter path, there is big potential for emergent gameplay unlike what we've seen in gaming before.

"Traditional game AIs are usually built on decision trees: if outcome A happens, then do B," Loaf, the lead dev of Daydreams and Eternum, recently told me via Telegram. "That’s a simplified example, but even full-scale trees become extremely complex and still have clear limitations, they're intricate pieces of software to maintain."

"Using agents powered by LLMs to build NPCs offers a far more elegant and dynamic alternative," he added. "It’s a higher-level, natural-language approach. You start with a system prompt that explains the game and how to win or play, and you supply a list of actions the agent can take. These two elements are passed to the LLM, which then determines an action—the cycle repeats every turn."

"The beauty of this setup is that changing an agent’s behaviour is as simple as tweaking the system prompt, the agent immediately shifts course."

If you want a glimpse of these smart NPCs in action, the first major demonstration will be Eternum Season 1, which officially kicks off on May 14th. You can try befriending them or destroying them and taking their onchain assets, so expect lots of intrigue here.

But what about launching your own agents that aren't NPCs to play against, but rather that play for you?

If you're more interested in automation like this, check out the Daydreams launcher at play.dreams.fun. You'll need 2,000 $DREAMS tokens, which costs roughly $7 USD currently, to access the platform.

via Daydreams

Once signed in, you can begin tinkering with setting up your own agent. The first game supported here is the onchain RPG Gigaverse on Abstract, with support for more games like Ponzi Land and Loot Survivor coming soon.

via Daydreams

To dive in, I recommend checking out the Gigaverse agent launcher and personalization guides by Calc.eth, a contributor to Daydreams and Eternum.

Long story short, you connect your Solana wallet on play.dreams.fun, paste in your LLM API key, and choose a model. All of the big frontier models are supported.

Then connect your Abstract wallet, select "Gigaverse," and tell your bot to start a run—it’ll handle combat and acquiring loot automatically. At this point, you can open the "System" tab to rewrite and personalize your agent’s description and goals. A single new line is enough to steer its playstyle in a new direction.

And that's all it takes! Just some $DREAMS, one API key, and a handful of clicks to unleash an onchain teammate that never sleeps.

Looking forward, the Daydreams devs are working on polishing mobile support and adding support for more games. If the project's trajectory continues on its current course, soon agents will be playing and earning across all the big titles in crypto.

The achievements and learnings to come here can drive us toward smarter, more complex agents in general. In the meantime, if you're keen to dive in deeper, be sure to check out the Daydreams docs and GitHub!

Not financial or tax advice. This newsletter is strictly educational and is not investment advice or a solicitation to buy or sell any assets or to make any financial decisions. This newsletter is not tax advice. Talk to your accountant. Do your own research.

Disclosure. From time-to-time I may add links in this newsletter to products I use. I may receive commission if you make a purchase through one of these links. Additionally, the Bankless writers hold crypto assets. See our investment disclosures here.