I Built an Agent in Two Hours. It Wasn't That Useful

Over Thanksgiving I built a voice agent modeled on the AI orbs from Age of Ultron. It took two hours. Figuring out whether it should exist took longer.

4 min read
By Darragh MahnsLinkedIn

Darragh Mahns is a forward deployed engineer at Lattice Partners, an AI implementation partner based in Los Angeles and New York.

My agent (left) next to the scene from Avengers: Age of Ultron that inspired it (right).
My agent (left) next to the scene from Avengers: Age of Ultron that inspired it (right).
On this page
  1. Inspiration to product
  2. Build vs buy: the age-old question
  3. How I see this in my work as a forward deployed engineer
  4. Knowing the trade-off

Inspiration to product

Over Thanksgiving break I got inspired to build a personal agent. My family watches a lot of Marvel movies together whenever we're all home, and I wanted to match the interface of the AI in Avengers: Age of Ultron: a voice-only agent that can run most anything I hand it.

I built this agent with Codex and had a working prototype in an iOS app in two hours. The main thing I focused on to get there was prompting the UI back and forth, making sure the UI and UX felt the way I wanted while the agent was speaking.

I modeled it off the scene in Age of Ultron where Jarvis and Ultron talk back and forth as glowing orb holograms. I liked the way they pulsed when they speak. You can tell when they're listening, and you can see their "neurons" firing. I wanted to match that feel for this agent.

The orb has a different look for each state of the conversation:

The agent's orb in five states: idle, ready, listening, thinking, and speaking

I got the base agent working and could talk to it back and forth. It was awesome. It's fun to talk to, and when I showed my dad, he had fun going back and forth with it himself.

Build vs buy: the age-old question

Once I had the prototype working, I asked myself, "what should I actually do with this thing?" It had only been one day. How could this benefit me as an individual over a tool I already have access to, like Codex itself, or Claude? What made the thing I built better? The only answer I had was the UI I made.

After that I added the regular tools. I connected the Google suite so it could read my email and calendar, and I added Plaid so it could manage my budget and track my transactions. It still wasn't that helpful. As one person, I'm not going to match what OpenAI or Anthropic can build with teams of thousands.

And that's where the catch is. We can build things really fast these days, but does that mean the "thing" needs to be built?

How I see this in my work as a forward deployed engineer

It's the same question for a business, which is what we work on at Lattice Partners. We go into businesses and they want us to build something fully custom, but oftentimes the custom software isn't necessary. We just need to help them learn how to use these tools well and efficiently, since the tools can do almost everything. We are watching Anthropic ship new features like meetings, and likely an email client in the future. So why do we need to keep building these custom tools?

I've found that design sense and integration for smaller business logic decisions is where custom comes into play.

Niche business logic: We built a timekeeping system for one of our clients. They could do the same thing by uploading PDFs into ChatGPT, but the system we made does it for them, much more efficiently, and uploads the result to the right tool. That kind of work makes a lot more sense as custom software.

A specific interface: I started my project because I wanted a specific UI, and I achieved that. Custom makes more sense when a business or a person wants a specific kind of interface to interact with.

Knowing the trade-off

Building custom software for businesses that integrate with AI comes with a trade-off. It's fast to build now, but a custom tool still competes with products built by thousands of engineers. Before we build, we can ask whether the value is in a niche workflow or in a specific interface. If it's neither, and the cost is negligible, the better move is usually to help the business learn the tools that already exist. Knowing that trade-off is really important, and it's what my Thanksgiving project taught me.

Want the short version?

Ask your AI assistant to summarize this article and tell you what Lattice Partners does.

Want help putting this into practice?

Get Started
Back to Blog