Evolution of AI Agent Architectures and Evaluation Strategies Across Model Generations

Braintrust2026
View original source

This presentation by Braintrust's Field CTO examines the challenge of maintaining AI applications through rapid generational shifts in foundation models. The problem is that each major model advancement requires significant re-architecting of AI systems, and traditional evaluation approaches become inadequate as architectures evolve from simple single-prompt systems to complex agentic workflows with memory, code execution, and extensible tool systems. Braintrust's solution involves a disciplined evaluation flywheel that harvests production data to continually update evals, combined with automated cluster analysis to discover new failure modes that emerge from architectural changes. The approach enables teams to confidently make step-function improvements while ensuring existing capabilities remain intact through generational transitions.

Industry

Tech

Technologies

Overview

Braintrust, an evaluation and observability platform provider, presents a comprehensive framework for understanding how AI application architectures have evolved across multiple model generations and how evaluation strategies must co-evolve with these architectural shifts. The presentation uses a Site Reliability Engineering agent as a concrete example throughout, demonstrating how a system capable of both reading information and taking actions like rolling back deployments or escalating issues must adapt as foundation models improve.

The core thesis is that building initial AI demos remains straightforward, but achieving and maintaining production quality becomes increasingly challenging as the ecosystem around AI applications evolves dynamically. Models change every few months, user behavior patterns shift, and data distributions evolve, all requiring continuous application changes. The presenter argues that recent model improvements represent step-function changes rather than incremental upgrades, necessitating not just iteration but full re-platforming of applications.

The Re-Platforming Challenge

A critical insight presented is why teams cannot simply drop in new models and expect systems to work. Previous systems were architected with specific assumptions about model limitations. For instance, early systems implemented extensive logic to compensate for poor tool-calling capabilities. When new models with robust tool-calling arrive, the compensatory logic prevents teams from fully leveraging the new capabilities without significant rearchitecture. This creates a cascading effect where model evolution drives architectural changes, which in turn necessitate evaluation updates, since new capabilities introduce new surface areas for potential failures.

Architectural Evolution Through Five Generations

The presentation traces AI system architectures through five distinct generations, each requiring different evaluation approaches:

Generation 1: Single Prompt Systems (circa 2023) - The simplest architecture involved one input, one model call, and one output. Evaluation focused exclusively on final answer quality, examining accuracy, factuality, and hallucination detection. Teams built golden datasets and developed scoring mechanisms encoding their definitions of quality. This narrow focus worked because there was no tool calling, orchestration, or retrieval to evaluate. The limitation was the lack of complexity, not the evaluation methodology.

Generation 2: Chain-Based RAG Systems - These systems introduced multiple sequential steps before the model call. A typical retrieval-augmented generation application would parse user input, extract information, retrieve relevant context, generate prompts, and then have the model synthesize answers. Multiple failure points emerged: parsers could extract wrong information, retrieval could surface irrelevant context, and models struggled with large context windows despite increasing capacity. Context stuffing became a performance issue. Evaluations had to expand beyond final answers to assess each pipeline component, but the systems remained deterministic and followed specific workflows consistently.

Generation 3: ReAct Loop Systems (mid-late 2023 to early 2024) - The ReAct paper popularized running models in loops where they could reason and act step-wise. Models made tool calls, understood returned results, reasoned over data, and determined next steps iteratively until satisfying user intent or exhausting iteration budgets. This provided significant flexibility compared to rigid workflows, enabling models to self-organize and self-orchestrate. However, models of that era lacked robustness. They struggled with tool calling arguments, called wrong tools, faced reasoning challenges with long context, and experienced context collapse. The promise exceeded the delivery, creating a gap between theoretical capability and practical reliability.

Generation 4: Workflow Graph and State Machine Systems (late 2024 to early 2025) - When models proved uncontrollable in loops, teams moved control into the systems surrounding models. They built orchestration, execution, and planning logic as explicit graphs or state machines. Models operated at individual node levels while the graph controlled overall orchestration, providing greater reliability and predictability across different intents. The limitation emerged when user interactions fell outside the anticipated distribution. Systems designed for specific intent sets struggled with unexpected use cases. Teams built increasingly complex branching logic and special case handling, creating numerous failure surfaces. Evaluations had to assess branch consistency, inter-node contracts, node-level performance, and retry loop behavior in addition to all previous concerns. These systems became brittle despite their sophistication.

Generation 5: Advanced Agentic Loops (mid-late 2025) - Major model providers launched capabilities with dramatically improved tool calling reliability, orchestration control, planning accuracy, long-horizon task management, and introspection for course correction. This enabled a return to ReAct-style loops, but with much higher reliability. However, these systems exhibited high trajectory variance. Running the same input multiple times produced dramatically different execution paths while reaching correct answers. This variance necessitated fundamentally different evaluation approaches. Instead of single evaluations, teams needed to analyze distributions of evaluation runs. New metrics became essential: Pass@K measures whether an eval succeeds at least once in K runs, indicating capability. PassRate@K or PassWedge@K measures how many of K runs succeed, indicating reliability. This statistical approach to evaluation represents a significant methodological shift from deterministic assessment.

Generation 6: Product Systems with Peripheral Components (recent) - The most recent evolution involves models augmented by extensive peripheral systems beyond simple loops. Robust memory systems provide storage and retrieval within and across sessions, enabling models to learn from previous runs. Code execution sandboxes allow reliable execution of model-generated code during runtime. Model Context Protocol and skill directories enable extensibility, allowing models to tap into continually expanding capability sets through symbolic instructions. These complex integrated systems create partial coverage problems if teams continue using previous-generation evaluations. New surface areas introduce fragility patterns that older evals cannot detect.

The Evaluation Flywheel Methodology

The presentation strongly advocates for a disciplined flywheel approach to evaluation, which many teams accept conceptually but fail to implement rigorously in practice. The flywheel involves harvesting production data to inform evaluations, ensuring evals reflect real-world conditions rather than synthetic assumptions. Teams running this workflow effectively demonstrate superior ability to build, ship, and improve AI systems.

The challenge intensifies during generational shifts. Teams need mechanisms not only to harvest data for known failure modes defined in existing evals but also to discover novel failure types emerging from architectural changes. Systems fail in unanticipated ways when capabilities and components change dramatically. Static evaluation sets quickly become stagnant and ineffective even when architectures remain unchanged, but the problem becomes critical during re-platforming efforts.

Braintrust’s Approach and Technical Capabilities

Braintrust provides integrated components supporting the complete evaluation flywheel: evaluation frameworks, observability infrastructure, and analytics for extracting insights from production data to generate new evaluation cases. The platform enables teams to iteratively improve AI systems through continuous feedback loops.

A particularly notable feature is Topics, which performs cluster analysis on production data to discover new failure categories. Rather than only detecting instances of known failure modes, Topics surfaces entirely new failure patterns that teams had not anticipated and for which no guardrails or evaluations existed. This capability becomes especially valuable during architectural transitions when new failure modes naturally emerge from changed system behaviors. Teams can expand their evaluation coverage to encompass these newly discovered failure patterns, creating a more comprehensive safety net during re-platforming.

Critical LLMOps Insights and Trade-offs

The presentation offers several valuable perspectives on production LLM operations, though as a vendor presentation, claims should be considered alongside practical implementation challenges:

Architecture-Eval Congruence - The fundamental insight that evaluations must remain congruent with architecture is well-founded. Each architectural pattern introduces specific failure modes requiring tailored assessment strategies. However, maintaining this congruence creates operational overhead. Teams must invest in updating evaluation infrastructure alongside application changes, which many organizations struggle to resource adequately.

The Re-Platforming Reality - The observation that step-function model improvements require re-platforming rather than incremental changes reflects real production experience. However, the presentation underemphasizes the organizational challenges this creates. Re-platforming decisions involve risk assessment, resource allocation, and opportunity cost calculations that extend beyond technical evaluation concerns. Teams may rationally choose to forgo new capabilities if existing systems meet requirements adequately, even if newer models offer superior performance.

Statistical Evaluation Metrics - The shift to Pass@K and PassRate@K metrics for high-variance agentic systems represents sound statistical thinking. However, implementing these metrics increases evaluation costs linearly with K. Running each test case multiple times consumes more API calls, introduces latency in development workflows, and complicates result interpretation. Teams must balance statistical confidence against practical constraints on evaluation budgets and iteration speed.

Automated Failure Discovery - The Topics feature for discovering unknown failure modes through clustering addresses a genuine gap in traditional evaluation approaches. Supervised evaluation requires knowing what to look for, creating blind spots for emergent failures. Unsupervised clustering can reveal these blind spots. However, cluster analysis quality depends heavily on representation choices, distance metrics, and clustering algorithms. False positives can create noise that distracts from genuine issues, while insufficient granularity might miss important failure subcategories. The presentation does not address how Braintrust handles these clustering methodology trade-offs or how teams should interpret and triage discovered clusters.

Production Data Harvesting - The flywheel emphasis on harvesting production data for evaluation is sound practice, but implementation details matter significantly. Privacy concerns may restrict what production data can be retained and analyzed. Sampling strategies affect whether harvested data represents actual production distributions or introduces bias. The temporal dynamics of production data mean that evals based on past data may not reflect current or future usage patterns. Teams need strategies for eval set curation and deprecation, not just accumulation.

Evaluation Coverage vs. Velocity - While comprehensive evaluation across multiple architectural layers provides confidence, it also slows iteration velocity. The presentation advocates for node-level evals, orchestration evals, final answer evals, and statistical multi-run evals simultaneously. This thoroughness comes at a cost in development speed and complexity. Production teams must calibrate their evaluation rigor to their actual risk tolerance and use case criticality rather than maximizing coverage universally.

The Persistence Question - The presentation treats evaluations as durable assets describing system behavior across generational shifts. This perspective has merit, but evaluations also encode assumptions about capabilities, constraints, and user needs that may become obsolete. Teams risk accumulating evaluation debt analogous to technical debt, where maintaining legacy evals consumes resources without proportional value. Strategies for eval deprecation and refactoring receive less attention than eval expansion.

Operational Maturity Considerations

The prescribed workflow assumes organizational maturity that many AI teams have not yet achieved. Running disciplined evaluation flywheels requires infrastructure investment, cultural commitment to testing, and processes for acting on evaluation insights. Teams operating under pressure to ship features may deprioritize evaluation hygiene, creating exactly the stagnant eval problem the presentation warns against.

The generational architecture progression described likely reflects leading-edge practices rather than typical industry behavior. Many production systems remain at earlier architectural generations, and teams should not feel compelled to adopt the latest patterns if simpler approaches meet their requirements. The presentation could more explicitly acknowledge that architectural sophistication should match use case complexity rather than representing a universal maturity ladder.

Conclusion and Practical Takeaways

The presentation provides valuable framing for understanding how AI system architectures and their evaluation requirements co-evolve with foundation model capabilities. The core insight that model improvements drive architectural changes which necessitate evaluation updates represents sound LLMOps thinking. The evaluation flywheel methodology and the emphasis on discovering unknown failure modes address real production challenges.

However, teams should approach these recommendations with appropriate skepticism given the vendor context. The prescribed evaluation comprehensiveness represents an ideal that may exceed what many organizations can sustain practically. The presentation underemphasizes trade-offs between evaluation thoroughness and development velocity, between adopting new capabilities and maintaining stable systems, and between automated failure discovery and manual triage overhead.

Production AI teams should extract the conceptual frameworks while calibrating implementation intensity to their specific contexts. Not every system requires the full evaluation apparatus described, and not every model improvement justifies re-platforming. The real operational art lies in judging when architectural evolution and evaluation expansion create value proportional to their costs, rather than pursuing comprehensiveness as an end in itself.

More Like This

Engineering Principles and Practices for Production LLM Systems

Langchain2025

This case study captures insights from Lance Martin, ML engineer at Langchain, discussing the evolution from traditional ML to LLM-based systems and the emerging engineering discipline of building production GenAI applications. The discussion covers key challenges including the shift from model training to model orchestration, the need to continuously rearchitect systems as foundation models rapidly improve, and the critical importance of context engineering to manage token usage and prevent context degradation. Solutions explored include workflow versus agent architectures, the three-part context engineering playbook (reduce, offload, isolate), and evaluation strategies that emphasize user feedback and tracing over static benchmarks. Results demonstrate that teams like Manis have rearchitected their systems five times since March 2025, and that simpler approaches with proper observability often outperform complex architectures, with the understanding that today's solutions must be rebuilt as models improve.

code_generationquestion_answeringsummarization+35

Enterprise AI Agent Platform for End-to-End Business Process Automation

Ema2023

Ema is a platform that enables enterprises to deploy production-ready AI agents that automate complete business processes rather than just serving as assistants. Founded in 2023, the company serves Fortune 2000 clients across HR, IT, and finance domains with thousands of AI employees in production. The platform addresses the gap between reactive AI assistants and proactive autonomous agents by providing multi-step workflow orchestration, deep system integration, persistent state management, and built-in governance. Key deployments include Vipro with 240,000 employees globally using the platform for employee experience, and Article (an executive recruiting firm) which reduced time-to-hire by 67%. The platform achieves over 90% of invocations through automated triggers rather than manual user prompts, with 100% of AI employees directly modifying state in production systems.

healthcarecustomer_supportdocument_processing+39

Hyper-Personalized Merchandising Through Hybrid LLM and Deep Learning Systems

Doordash2026

DoorDash faced the challenge of personalizing experiences across a massive, diverse catalog spanning restaurants, grocery, retail, and other local commerce categories for millions of users with rapidly shifting intents. Traditional collaborative filtering and deep learning approaches could not adapt quickly enough to short-lived, high-context moments like Black Friday or individual life events. DoorDash developed a hybrid architecture that leverages LLMs for product understanding, consumer profile generation in natural language, and content blueprint creation, while maintaining traditional deep learning models for efficient last-mile ranking and retrieval. This approach enables the platform to serve dynamic, moment-aware personalization that adapts to real-time user intent while managing latency and cost constraints. The system uses GEPA optimization within DSPy for compound AI system tuning, combines offline LLM processing with online signal blending, and evaluates performance through quantitative metrics, LLM-as-judge, and human feedback.

customer_supportcontent_moderationquestion_answering+45