All posts
AI/ML July 31, 2026

The Architecture Astronaut Trap: Why Your AI Agent Demo Will Fail in Production

TK

Thomas Kunnumpurath

VP Systems Engineering · Solace

The Architecture Astronaut Trap: Why Your AI Agent Demo Will Fail in Production

Last month, I watched a Fortune 500 client’s AI agent demo work flawlessly on stage — intelligent routing, natural language queries resolving against live data, smooth handoffs between agents. Two weeks later, their engineering team called us in a panic. In production, with 200 concurrent users instead of 2, their agents were hallucinating responses, duplicating actions, and — my personal favorite — booking the same passenger on three different flights simultaneously.

The demo had no event backbone. Every agent-to-agent communication was synchronous REST. Every capability discovery was hardcoded. They’d built a beautiful marionette, and production cut the strings.

I’ve seen this pattern enough times now — across airlines, banking, manufacturing — that I’m ready to name it: the Architecture Astronaut Trap for AI agents. Teams leap to the most sophisticated agent frameworks, nail the demo, and completely ignore the messaging infrastructure that determines whether agents can coordinate reliably at scale.

The Demo-to-Production Gap Nobody Talks About

Here’s what works in a demo: Agent A calls Agent B via HTTP. Agent B responds. You chain a few of these together, add an LLM orchestrator, and the audience claps. Here’s what breaks in production: Agent B is down. Agent A retries. Agent B comes back and processes both the original and the retry. Meanwhile, Agent C has already acted on a stale response. You now have three conflicting states and no audit trail.

This isn’t a theoretical concern. At Deutsche Bank, I spent nine years running messaging middleware for systems processing millions of trades per second. The single hardest lesson from that era wasn’t about latency or throughput — it was about exactly-once semantics under failure conditions. Every trading system that blew up in my career blew up because of duplicate or lost messages during partial failures, not because the happy path was wrong.

Agentic AI has the exact same problem, but worse, because the agents are non-deterministic. A traditional service that receives a duplicate message might produce a duplicate output. An AI agent that receives a duplicate message might produce a completely different output. The failure modes multiply.

What Event-Driven Architecture Actually Gives You

When I lead the Americas SE effort for Solace Agent Mesh, I’m not selling event-driven architecture as a philosophy. I’m selling it as the answer to three specific production failures I’ve watched happen repeatedly:

1. Discovery without hardcoding. In every failed agent deployment I’ve seen, the agent topology was static. Agent A knows about Agent B because someone wrote that into the code. Add Agent D? Redeploy everything. With a proper event mesh, agents advertise capabilities on well-structured topic hierarchies and discover each other dynamically. This isn’t abstract — it’s the difference between POST /agent-b/analyze and publishing to agents/capabilities/flight-rebooking/v2 where any qualified agent can subscribe.

2. Guaranteed delivery under partial failure. When an agent publishes an action to a persistent topic on Solace, that message survives broker failovers, agent crashes, and network partitions. The consuming agent picks it up when it recovers. No retry storms. No duplicates. No silent message loss. I watched TIBCO Rendezvous fail at this under specific multicast conditions at Deutsche Bank — it was one of the reasons I led the migration to Solace. Reliable messaging isn’t a feature; it’s the foundation.

3. Observability of agent decision chains. When every agent interaction is an event on a topic hierarchy, you get a complete, replayable audit trail for free. When the airline client’s agent booked three flights, there was no way to reconstruct why. With event-driven agent coordination, every decision, every input, every handoff is a message you can inspect, replay, and debug.

The ESP32 Lesson Applied to Agents

A few months ago, a client was skeptical that Solace could handle real-time streaming workloads for their IoT use case. Rather than argue, I went home and used Claude Code to build a complete demo in one day: an ESP32 camera module capturing live video frames, publishing each frame as a message through Solace’s broker, rendered on a real-time web dashboard.

The technical insight that made this work wasn’t the AI tooling — it was understanding that Solace’s topic hierarchy (video/camera01/frame/{sequence}) gave me natural ordering, filtering, and fan-out without any additional infrastructure. One publisher, multiple subscribers, each getting exactly the frames they need based on topic subscriptions.

That same principle is exactly what makes agent orchestration work. When you structure agent capabilities as topics — agents/inventory/check, agents/booking/create, agents/notification/send — you get natural routing, load balancing across multiple instances of the same agent type, and the ability to add new agent capabilities without touching existing ones. The topology evolves without redeployment.

Claude Code helped me build the ESP32 demo in a day instead of a week, but it didn’t tell me to use topic hierarchies for frame ordering. That came from fifteen years of messaging infrastructure experience. The same applies to agent architecture: AI tools will scaffold your agent code beautifully, but they won’t save you from a fundamentally synchronous, point-to-point integration pattern.

The Decision Framework

If you’re building agentic AI systems, ask yourself three questions before writing a single line of agent logic:

  1. What happens when Agent B is unavailable for 30 seconds? If your answer involves retry logic in Agent A, you’re building a distributed monolith. You need asynchronous, broker-mediated communication with persistent queues.

  2. How does a new agent type discover existing capabilities — and how do existing agents discover the new one? If the answer is “configuration files” or “service registry,” you’re going to hit a wall at 15 agent types. Dynamic topic-based discovery scales without coordination overhead.

  3. Can you replay the exact sequence of messages that led to a specific agent decision? If not, you cannot debug production failures. Full stop. In regulated industries — and I’ve worked in two of them — you also can’t pass an audit.

If you answer any of these with “we’ll figure that out later,” you are building a demo, not a system.

The Bigger Pattern

The Architecture Astronaut Trap isn’t new. I watched it happen with microservices in 2016 at Capital One — teams decomposed monoliths into fifty services connected by synchronous REST calls and wondered why their system was more fragile than the monolith. The fix was the same: event-driven, asynchronous communication with proper message guarantees.

Agentic AI is microservices with non-determinism. Every lesson we learned the hard way about distributed systems — idempotency, exactly-once delivery, dead letter queues, circuit breakers — applies with even more urgency when the components making decisions are probabilistic.

The teams that will win at agentic AI in production aren’t the ones with the most sophisticated prompt chains. They’re the ones who treat the messaging layer as a first-class architectural decision rather than an afterthought. I’ve watched this movie before. The infrastructure always wins.

TK

Thomas Kunnumpurath

VP of Systems Engineering at Solace

Share