Skip to main content
  • Spotlight on “Name Goes Here”

At Moonsong Labs, our culture is defined by an insatiable curiosity for technology, a passion for continuous learning, all while having a bit of fun along the way. We believe that when engineering is imbued with transparency, security, and user ownership, it can transform not only our products but also human well-being. This philosophy is reflected every day in our Venture Studio and Engineering Services, where we merge leading AI innovations with Web3 decentralization to reimagine digital experiences.

The AI Revolution is here and AI is evolving rapidly. Pick any industry and AI is being used in some capacity. Learning is a key constraint, and creating the time to discover how AI can be applied across different domains is essential, especially while our engineers get to creatively explore and share their learnings. The purpose of this hackathon was to explore emerging trends in AI and Web3, with a focus on AI agent development and emerging trends in integrating agents with blockchain protocols, and then fold those insights back into real solutions we might not be working on in our normal day-to-day.

As we conclude our Q2 hackathon this week, it was great to see our engineers explore and share new ideas, while re-enforcing knowledge at the forefront of AI x Web3. We are always passionate about what we do and it was great to see the team working on projects ranging from training a small LLM setup itself up to trying to even trying to solve the problem of AGI. If there was one takeaway: our engineers are hungry. We are going to share one project in particular.

Spotlight on “Name Goes Here”

The team behind “Name Goes Here” created an AI-powered on-chain dungeon crawler. The team was inspired by the idea of letting LLMs produce creative content in the context of a blockchain. They realized that gaming, particularly through the lens of traditional role-playing games (RPGs) like Dungeons & Dragons, offers a compelling framework where the journey, creativity, and fun are as valuable as the victory itself.

The project created a Swarm of Agents that divided responsibilities among specialists:

  • Storyteller Agent: Crafted and continuously evolved the game’s narrative, ensuring that every twist and turn connected seamlessly in a dynamic storyline.
  • Invoker Agent: Generated game entities by interacting with the storyteller for narrative input and autonomously creating stats and resistances.
  • Recruiter Agent: Responsible for spawning “hero cards” that players could mint, recruit, and level up via a smart contract-based system.
  • Dreamer Agent: Generated captivating art assets on the fly, bringing the game’s fantasy world to life.
  • Necromancer Agent: Monitored on-chain events and coordinated scheduling for other agents.

In addition to the agents above, the project integrated two smart contracts:

  • Tavern Contracts: These allowed players to mint heroes, recruit them, level up, and even manage cool-down periods when challenges weren’t met—focusing more on the evolving story than merely on rewards.
  • Quest Contracts: These enabled the creation of new quests, joining existing adventures, performing and resolving tasks, tracking progress, and ultimately rewarding heroes. Through this mechanism, players didn’t just play—they literally owned the stories they helped create.

The dynamic interplay between the AI agent swarm and the blockchain-based smart contracts produced novel on-chain interactions, highlighting the potential for decentralized, creative gaming experiences. In this approach, every narrative detail is anchored on-chain to ensure the story carries its context eternally.

Let’s take a quick look at the process of “Name Goes Here”. It starts with the player logging in with their wallet and then minting a hero. This dispatches a call to the system, specifically the Necromancer, who acts as the entry point and the coordinator of the process. Here is a small section from the Necromancer’s system prompt to illustrate the coordination:

• Recruiter Agent: When creating a new hero, the necromancer instructs the recruiter to generate random stats and a name.
• Storyteller Agent: The recruiter's stats are then used by the storyteller to craft a unique biography for the hero.
• Dreamer Agent: Finally, based on the biography, the dreamer generates an image and uploads it to IPFS using the uploadImageTool.

In essence, the Necromancer uses the detailed game stats generated by the Recruiter, along with the overall agent activity data to dynamically generate further story attributes, like character traits or narrative twists. This ensures that the Hero’s narrative is both data-driven and original. Once the Hero has been fully minted, the complete package- the Hero’s identity, the sequence of agent interactions, and the story insights produced by the Storyteller Agent are stored on-chain. This guarantees that the Hero’s evolution and all the context behind their creation remains a permanent record.

The Hero is then placed into dynamically generated scenarios by the Invoker Agent. Each scenario comes with varying conditions and hidden resistances that, while not visible to the user, influence the outcome. The Invoker tailors each quest to test the Hero in unique ways, while the Storyteller reviews the results of previous rounds to adjust narrative elements and challenges as the quest progresses. This ensures that the Hero’s experiences build upon each other, resulting in context-aware responses tailored to previous interactions. At the end of each quest, the result, whether a success or a failure, is minted on-chain. To provide oversight within this multi-agent system, a CLI tool was developed. This tool can interrogate any individual agent involved in the process, following an agentic supervisor model that allows users to monitor, verify, and control the performance and interactions of each agent throughout the quest.

This project not only embodied our values of learning and fun but also showcased a novel interaction between an AI Agent swarm and a blockchain. “One of the most important values we have at Moonsong is a commitment to continuous learning,” said Founder Derek Yoo. “This hackathon embodies and facilitates that value. ‘Name Goes Here’ is on the one hand a dungeon crawler, but on the other hand it is an exploration of how a Langchain based agent swarm can interact with and react to onchain smart contracts, data, events, and actions. The result is the exploration of useful AI x Web3 patterns that can be applied to many different domains.”

Stay tuned for more updates and if you’d like to join our team, you can check out open roles here.