← Back to blog
LLMOps2026-11-259 min read

Agent Lake: The New LLMOps System of Record

LangSmith's Agent Lake and Foundry Insights show why traces, outcomes, and a tested fix loop now define production LLMOps.

RV
Rajinikanth Vadla
MLOps, AIOps, GenAI

The same lesson, from two platforms, in one week

I am Rajinikanth Vadla, a senior AI platform engineer in Hyderabad. Most of my week is traces, evals, rollbacks, and the question "who owns this agent when it goes wrong?"

In the third week of November 2026, two major platforms said the same thing in different words.

On 16 November, LangChain rebuilt LangSmith around the agent as the core object: one record, with an owner, an immutable ID, a type, and every environment sitting under it. On 24 November, they named the data layer an Agent Lake: storage built for agent traces, plus "intelligent compute" that can search, cluster, and learn from those traces instead of asking a human to click through them.

The same day, at Ignite, Microsoft made Foundry Insights and multi-turn evaluation generally available and previewed a path from a recurring problem in production traces to a fix you can test in Agent Optimizer. They were explicit about one rule I already teach: Agent Optimizer never changes a production agent automatically.

This is not a product roundup. The unit of work is no longer a prompt in a repo. It is a production agent with a system of record, a scored outcome, and a tested improvement loop.

Why a single response score is no longer enough

Classic ML monitoring asks: did the model's accuracy drift? That still matters. Agents fail in a different shape.

An agent can give a fluent final answer and still have done the wrong work: called the wrong tool, skipped a confirmation, looped expensively, or quietly drifted away from what the user actually asked. Microsoft's Foundry team put it cleanly: multi-turn evaluation scores whole conversations rather than single responses, which is how most agents fail in practice.

LangChain's Agent Lake post makes the complementary point: the trace is the system of record of what the agent did. It holds user intent, the trajectory, and the final outcome. Debugging one trace by hand is fine in a prototype. It does not scale once traces get long and plentiful.

So the loop I now want every platform team to draw on a whiteboard is simple:

  1. Observe trajectories, not only final answers.
  2. Attach outcomes (did the work actually succeed?).
  3. Find recurring failures, not one-off bad days.
  4. Propose a fix (prompt, tool policy, skill, or routing change).
  5. Test the fix against a golden set or a replay of failed threads.
  6. Let a human promote it. Then that version becomes the new baseline.

Foundry's Ignite write-up describes almost this exact cycle. LangSmith Engine is built to find issues and propose a tested fix on top of traces. Different products, same discipline.

The two layers you actually have to build

You can buy a vendor lake or assemble the same idea from parts you already run. Either way, you need two layers.

A record for the agent, not a pile of traces. LangSmith's old model, by their own account, was a flat project hierarchy: the same agent in dev and production had no association. The new model groups environments and traces under one agent record, with a named owner and a type that changes which metrics you show. That is platform thinking. If a cost spike comes from a vendor-built agent your business unit bought, you still need a person to call and a trace to inspect.

Foundry moved in the same direction for agents that do not even run on Foundry. External-agent registration is now GA: you register the agent, send OpenTelemetry traces to the project's Application Insights resource, and use Foundry's trace view, Insights, and continuous evaluation. Foundry stores registration metadata; it does not host, proxy, or invoke that agent. The top-level invoke_agent span must include gen_ai.agent.id.

Compute that can read traces at production volume. Online evaluators, cheap classifiers, natural-language search over threads, and clustering ("where is this agent failing, which tools does it misuse, where does cost concentrate?"). LangChain is blunt that LLM-as-a-judge on every production trace can get expensive, which is why they added cheaper decision models for classification. You do not have to use their models. You do have to admit that "we will review traces on Friday" is not a strategy.

One Foundry caution for regulated Indian teams: if you set enable_sensitive_data=True, prompts and responses are recorded. Decide retention and redaction first.

A vendor-neutral shape I use with students

Here is the architecture I sketch when a team already has an agent in production and no system of record.

User / app
    -> agent runtime (your code, LangGraph, CrewAI, or a vendor host)
        -> tools, MCP servers, internal APIs
    -> OpenTelemetry traces (every model call, tool call, approval)
        -> trace store
        -> outcome store (ticket resolved, PR merged, thumbs-down, payment posted)
        -> online evaluators + scheduled golden-set runs
        -> issue clusters ("tool X misused on refund threads")
        -> human review
        -> versioned change, blocked by an eval gate, then promote

The first instrumentation change I ask for is identity on every span. This is illustrative, but the gen_ai.agent.id attribute is exactly what Foundry asks for on external agents:

# Put a stable agent identity on every top-level span.
# Foundry's external-agent path expects gen_ai.agent.id on invoke_agent.

span.set_attributes({
    "gen_ai.agent.id": "support-triage",
    "gen_ai.agent.version": "2026.11.18",
    "gen_ai.agent.env": "production",
    "gen_ai.agent.owner": "platform-team",
    "thread.id": thread_id,
    "tool.name": tool_name or "",
})

Outcomes need a schema too, because a trace without an outcome only tells you what happened, not whether it was worth it. LangSmith's post is useful here: some outcomes map one-to-one to a thread (a thumbs-down), others are many-to-many (several threads may contribute to one merged pull request). I ask teams to start with three outcome types and no more:

  • a user or operator signal (thumbs, "resolved," "escalate")
  • a system signal from the downstream app (ticket closed, refund posted, test suite green)
  • a delayed quality label from a human queue, used to calibrate any LLM judge

Then I put a release gate in front of prompt, tool, and routing changes. A YAML file is enough to make the rule visible in code review:

# eval-gate.yaml — block promotion unless the candidate beats the baseline
suite: support-triage
baseline: agents/support-triage@v12
candidate: agents/support-triage@v13
gates:
  - name: multi_turn_success
    min: 0.82
  - name: incorrect_tool_rate
    max: 0.05
  - name: p95_latency_ms
    max: 4000
  - name: cost_per_resolved_ticket
    max: 0.35
on_fail: block_promote

The numbers in that file are placeholders for your own baseline, not industry targets. The important part is that a worse candidate cannot reach production because someone liked the new wording.

What I would do in the next two weeks

If you already have one internal agent in use, you do not need a new platform on day one. You need a loop.

  1. Give the agent a stable ID, a named owner, and a version. Register the same ID in dev, staging, and production.
  2. Emit OpenTelemetry traces for model calls, tool calls, and approval events. Redact secrets and personal data at the source.
  3. Store one real outcome per thread, even if it is only "resolved / escalated / abandoned."
  4. Write 30–50 multi-turn eval cases, including "should refuse" and "must ask before deleting or paying."
  5. Run that suite in CI on every prompt or tool-policy change, and refuse to promote a regression.
  6. Once a week, cluster failed threads by failure mode (wrong tool, missing confirmation, retrieval miss, endless loop). Fix the top cluster, not the noisiest ticket.
  7. Keep a rollback: previous prompt, previous tool allowlist, previous model route.
  8. Only then decide whether a vendor lake, Foundry Insights, LangSmith, Langfuse, or Phoenix will save you time at your current volume.

If you want the career-facing version of this discipline — evals as a hiring skill, not only a platform component — I already wrote a shorter companion: AI Evals and LLMOps Reliability. This post is the production architecture behind that advice, updated for what shipped this month.

How this helps your AI platform career

The job descriptions I now see for MLOps and LLMOps in India are not asking you to "build a chatbot." They ask for tracing, continuous evaluation on live traffic, drift alerts, and a rollback story. I break that hiring picture down, with sourced figures, in MLOps jobs in India.

The transferable skill is not "I clicked around in LangSmith." It is: I can explain the improvement loop, show a gate that blocked a bad change, and name the owner of each agent.

That is the work I teach in the MLOps and AIOps masterclass, next to pipelines, serving, and AIOps habits. If you are stronger in app or LLM work than infra, start with evals and tool calling in the GenAI course. If your Python is shaky, use the free Python course. For a personal plan, use mentorship.

FAQ

Do I have to buy LangSmith or Microsoft Foundry to do this?

No. Those products are useful evidence that the pattern is mainstream, and they will save time once you have volume. The practice is: identity, traces, outcomes, a golden set, a promotion gate, and a human in the loop. You can start that on OpenTelemetry plus your existing warehouse and CI.

Is an LLM-as-a-judge score enough to call an agent "improved"?

It is a proxy, not an outcome. Use it to find high-signal traces, then confirm against something in the real workflow: a resolved ticket, a merged change, a correct refund, a user who did not reopen the chat. Calibrate the judge against a human-labelled set, or it will drift too.

Should an optimizer be allowed to merge fixes on its own?

I would not allow that on a production agent, and Microsoft says Agent Optimizer never changes a production agent automatically. Generate the patch, test it, and let a person ship it. The same rule applies if you use LangSmith Engine or any other "propose a fix" feature.

What is the biggest mistake I see teams make with traces?

Logging prompts and tool payloads into a general log pile, with no agent ID, no environment, and no redaction plan. You cannot query that later, and you may have stored personal data you cannot keep. Treat traces as a product dataset, with a retention policy.

How is this different from the MLOps monitoring I already know?

Model monitoring still matters for the models you host. Agent observability adds trajectory, tool policy, multi-turn success, and cost per completed task. You are operating a workflow that can act, not only a model that can predict.

If you are mid-design on this loop and want a second pair of eyes, message me on WhatsApp or start from the masterclass. Bring one real agent and its failure modes. That is enough to have a serious conversation.

Want this as guided work?

The masterclass is where these threads get tied into a coherent story for interviews and delivery.