# Agents Are Where Microservices Were in 2015 — Roberto Milev & Uday Kanagala, Navan
<!--
ref: @content/youtube/aie/2026-08-29-agents-are-where-microservices-were-in-2015-roberto-milev-ud
version: 3
updated_at: 2026-10-31T20:23:36.543Z
-->

Roberto Milev & Uday Kanagala (AI Engineer, 2026-08-29): Roberto Milev argues that agent engineering in 2026 sits roughly where microservices sat in 2015 — everyone has jumped on the bandwagon, but the durable tooling (the equivalent of Kubernetes, service mesh, and circuit breakers) is still crystallizing.

*Synthesized from Roberto Milev & Uday Kanagala on AI Engineer, 2026-08-29.*

Roberto Milev is chief architect at Navan, a travel and expense management company, and Uday Kanagala is a member of the same architecture team; both speak from running agents in production at scale.

## Core Thesis
Roberto Milev argues that agent engineering in 2026 sits roughly where microservices sat in 2015 — everyone has jumped on the bandwagon, but the durable tooling (the equivalent of Kubernetes, service mesh, and circuit breakers) is still crystallizing. He carries forward the old microservices warning in agent form: if you can't build one reliable agentic loop, a multi-agent orchestration will not save you. What has stabilized so far, in Navan's experience, is a layered reference architecture — runtime, memory, context management, operational cross-cutting concerns (observability, evals, guardrails/authorization), and orchestration — with the lower layers far more mature than the upper ones.

## Key Insights
- **The runtime layer is nearly solved, but stateful.** Roberto Milev notes that agents break the stateless-scaling assumptions engineers built services around: they need persistent sessions, isolation, and a lifecycle unlike a traditional API service. AWS, GCP, and Azure each ship some incarnation of an agentic runtime; Navan runs on AWS Bedrock AgentCore Runtime and had to build session persistence and rehydration itself to fill the gap. These runtimes are nominally framework-agnostic but each quietly favors its vendor's native framework.
- **Memory evolved past RAG into a pipeline.** RAG arose from necessity — you can't fit unbounded context into an agent — but the industry converged on an automated pipeline of ingestion → extraction → consolidation → retrieval. Memory layers up over time: short-term conversational memory, long-term semantic memory you manage yourself, and episodic memory recording which past attempts worked and which didn't. Navan uses AgentCore Memory shaped to its own use case.
- **Skills are the unit of context.** Roberto Milev's most concrete context-management move: treat a skill as both instructions/setup for a domain *and* the tool execution for it, then compose context dynamically from skills that are pluggable, independently testable, and reusable. Progressive disclosure is the mechanism — start with a narrow context scope and expand via included metadata only as the agent goes deeper.
- **Logs are the wrong instrument for agents.** Uday Kanagala points out that agents emit an overwhelming volume of thinking tokens, so the microservices habit of "go check the logs" collapses. The replacement is hook-based interception — Claude's pre-tool and post-tool (and pre/post-decision) hooks are points where you can block an operation or emit a metric, and where OTEL traces should be emitted so you can locate the exact span where a 20- or 30-step run got stuck.
- **Emit judgment signals, not just spans.** Navan captures four primary signals in its traces: the agent's current goal, the reasoning behind its operations, its belief state, and the tool calls it makes — plus a confidence score on each decision, flagging whether the answer came from multiple converging paths or was merely inferred. An inferred answer is the natural insertion point for a human in the loop.
- **Trajectory evals substitute for deterministic tests.** Because an agent invents a different 30-step path each run, Uday Kanagala says charting a deterministic graph is off the table. Navan instead leans on trajectory evaluations drawn from research literature: measure how far the run traveled along the source-to-goal path to score efficiency and completeness, and use the inferred-answer signal to classify regressions.
- **Authorization gets blurry when the agent is the actor.** The classic user-vs-service-account distinction breaks down with instructions like "book me a flight whenever it's cheaper than $200" — an agent may act on behalf of a user or under its own service account. Uday Kanagala's answer is fine-grained authorization plus a policy layer, with guardrail checks enforced at the same pre-tool and post-tool boundaries used for tracing.
- **Navan's orchestration choice: single master agent with progressively loaded sub-skills**, not a sprawling multi-agent mesh. Multi-agent still has a legitimate class of use cases — most clearly cross-team boundaries in a large organization, where A2A serves as the protocol establishing contracts in terms of skills between agents owned by teams that don't otherwise talk.
- **The honest maturity scorecard.** Solved or near-solved: runtime scaling, memory, and tool calling (MCP has become the de facto protocol and is evolving toward stateless). In progress: observability (there's a push toward OTEL, though its fit for agentic calls is arguable), testing patterns, and orchestration. Still open: cost prediction and control — Roberto Milev is blunt that the big AI vendors' incentive is for everyone to spend more tokens — plus replay/debugging and young standards like A2A.

## Actionable Takeaways
1. Get a single agentic loop working reliably before attempting multi-agent orchestration; treat the microservices-era rule ("if you can't build a well-structured monolith, don't build microservices") as directly transferable.
2. Assume your cloud agent runtime has gaps. Navan runs AWS AgentCore Runtime but built session persistence and rehydration in-house — audit for that specific gap before you rely on the managed layer.
3. Structure context as skills, each bundling domain instructions plus tool execution, and compose them dynamically per request. Rely on progressive disclosure so the agent loads a minimal scope first and pulls in more via metadata.
4. Stop debugging agents with logs. Instrument the hook points — pre-tool, post-tool, pre-decision, post-decision — and use them to both emit OTEL traces and block unsafe operations.
5. Put four fields in every trace: current goal, reasoning, belief state, tool calls. Add a per-decision confidence score that distinguishes multi-path-corroborated answers from inferred ones.
6. Route inferred (low-confidence) answers to a human in the loop, and feed that classification back as a regression signal when tuning the agent.
7. Score agents with trajectory evals — distance traveled from start toward goal — rather than expecting a reproducible step sequence.
8. Enforce guardrails and fine-grained authorization at the same pre-tool/post-tool gate, and decide explicitly whether an action is the user acting or the agent acting on the user's behalf.
9. Default to a single master agent with sub-skills; reserve agent-to-agent orchestration (via A2A) for genuine organizational boundaries between teams.
10. Budget engineering attention for cost control and fallback-to-cheaper-model routing — the speakers name it as the least-solved layer, and vendor incentives run against you.

## Notable Quotes

> "If you can't build a single agentic loop, why go in and try to build a multi-agent orchestrated system?" — Roberto Milev

> "Agents output a lot of thinking. There's too much to consume. So that's not the right way to do it." — Uday Kanagala

> "It makes up its own steps every time differently. So how can we chart a deterministic graph here? Is it possible? No." — Uday Kanagala

> "This is all driven by kind of the big AI vendors who, I think, their interest is for us all to spend more tokens." — Roberto Milev

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*