A product discussed on AI Engineer.

Build Evals That Actually Matter - Nick Ung, Lyft
Jul 19, 2026 · 37:45
Nick Ung and Akshay from Lyft explain how to build evals that actually matter for customer-support AI agents, sharing their end-to-end pipeline. They argue offline evals must use a fine-tuned user simulator trained on real rider and driver transcripts to produce messy, frustrated behavior—not an off-the-shelf LLM that sounds too nice. Their LLM judge is treated as a binary classifier, calibrated against human labels using precision and recall, with metrics tied to actionable business outcomes like escalation decisions. They detail a continuous error-analysis loop that feeds production failures back into the offline test set and closes the loop through context, harness, or model learning. The talk also previews their config-driven eval harness with YAML primitives for tasks, datasets, and personas, enabling repeatable runs across development stages.

Agents in Production: How OpenGov Built and Scaled OG Assist - Gabe De Mesa, OpenGov
Jun 26, 2026 · 18:30
Gabe De Mesa of OpenGov explains how the company built and scaled OG Assist, an AI agent embedded across its government ERP products, using the Effect TypeScript library for full control over the agent loop and adopting Google's A2A protocol for agent-to-agent communication. The team moved from LangGraph to a custom Effect-native loop to gain fine-grained control over tracing, error handling, and structured concurrency. They implement feedback and automated evals with thumbs-up/down and CI checks, human-in-the-loop approvals for mutating tool calls, and sandboxed code execution to keep production safe. Long conversations are managed via rolling summarization with memory recall. Observability comes from Effect's built-in tracing, enabling bottleneck profiling. Tools and skills are built as Effect toolkits, and internally OpenGov uses Claude and Cursor to accelerate development workflows.

Why Can't Anyone Answer Questions About the Business? — Garrett Galow, WorkOS
Jun 11, 2026 · 19:06
Garrett Galow from WorkOS built Studio, an internal workspace where anyone can ask natural language questions against Snowflake, Linear, and Notion, and get reusable widgets instead of filing a request. The LLM generates declarative JavaScript widgets that call data sources directly, making subsequent runs deterministic and cheap. Three techniques made it reliable: preflight sequencing injects schema context only when a tool is invoked, a layering rule tells the model to distrust its own knowledge about WorkOS and use primary sources, and query validation catches valid SQL that returns zero rows before hardcoding it into a widget.

Why your agents need decision traces, not just documents — Zach Blumenfeld, Neo4j
May 29, 2026 · 20:12
Zach Blumenfeld from Neo4j argues that context graphs—a graph-based layer storing decision traces, precedence, and causal chains—extend standard RAG to make AI agents more accurate and explainable. A financial analyst agent, for example, can reject or accept a request by retrieving past decision traces and structurally similar precedents via graph embeddings, not just semantic similarity. Neo4j's one-command tool `uvx create-context-graph` scaffolds a full-stack app with backend, frontend, demo data, and MCP server, supporting 22 built-in domains or custom ontology generation. The underlying `neo4j-agent-memory` package handles entity extraction through a spaCy-to-GLiNER-to-LLM pipeline with deduplication and integrates with pydantic AI, LangGraph, Crew, Google ADK, and others. The episode also covers data connectors for GitHub, Notion, Jira, and Slack, and the ability to store and query decision traces with timestamps, though automated trace quality evaluation is still evolving.

Context Graphs for Explainable, Decision-Aware AI Agents — Andreas Kollegger & Zaid Zaim, Neo4j
May 28, 2026 · 16:39
Andreas Kollegger and Zaid Zaim of Neo4j argue that context graphs transform AI agents from knowledge-driven to decision-aware by providing the "why" behind actions through policies, rules, and precedent. They present a five-stage decision framework: frame the problem with causality and environment, pull global rules and past precedent, run risk value analysis (including reference class validation—e.g., a drug correct 99% of the time may be fatal for the 1%), decide to act or escalate to authority, and write the full reasoning chain into the graph. This last step turns every decision into precedent for future agents. The talk emphasizes explicit risk assessment, such as whether a decision is reversible and what is being maximized, and uses examples like medical prescribing and financial loan eligibility to illustrate how agents must know their reference class before acting.

Don't Build Slop (4 Levels of AI Agent Maturity) - Ara Khan, Cline
May 19, 2026 · 18:52
Ara Khan of Cline presents four levels of AI agent maturity, arguing that most builders suffer from mass psychosis and should focus on thoughtful architecture. Level one is using existing frameworks for rapid prototyping. Level two introduces five rules: treat every agent as a state machine, keep system prompts minimal (e.g., GPT-5.3's prompt is one-third the size of GPT-5's to avoid sensory overload), integrate with a CLI for pseudo-RL pipelines, avoid building slop by designing architecture manually, and master frontier model APIs to leverage reasoning traces correctly. Level three advocates Kanban boards as the ideal UX form factor for managing parallel inference-bound agents, a prediction he made on March 26 that Claude Code shipped ten hours before this talk. Level four involves shipping agents to the cloud for scalability, enabling long-running tasks and parallel execution without local dependencies.

Mind the Gap (In your Agent Observability) — Amy Boyd & Nitya Narasimhan, Microsoft
May 14, 2026 · 1:20:07
Amy Boyd and Nitya Narasimhan of Microsoft explain how to close the gap between agent behavior and requirements using Microsoft Foundry's observability stack. They demonstrate tracing via OpenTelemetry, built-in evaluators for quality, safety, and agentic metrics (e.g., intent resolution, task adherence), and red teaming where a second AI attacks the agent to reveal vulnerabilities. The showcase is the observe skill: pointed at an agent with no eval data, it generates a dataset, runs batch evaluations, optimizes the prompt, compares versions, and rolls back to the best one—all from a single prompt. The skill surfaces failures developers didn't know existed, accelerating the optimize loop with human-in-the-loop guidance.

From Chaos to Choreography: Multi-Agent Orchestration Patterns That Actually Work — Sandipan Bhaumik
Apr 8, 2026 · 26:29
Sandipan Bhaumik, Data & AI Tech Lead at Databricks, argues that scaling AI agents from one to five transforms an AI problem into a distributed systems problem, exposing teams to race conditions, stale reads, and cascading failures. He recounts a production deployment where a credit decisioning system incorrectly approved 20% of applicants because a caching layer wasn't invalidated between agents. Bhaumik presents two coordination patterns: choreography (event-driven, decentralized) for simple workflows with high autonomy, and orchestration (central coordinator) for complex workflows needing rollback and observability. He advocates for immutable state snapshots (append-only versions) and data contracts (schema validation at handoffs) to eliminate race conditions, and demonstrates failure recovery using circuit breakers and compensation (saga) patterns. The episode delivers a production-grade architecture on Databricks using LangGraph, Unity Catalog, Delta Lake, and MLflow for tracing, with code examples for state handoff and circuit breaker logic.

Identity for AI Agents - Patrick Riley & Carlos Galan, Auth0
Jan 14, 2026 · 1:22:12
Patrick Riley and Carlos Galan from Auth0 (Okta) present new identity and access management features for AI agents, including Async Auth, Token Vault, and MCP integration. Token Vault securely stores and refreshes upstream resource tokens, enabling agents to access APIs on behalf of users. Async Auth allows agents to request user approval for risky operations, such as placing an order, via out-of-band notifications like push to the Guardian app. They demonstrate a Next.js chatbot that uses Token Vault to read a user's stock portfolio and Async Auth to require explicit consent before executing trades. The MCP server is secured with OAuth 2.0, supporting Dynamic Client Registration (DCR) and fine-grained scopes. The solution bridges user identity, agent identity, and upstream API authorization, ensuring agents can act autonomously but with user-defined boundaries.

Spec-Driven Development: Agentic Coding at FAANG Scale and Quality — Al Harris, Amazon Kiro
Jan 9, 2026 · 1:03:50
Al Harris, principal engineer at Amazon, presents Spec-Driven Development (SDD) with Kiro, an agentic IDE that transforms prompts into structured requirements (EARS format), designs, and property-based tests to ensure code correctness. He argues that upfront specification—augmented by MCP servers for external context—improves reproducibility and quality over pure vibe coding. The talk includes a live demo: building an S3-backed checkpointer for a LangGraph dad joke generator, then discovering Agent Core’s native memory is more idiomatic. Harris contrasts SDD with Cursor’s planning mode, explains how specs evolve as living documentation, and discusses handling session length, context pruning, and brownfield codebases. The result is a claim that spending 5–10 minutes on specs yields higher accuracy and reliable, testable outputs.

Shipping AI That Works: An Evaluation Framework for PMs – Aman Khan, Arize
Dec 26, 2025 · 1:26:16
Aman Khan, AI PM at Arize, presents a framework for product managers to evaluate LLM-powered products beyond gut-feel 'vibe checks.' He demonstrates building an AI trip planner with multi-agent LangGraph, then using Arize's tracing and prompt playground to iterate on prompts. Khan shows how to create datasets from production traces, run A/B experiments on prompts, and use LLM-as-a-judge evals for friendliness and discount offers, comparing against human labels to refine evaluators. He argues evals are the new requirements docs, enabling PMs to own the product experience by writing acceptance criteria as eval datasets. The talk covers building eval teams, handling variance with temperature settings, and continuously improving golden datasets with hard examples, citing real-world analogies from self-driving cars at Cruise.

From Stateless Nightmares to Durable Agents — Samuel Colvin, Pydantic
Nov 24, 2025 · 22:13
Samuel Colvin of Pydantic demonstrates building production-grade durable AI agents using PydanticAI, Temporal, and Pydantic Logfire, arguing that stateless architectures fail at scale and that durable execution with checkpointing and recovery is essential. He shows a 20 questions game where two agents play, but with 20% simulated failures, restarts are avoided by wrapping agents in Temporal wrappers for automatic retries. Colvin then implements a Deep Research agent that plans searches, runs parallel web searches via Tavilli, and synthesizes results, all recoverable. In a live demo, killing the workflow and restarting resumes instantly, replaying cached LLM calls in milliseconds. He also previews Pydantic AI Gateway and demonstrates Pydantic Evals comparing Gemini, GPT-4.1, and Claude Sonnet 4.5 on performance and cost.

Building an Agentic Platform — Ben Kus, CTO Box
Aug 24, 2025 · 19:06
Ben Kus, CTO of Box, argues that building an agentic architecture early was critical to overcoming the limitations of pure LLM-based data extraction for enterprise unstructured content. Starting with simple LLM calls in 2023, Box faced accuracy issues on complex documents, OCR failures, and difficulty handling hundreds of fields. They pivoted to an agentic framework using directed graphs, multi-model voting, and LM-as-a-judge with reflection loops, which dramatically improved accuracy and allowed incremental improvement. This architecture also enabled deep research on customer data and clean separation between agentic logic and system scaling. Kus emphasizes that agentic thinking should be applied early, even to seemingly non-agentic tasks like metadata extraction, and that Box avoids fine-tuning in favor of prompt-based agentic orchestration.

Evaluating AI Search: A Practical Framework for Augmented AI Systems — Quotient AI + Tavily
Jul 29, 2025 · 20:33
Julia Neagu (CEO of Quotient AI), Deanna Emery (founding AI researcher at Quotient AI), and Maitar Asher (Head of Engineering at Tavily) argue that traditional monitoring approaches like static benchmarks (e.g., SimpleQA) fail to capture the complexity of production AI search because the web is dynamic and truth is subjective. They present a framework combining dynamic datasets generated via a LangGraph-based agent that creates evidence-based Q&A pairs from multiple search providers, and holistic evaluation using three reference-free metrics: answer completeness, document relevance, and hallucination detection. In a two-part experiment comparing six anonymized AI search providers on a static (SimpleQA) and a dynamic benchmark of ~1,000 rows, ranking shifted significantly—provider F went from worst on SimpleQA to best on the dynamic benchmark. Reference-free answer completeness correlated 0.94 with correctness, and document relevance showed an inverse correlation with unknown answers. The speakers stress that evaluation should diagnose issues (e.g., incomplete answers with relevant documents suggest need for more retrieval) and guide improvements, ultimately aiming for…

Human seeded Evals — Samuel Colvin, Pydantic
Jul 25, 2025 · 12:02
Samuel Colvin, creator of Pydantic, demonstrates how type safety and validation loops in Pydantic AI build reliable GenAI applications. He argues that type-safe frameworks enable confident refactoring, a necessity for evolving AI apps, and shows how returning validation errors to the model fixes simple mistakes like incorrect date formats. The agentic loop with tools and final result tools ensures structured extraction, while type-safe dependencies on tools prevent runtime errors. Colvin also highlights Logfire observability, which traces calls, shows pricing, and helps debug failures like failed memory retrieval. The talk covers agent definitions, validation error retries, and the importance of explicit exit conditions in agent loops.

Rise of the AI Architect — Clay Bavor, Cofounder, Sierra w/ Alessio Fanelli
Jul 24, 2025 · 18:55
Clay Bavor, cofounder of Sierra, and Alessio Fanelli discuss the rise of the AI Architect—a new role combining technology, brand, and business outcomes to build customer-facing AI agents. Sierra serves hundreds of millions of consumers this year. Bavor defines the AI Architect as wearing three hats: understanding AI capabilities, defining the agent's voice (e.g., Chubbies' irreverent Duncan Smothers), and driving business outcomes. Successful AI Architects embrace risk, start with narrow problems like processing a single return, and re-architect teams to coach the AI. On build vs. buy, Bavor warns of the "agent iceberg"—hundreds of hidden complexities like regression testing and model migration. He advises tracking model improvement in a Google Doc and anticipating future capabilities, predicting glasses as the ultimate interface for trusted personal AI.

How agents will unlock the $500B promise of AI - Donald Hruska, Retool
Jul 23, 2025 · 16:22
Donald Hruska, engineering lead for Retool's Agents product, argues that AI agents will unlock the $500B promise of AI by moving enterprises beyond toy chatbots into production-grade systems. He explains that building a basic agent is easy (e.g., 100 lines of code using React) but getting it into production requires solving security, cost overruns, observability, and compliance. Hruska outlines four options—build from scratch, use a framework like LangGraph, a managed platform like Retool Agents, or verticalized agents—and advises building for core differentiators and buying for commodity workflows. He cites Retool customers like ClickUp saving over $200,000 in vendor costs and Descript saving hundreds of hours weekly, while noting inference costs dropped 99.7% from 2022-2024. Retool charges $3 per hour for its cheapest agent and supports on-prem deployment.

3 ingredients for building reliable enterprise agents - Harrison Chase, LangChain/LangGraph
Jul 23, 2025 · 20:55
Harrison Chase, CEO of LangChain, argues that reliable enterprise agents depend on three ingredients: high value when right, high probability of success, and low cost when wrong. He says agents succeed by tackling high-value tasks like legal or research, and by doing more work through long-running processes. Reliability improves by blending deterministic workflows with agentic loops, as in LangGraph, and by using observability (LangSmith) to build trust. Cost is lowered by reversible actions (e.g., code diffs) and human-in-the-loop patterns like approvals and time travel. Chase predicts a future of ambient agents—event-triggered, human-supervised background agents—and notes code agents lead because code is verifiable and easily revertible.

How to Build Planning Agents without losing control - Yogendra Miraje, Factset
Jul 23, 2025 · 15:58
Yogendra Miraje from FactSet explains how to build controllable planning agents using agentic workflows and planning by subgoal division, arguing they balance reliability and flexibility for enterprises. He distinguishes workflow agents (static) from agentic workflows (dynamic), and introduces a blueprint generator that pre-selects tools and provides high-level natural language plans to reduce planner cognitive load. He details an architecture using LangGraph nodes (blueprint generator, planner, executor, joiner) and emphasizes designing tools from an agent's perspective with clear purpose, description, and contracts. Miraje stresses evals using code-based and LLM-as-judge techniques, and advises against agentic workflows for fixed tasks, strict compliance, or low-latency needs. The talk includes a concrete example of preparing for NVIDIA's earnings call, showing how blueprints enable structured responses and interpretability.

Agentic GraphRAG: AI’s Logical Edge — Stephen Chin, Neo4j
Jul 21, 2025 · 15:27
Stephen Chin of Neo4j argues that Agentic GraphRAG — combining graph databases with retrieval-augmented generation — overcomes LLM hallucinations and biases by providing structured, relational context. He demonstrates how LLMs fail on reasoning tasks like calculating classroom capacity due to inaccurate anchoring on irrelevant data, and proposes an architecture where vector search first identifies relevant nodes, then graph traversal retrieves related context for the LLM. Chin highlights Neo4j’s MCP server for cypher query generation and memory modules, and cites Klarna’s success: 250K employee questions answered in the first year, 2,000 daily queries, and 85% adoption, replacing their entire SaaS stack. He recommends the Neo4j Certified Developer Program and the Nodes Conference for further learning.

Intro to GraphRAG — Zach Blumenfeld
Jun 30, 2025 · 1:18:35
Zach Blumenfeld introduces GraphRAG using Neo4j, showing how to build knowledge graphs from employee and skill data, combine structured and unstructured data, and use graph traversal with vector search for retrieval. The workshop covers Cypher query patterns for multi-hop similarity, entity extraction from resumes via LLMs, and creating semantic similarity relationships. It demonstrates Leiden community detection for skill clustering and builds a LangGraph agent with four custom tools that balance exact skill matches with vector similarity. Blumenfeld argues that knowledge graphs provide controlled, explainable retrieval logic for agentic workflows, enabling developers to decompose data into graph models that expose domain logic for more accurate retrieval than pure vector search.

Engineering Better Evals: Scalable LLM Evaluation Pipelines That Work — Dat Ngo, Aman Khan, Arize
Jun 27, 2025 · 24:46
Dat Ngo, AI architect at Arize AI, presents advanced LLM evaluation strategies for production systems, arguing that effective evals go beyond out-of-the-box LLM-as-a-judge to include code-based heuristics, human feedback, and golden datasets. He explains how to build a virtuous cycle of collecting observability data, running evals, and tuning them over time, and demonstrates agent evaluation techniques like trajectory evals to identify failure modes across complex workflows. Ngo covers trade-offs between offline evals and inline guardrails, the use of log probabilities for confidence scoring, and automated prompt optimization through meta-prompting, all illustrated with customer examples from Reddit, Duolingo, and Booking.com.

Memory Masterclass: Make Your AI Agents Remember What They Do! — Mark Bain, AIUS
Jun 27, 2025 · 51:25
Mark Bain, Vasilia Markovits, Alex Gilmore, and Daniel Chalev demonstrate that AI memory requires causal relationships and graph databases, not just vector similarity, to solve hallucinations and enable agentic workflows. Bain argues that memory is any data affecting change, and that attention, diffusion, and VAEs follow the same geometric principles as gravity and entropy. Alex shows Neo4j's MCP server storing semantic memory as entities and relationships retrieved across conversations. Vasilia demos Cognee building semantic graphs from GitHub data for agentic hiring decisions. Daniel presents Graphiti's domain-aware memory using custom Pydantic schemas to filter irrelevant facts. Bain introduces a GraphRAG chat arena that switches between memory solutions on a single Neo4j graph, testing different implementations for episodic and temporal recall.

Case Study + Deep Dive: Telemedicine Support Agents with LangGraph/MCP - Dan Mason
Jun 22, 2025 · 1:56:13
Dan Mason of Stride presents a case study on building autonomous agents for telemedicine support, replacing a human-driven button-pushing workflow with LangGraph, Claude, MCP, and a Node.js/React/MongoDB stack, achieving roughly 10X capacity increase. The LLM-driven virtual operations associate ("Ava") assesses patient messages, updates state with anchors and scheduled messages, and passes proposals to an evaluator agent that scores confidence and complexity, escalating to humans below 75% confidence. Mason explains how treatment "blueprints" in Google Docs are read directly by the LLM instead of using RAG, enabling new treatments to be added without writing code. He details the eval system using LLM-as-a-judge via PromptFu and retry logic for tool-calling errors, and discusses trade-offs around confidence scoring, prompt caching, and model selection (Claude for steerability). The team includes two software engineers, one designer, and Mason, who wrote most LangGraph code with AI assistance (Kline).

Grounded Reasoning Systems for Cloud Architecture - Iman Makaremi
Jun 3, 2025 · 26:05
Iman Makaremi, co-founding head of AI at Catayaw, details how his team built a grounded reasoning system for cloud architecture using a knowledge graph and multi-agent orchestration. The system uses LangGraph for workflows, Flyte for distributed execution, and AWS Bedrock with Claude 3. A domain-specific knowledge graph serves as long-term memory, enabling persistent representation of architectural state. The multi-agent system comprises a chief architect and ten staff architects specialized in domains like infrastructure and API, plus retrievers for requirements and architecture. Key findings include that semantic grounding improves but doesn't always work, graph memory supports continuity, structured outputs improve control, and human evaluation is essential early on—Catayaw built an internal tool called Eagle Eye. The workflow proceeds through list generation, conflict resolution, and design proposal with agent cloning for parallel tasks.

The RAG Stack We Landed On After 37 Fails - Jonathan Fernandes
Jun 3, 2025 · 18:52
Jonathan Fernandes, independent AI engineer, details the RAG stack his team settled on after 37 failed attempts, covering orchestration (LlamaIndex), embeddings (BAAI BGE small), vector database (Qdrant), LLMs (GPT-4, Qwen, Llama), reranking (Cohere), monitoring (Arize Phoenix), and evaluation (RAGAS). He demonstrates a live prototype in Google Colab using a London railway knowledge base, showing how a naive RAG returns irrelevant results (e.g., suggesting black cabs for "where can I get help at the station"). By swapping components—replacing in-memory storage with Qdrant, using an open-source embedding model, upgrading to GPT-4, and adding Cohere reranking—the answer improves to "go to booth number five next to the Eurostar ticket gates." For production, he deploys via Docker Compose with NVIDIA embedding/reranking models and Ollama for serving. The episode also stresses the importance of tracing latency per component and using RAGAS for systematic evaluation across many queries.

Tool Calling Is Not Just Plumbing for AI Agents — Roy Derks
Feb 22, 2025 · 25:18
Roy Derks argues that tool calling is the most critical yet overlooked component of AI agents, far more than mere 'plumbing.' He contrasts traditional tool calling—where developers manually manage callbacks, retries, and errors within the agent loop—with embedded tool calling, a black-box approach used by frameworks like LangChain’s createReactAgent. Derks advocates for separation of concerns via the Model Context Protocol (MCP) from Anthropic, which splits tool logic into MCP servers communicating with clients, and via standalone tool platforms such as IBM’s wxflows, Composio, and Toolhouse that let teams build tools once and reuse them across LangChain, CrewAI, or AutoGen. He also introduces dynamic tools, where an agent generates queries on the fly—e.g., using GraphQL or SQL schemas—instead of defining hundreds of static tools, noting that LLMs like Claude handle GraphQL well but may hallucinate on deeply nested schemas. The episode emphasizes that 'an agent is only as good as its tools' and provides practical guidance on designing tool descriptions (which act like system prompts) and output schemas to enable type-safe, chainable tool calls.

Cohere: Building enterprise LLM agents that work (Shaan Desai)
Feb 22, 2025 · 18:29
Shaan Desai, a machine learning engineer at Cohere, presents key strategies for building enterprise LLM agents that are scalable, safe, and seamless. He recommends using native or LangGraph frameworks for high observability in large-scale agents, while CrewAI or AutoGen suit quick proofs of concept. Core insights include starting with a single LLM and a handful of tools, simplifying tool specifications with clear descriptions and sharp examples, and caching chat history to prevent hallucinations beyond 20 turns. For multi-agent setups, the router needs clear routing instructions for edge cases, and sub-agents should be constrained to independent tasks. Safety is paramount, with human-in-the-loop triggered before or after tool calls based on codified rules. Evaluation uses a golden set of ground truth queries, expected tool calls, and outputs. Failure mitigation ranges from prompt engineering for low-severity issues to targeted annotation datasets for 10–20% failure rates and synthetic data fine-tuning for high failure rates. Cohere packages these learnings into NORTH, a single container deployment with RAG, vector DBs, and connectivity to Gmail, Outlook, Drive, and Slack,…

Patrick Dougherty: How to Build AI Agents that Actually Work
Feb 22, 2025 · 17:44
Patrick Dougherty, co-founder and CTO of Rosco (acquired by Klarity in 2024), argues that building effective AI agents requires prioritizing reasoning over inherent model knowledge, iterating on the Agent-Computer Interface (ACI) rather than fine-tuning or relying on frameworks. He defines an agent as a system that takes directions, calls tools, and autonomously reasons—not a prompt chain. His team abandoned RAG-style knowledge injection for discrete tool calls (e.g., SEARCH TABLES, GET TABLE DETAIL), finding that GPT-4o often hallucinates impossible SQL queries while o1 correctly identifies missing data. Switching tool-response formats—Markdown to JSON for GPT-4o, JSON to XML for Claude—dramatically improved accuracy. For production, he warns against over-dependence on abstractions like LangGraph due to security needs (e.g., OAuth credential cascading). In multi-agent systems, a manager agent should delegate to 5–8 specialized worker agents, incentivized by the overall goal, to avoid loops. The true moat, he concludes, is the ecosystem—UX, connections, and security—not system prompts.

Architecting and Testing Controllable Agents: Lance Martin
Oct 11, 2024 · 2:21:54
Lance Martin presents LangGraph, a graph-based framework for building controllable agents that trade some open-ended flexibility for significantly higher reliability compared to classic React agents, achieving 100% consistent tool-calling trajectories even with an 8B local model. He demonstrates self-corrective RAG patterns like Corrective RAG, SelfRAG, and Adaptive RAG, where the agent grades retrieved documents, checks for hallucinations, and routes to web search when needed. Martin also covers three testing loops: in-app error handling with LangGraph, pre-production evaluation using LangSmith to compare agent answers and tool trajectories against ground-truth datasets, and production monitoring with online evaluators that flag retrieval quality, answer relevance, and hallucinations without reference answers. He shares results from a five-question evaluation showing LangGraph agents achieve 80% answer accuracy and 100% tool-trajectory correctness with Fire Function V2, while React agents with GPT-4o degrade in tool reliability. The talk addresses practical concerns like handling many tools (suggesting RAG for tool selection), multi-turn conversations, and the importance of…
Powered by PodHood