GoblinPatch

back to the blog

Setting up shop: A favor for a friend, and the AI team that took over

dexterityaiagents

Hi everybody,

I'm Ghorloc, a software developer: professionally for the last ~6 years, and as a hobby for most of my life. The startup I worked at for the last 5 years recently closed, so I'm building in the open. This place is my outlet for any creative ideas. I like to build all kinds of stuff, from playable experiences and mini games to tools and full software solutions. Recently I started using AI to accelerate development and deployment, and even to build things in no time that would otherwise take way longer.

I'll be showcasing some of these projects here. If any of you would like to work together on something fun or cool, hit me up at [email protected].

How Dexterity started

Dexterity editing the starters in Pokémon Gold: Cyndaquil, Totodile and Chikorita in their Poké Ball slots, next to a map of Elm’s lab
Dexterity's starter editor, open on Pokémon Gold.

Lately I've built Dexterity, a ROM patching tool for old Pokémon GB/GBA games. I first built it for a friend of mine, a huge Pokémon enthusiast, who complained that there were no tools for this (or none that were easy to use). I remember thinking there was no way a franchise that's been around as long as Pokémon wouldn't have community-made tools for patching its ROMs. I did some searching and honestly didn't find anything. So I asked him which features he'd want first, and that night I sat down with Claude to work on it. In a couple of hours I had a working app, hosted for free on Netlify, that let you edit starter Pokémon, move sets, stats and more.

I sent my friend the link the very next morning, and he was amazed you could build something like that in an evening. It was just the excitement I needed to fuel my creative spirit. We spent the next couple of days in sessions where he'd tell me what he wanted and I'd build it.

Giving the "customer" a dev team

Then I thought this could be a nice way to explore the current buzz around agentic development. Instead of me collecting requirements and bug reports from the "customer" (my friend), why not build him a backstage system? He submits a request as a ticket and refines it in a conversation with an AI assistant, and then it goes to an automated development, QA and deployment pipeline. I went with Discord so I could skip building a communication platform from scratch and focus on the agentic behavior.

I designed the agents' flow from my experience working in startups. I even gave them names, not just roles, loosely based on the people I worked with:

Discord forum thread: ticket #5, 'Allow editing Mart inventories and item prices'. The requester asks to control which items each Mart sells and their prices; Nancy asks whether prices should differ per Mart, he answers no, she summarizes the request, he confirms, and she says the team has it.
Ticket #5 in the Discord forum: Nancy clarifies, summarizes and gets a "Correct" before anything moves.

I hooked them up to Discord and created a forum channel where he could post "tickets". When a new ticket is submitted, it first goes through a check for malicious instructions or prompt injections. If the content is fine, Nancy asks clarifying questions, writes a summary and has him confirm it matches what he wanted before passing it along.

Anna then writes a design based on the project's overall intent and breaks it down into features, each with acceptance criteria that must pass before the feature counts as done. Jake then writes a technical plan, which has to follow the project's development guidelines and turn the acceptance criteria into tests. Next, Jake checks out a feature branch and implements it. Once the automated tests pass, he opens a PR, and a temporary staging environment spins up for Alex to test on. When Alex's tests pass too, the change is deployed to production automatically.

Well, not completely automatically. Almost every step is autonomous, but there are approval gates between some of them: after the design phases, and of course before merging the PR and deploying to production. As capable as AI is right now, it still makes silly and weird mistakes sometimes. And any system that takes user input needs proper sanitization and handling, which is why the tickets themselves are gated too: nothing starts until it's approved, not even the injection check.

But even with the gates, Dexterity got an entire development process that takes a request from customer to production in as little as minutes instead of days or weeks.

What started as a small favor for a friend turned into an interesting learning experience. That's exactly the kind of projects I want to make here on GoblinPatch :)

— Ghorloc, back to the workshop