Building Production Data Agents with Long-Running Context and Iterative Workflows

hex · Tech · 2026 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production data analytics agents

Hex needed to move beyond single-shot text-to-SQL toward long-running data agents that can work across notebooks, threads, semantic models, warehouse context, and user feedback while remaining verifiable enough for production analytics.

Constraints:

Architecture

Hex built a family of data agents around a durable workflow runner and shared capability bundles. Notebook, Threads, semantic-modeling, and context agents increasingly share tools, prompts, skills/guides, and static context while preserving different user experiences. A Temporal-backed orchestration layer runs the LLM/tool loop, a context-harvesting pipeline supplies dynamic and static workspace context, tool search and consolidation reduce the tool surface, and observability/evaluation systems feed mistakes back into Context Studio and long-horizon benchmarks.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  notebook-agent-surface["Notebook agent surface"] --> capability-bundle-registry["Capability bundle registry"]
  threads-conversational-surface["Threads conversational surface"] --> capability-bundle-registry
  semantic-modeling-agent["Semantic modeling agent"] --> capability-bundle-registry
  capability-bundle-registry --> temporal-workflow-orchestrator["Temporal workflow orchestrator"]
  temporal-workflow-orchestrator --> agent-loop["Agent loop"]
  agent-loop --> context-harvesting-pipeline["Context harvesting pipeline"]
  context-harvesting-pipeline --> semantic-models-and-guides["Semantic models and guides"]
  context-harvesting-pipeline --> warehouse["Warehouse"]
  context-agent["Context agent"] --> context-harvesting-pipeline
  agent-loop --> tool-search-layer["Tool search layer"]
  tool-search-layer --> tool-catalog["Tool catalog"]
  agent-loop --> scratchpad-sql-runner["Scratchpad SQL runner"]
  scratchpad-sql-runner --> warehouse
  agent-loop --> notebook-artifact-writer["Notebook artifact writer"]
  notebook-artifact-writer --> interactive-artifact-renderer["Interactive artifact renderer"]
  threads-conversational-surface --> interactive-artifact-renderer
  agent-loop --> llm-judge-monitors["LLM judge monitors"]
  llm-judge-monitors --> context-studio["Context Studio"]
  context-studio --> semantic-models-and-guides
  context-studio --> context-agent
  temporal-workflow-orchestrator --> internal-observability-and-eval-system["Internal observability and eval system"]
  internal-observability-and-eval-system --> long-horizon-benchmark["Long-horizon benchmark"]
  long-horizon-benchmark --> warehouse
  long-horizon-benchmark --> agent-loop
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Notebook agent surface Technical notebook interface where the agent writes SQL, Python, text, charts, and reports into visible notebook artifacts. Capability bundle registry, Temporal workflow orchestrator, Notebook artifact writer, Scratchpad SQL runner
Threads conversational surface Self-serve chat-like interface that hides code while exposing interactive data artifacts and answers. Capability bundle registry, Temporal workflow orchestrator, Interactive artifact renderer
Semantic modeling agent Assists with semantic-model YAML and harvests context from other workspace artifacts to improve model documentation. Context harvesting pipeline, Semantic models and guides, Capability bundle registry
Context agent Synthesizes workspace, conversation, admin, and artifact context behind the scenes for future agent use. Context harvesting pipeline, Context Studio, Semantic models and guides
Capability bundle registry Packages tools, static context, prompts, skills/guides, and final-turn behavior for each agent surface. Notebook agent surface, Threads conversational surface, Semantic modeling agent, Temporal workflow orchestrator, Agent loop
Temporal workflow orchestrator Provides the long-running workflow substrate that replaced the earlier single-shot bulk-queue flow. Agent loop, Notebook agent surface, Threads conversational surface, Internal observability and eval system
Agent loop Runs the LLM in an iterative tool-calling loop with wrap-up, iteration ceiling, compaction, and final-turn behavior. Capability bundle registry, Context harvesting pipeline, Tool search layer, Scratchpad SQL runner, Notebook artifact writer, LLM judge monitors
Context harvesting pipeline Collects dynamic and static context from notebooks, threads, conversations, semantic models, warehouse sources, admin guidance, and guides. Agent loop, Context agent, Semantic modeling agent, Semantic models and guides, Warehouse
Tool search layer Retrieves and narrows tools from a large product tool surface so agents do not carry every operation directly in context. Agent loop, Tool catalog
Tool catalog Contains notebook, chart, SQL, Python, artifact, and product operations exposed to agents as specific or consolidated tools. Tool search layer, Scratchpad SQL runner, Notebook artifact writer
Scratchpad SQL runner Runs hidden investigative SQL probes so the agent can inspect tables and refine visible work before writing final cells. Agent loop, Warehouse, Notebook artifact writer
Notebook artifact writer Writes persistent SQL, Python, text, chart, and report cells that users can follow, modify, and publish. Notebook agent surface, Agent loop, Interactive artifact renderer
Interactive artifact renderer Shows Threads and notebook outputs as data artifacts, charts, reports, forms, and apps. Threads conversational surface, Notebook artifact writer
Semantic models and guides Governed context layer for metric definitions, warehouse guidance, progressive-disclosure skills, and admin-authored rules. Context harvesting pipeline, Context Studio, Semantic modeling agent
Context Studio Admin feedback surface that highlights questions, answers, suspected failures, and opportunities to improve context. LLM judge monitors, Semantic models and guides, Context agent
LLM judge monitors Post-action judge layer that flags possible wrong answers, confusion, and conflicts with semantic models. Context Studio, Internal observability and eval system
Internal observability and eval system Developer-facing tracing and evaluation stack for understanding agent behavior and measuring prompt or harness changes. Temporal workflow orchestrator, LLM judge monitors, Long-horizon benchmark
Long-horizon benchmark A 90-day simulation with a changing warehouse, tickets, and proactive knowledge work to test whether agents compound context over time. Internal observability and eval system, Warehouse, Agent loop
Warehouse The customer or synthetic data environment queried by agents and benchmarks. Scratchpad SQL runner, Long-horizon benchmark, Semantic models and guides

Data flow

A user asks a question in a notebook, Threads, or semantic-modeling surface. The selected agent capability bundle provides prompts, tools, static context, and final-turn behavior. The workflow runner launches a long-running LLM loop, harvests dynamic context from Hex artifacts, semantic models, guides, conversations, and warehouse metadata, retrieves or narrows the relevant tools, and optionally runs scratchpad SQL probes before writing visible notebook cells or hidden Threads artifacts. Generated answers and traces flow into observability and Context Studio, where LLM judges and admins identify issues, improve guides/semantic models, and feed the context graph used by future agent runs. Separate eval infrastructure tests harness changes and long-horizon learning behavior against synthetic but realistic warehouse scenarios.

6 supporting quotes
“we put a sidebar in the notebook and we gave it all the same features or the same tools that like a user could access in the notebook.”transcript, stated
“the capabilities bundle together tools, static context, prompts, also some weird esoteric finicky stuff like final turn behavior”transcript, stated
“the actual high-level agent loop, I mean it's it's a fine piece of engineering, but it is it does kind of boil down to just run the LLM in a loop”transcript, stated
“the interesting stuff is really about the context harvesting pipeline, and then like all of these finicky little things about how does it work on the last turn?”transcript, stated
“of MCPs and solved cloud code can theoretically use like, you know, thousands of tools. So, we implemented tool search, which helped to take that pressure off. I don't necessarily purport to be an expert on this. We only have kind of like our our empirical evidence, but like we had”transcript, stated
“this new context studio that basically gives admins on the data team a bird's-eye view of what kinds of questions people are asking, what answers they're getting.”transcript, stated

Why this architecture

Hex chose a long-running, context-heavy architecture because data analytics requires iterative exploration, workspace history, and governed definitions rather than a single prompt-to-SQL answer. The architecture keeps visible artifacts for technical users, hides code for self-serve users, allows common capabilities to converge across surfaces, and keeps custom orchestration/evaluation control while models and provider APIs change quickly.

6 supporting quotes
“Data I think is a uniquely difficult environment in which to try and do good single shot text to sequel or text to code or text to answer generation because it is iterative”transcript, stated
“it was increasingly feeling like we had this like high horsepower beast driving 25 in a school zone. It's like the thing we are harnessing here needs more context”transcript, stated
“in all of its toolbars and it's like the agent needs to be able to use all of those. Like all the power of this very complex tool should be just like a prompt away. And I think that we came into Hex or to building the notebook agent specifically with that same thing in mind where it's”transcript, stated
“people would be like, "Oh, why can threads do this? But like, why can't threads write Python? But the notebook agent can.”transcript, stated
“We looked at a bunch of orchestrator tools and technologies and made this decision primarily on the basis of things moving really fast”transcript, stated
“that part of the benefit of having our own thing and having evals that we can actually say, "Does help? Does the 1 million context token window help or hurt?" It's like, "Well, it hurts at the margins cuz you can't fill up that window without incurring pretty severe intelligence”transcript, stated

Models used: GPT-3.5 Turbo · Claude Sonnet 4.6 · Opus 4.6 · GPT 5.4 · LLM-as-judge models

Scale

Alternatives considered (roads not taken)

Continue single-shot text-to-SQL and text-to-answer generation

Rejected because: The team found that data analytics is iterative and the earlier single-shot workflow was stalling out.

“all feels very quaint to think about now. And then for the next like year or so, we were very focused on this single-shot type workflow, which I think is kind of in many ways like uniquely cursed in data analytics because it is this like iterative domain in which you get an answer and it's like,”transcript, stated
“it just wasn't working candidly. Data I think is a uniquely difficult environment in which to try and do good single shot text to sequel”transcript, stated

Keep separate notebook, Threads, and semantic-modeling agents

Rejected because: Users expected similar tools and context access across surfaces, so Hex began unifying tools, prompts, and skills into capability bundles.

“in different places, you expect it to have the same tools and capabilities and access. And our initial agents were all totally separate things. And so, people would be like, "Oh, why can threads do this? But like, why can't threads write Python? But the notebook agent”transcript, stated
“just unifying these all together, which has had interesting code level impact on the way that we organize our tools and prompts and skills into bundles”transcript, stated

Adopt an off-the-shelf agent orchestrator

Rejected because: Hex prioritized moving quickly on its own terms despite the maintenance cost, then migrated to a Temporal-based long-running workflow architecture.

“We looked at a bunch of orchestrator tools and technologies and made this decision primarily on the basis of things moving really fast”transcript, stated
“We migrated everything from this very single-shot bulk queue-oriented flow to um something based on temporal that kind of has proper long-running workflow orchestration. It was a tremendous task and I mean, the worst part is you have to maintain two things”transcript, stated

Expose generic SQL/Python execution instead of specific tools

Rejected because: Specific tools let Hex shape behavior around when to probe, when to write visible artifacts, and how to avoid agents disappearing into hidden work.

“we could give it, you know, very generic tools to just run code, but introducing very specific tools allows us to introduce these kinds of behavioral guidance”transcript, stated
“we're constantly battling against the case where a user asks a really simple question and it's just like tells you the answer cuz it ran a little secret SQL query”transcript, stated

Use very large public-style benchmark sets as the main eval strategy

Rejected because: Hex favored smaller, actively maintained eval sets that encode known failure traps and support repeated runs.

“a good eval set should be actually small enough that you as the interested party can can sort of hold it in your mind.”transcript, stated
“it's more interesting to have a couple of gotchas that you can maintain in your head and just run a ton of repetitions on them”transcript, stated

Move wholesale to provider SDKs or stateful server-side tool calling

Rejected because: The team saw value in provider features but did not have clear quantitative proof that giving up control for in-distribution behavior was worth it.

“it's very difficult for us to think about moving from this like ala carte adoption to actually centralizing into the full-on SDK”transcript, stated
“we would give up a lot of control and I think just at this point in time the benefit quantitatively is a little unclear to me.”transcript, stated

Patterns

durable-execution (orchestration)

Hex migrated from a single-shot bulk-queue flow to a Temporal-based workflow substrate so notebook and data agents could run long, multi-step tasks with proper orchestration.

“We migrated everything from this very single-shot bulk queue-oriented flow to um something based on temporal that kind of has proper long-running workflow orchestration.”transcript, stated
“this new better world that has since enabled us to build all of these other agents and stuff.”transcript, stated

tool-use-orchestration (agent-architecture)

The agents expose notebook, chart, SQL, Python, and product operations through tools, then use tool search and tool consolidation to manage the large tool surface.

3 supporting quotes
“the notebook agent needs to be able to do everything in a notebook that human would be able to do.”transcript, stated
“we implemented tool search, which helped to take that pressure off.”transcript, stated
“we can consolidate this all into just chart tool and it works fine.”transcript, stated

rag-retrieval (context)

Hex treats workspace artifacts, threads, semantic models, guides, and admin context as retrievable context that agents harvest during operation.

3 supporting quotes
“The interesting thing about that model is not necessarily the visible capabilities it has because it just, you know, writes YAML docs”transcript, stated
“all of the context harvesting that it does in order to be able to accurately contribute to your semantic models.”transcript, stated
“notebooks, other threads, conversations, all kinds of pieces of context inside of Hex.”transcript, stated

agent-memory (context)

Hex separates user-level memory from data-team-governed context and treats memory cautiously because wrong user feedback can conflict with semantic models and guides.

“For now, we're keeping memory as a separate thing from these other sources of context that are much more data team admin driven.”transcript, stated
“the user tells the agent, "No, that's wrong. This metric is actually defined this way." And maybe that user is wrong or it's outdated”transcript, stated

human-in-the-loop-gate (governance)

Context Studio turns suspected agent failures into admin-visible feedback so the data team can improve semantic models, guides, and context before future runs.

“all of this stuff runs as a sort of post action and gives admins the opportunity to improve the context that allows the agent to do better.”transcript, stated
“So it's kind of a like human-in-the-loop system for the model does something, the user perhaps gets a wrong answer.”transcript, stated

llm-as-judge (evaluation)

Hex uses separate LLM judges to detect possible wrong answers, confusion, warnings, and conflicts with semantic models for admin review.

“We flag out using a separate LLM as a judge cases where we think something might have gone wrong or where the agent might have been confused”transcript, stated
“the kinds of failures that are that are occurring in the agent and what those clusters are and how they're shifting over time.”transcript, stated

eval-driven-development (evaluation)

The team uses handcrafted eval sets, internal usage-derived scenarios, and a 90-day simulation to judge harness changes, model upgrades, and long-horizon agent learning.

3 supporting quotes
“being able to answer those two questions is the goal for anyone at the company.”transcript, stated
“I model a lot of it off of that because data's hard and we make mistakes internally also.”transcript, stated
“But I've built a 90-day simulation during which the clock ticks, and every time the day turns over DBT models run and alter the warehouse to keep it sort of time shifted up to date.”transcript, stated

context-compaction (context)

Hex evaluates long-context model features and compacts earlier than the full window when longer contexts start degrading model behavior.

“Does the 1 million context token window help or hurt?" It's like, "Well, it hurts at the margins cuz you can't fill up that window”transcript, stated
“we can compact it, you know, 300,000 instead of 200,000 cuz we found that's the best.”transcript, stated

observability-tracing (operations)

Hex built internal observability and experimentation tooling, then began converging it with admin-facing Context Studio signals.

3 supporting quotes
“I've built an internal observability and experimentation system.”transcript, stated
“Today, the observability tools that we built, I kind of built the first version of them”transcript, stated
“they they ought to probably become more agentic or at least higher level.”transcript, stated

Tradeoffs

Switch from single-shot AI cells to long-running agents.

Chose Agents that operate across a project and take multiple steps over Single-shot text-to-SQL/text-to-answer generation scoped to individual cells.

Rationale: Data analytics requires follow-up, pivots, and investigation, so the broader agent workflow better matches the domain even though it is harder to evaluate.

“it took us a long time to to like go from AI operating within the cell to AI operating across all of the cells.”transcript, stated
“And so I think like we worked really hard and realized we were stalling out and like this more flexible approach was obviously what's necessary. >> And what types of questions were people asking or wanting to ask whether it's in the single shot or in the agent that came after?”transcript, stated

Build and maintain custom orchestration.

Chose A custom, Temporal-based long-running orchestration stack over Fully adopting off-the-shelf orchestrator technology.

Rationale: The team wanted control and speed in a fast-moving model/product environment, accepting significant maintenance overhead.

“us wanting to be able to continue to move fast with them on our own terms, even if it meant taking on a lot of this maintenance overhead”transcript, stated
“We migrated everything from this very single-shot bulk queue-oriented flow to um something based on temporal”transcript, stated

Use hidden scratchpad SQL probes for investigation.

Chose Small ephemeral SQL queries before visible notebook output over Writing every investigative query as a visible notebook cell.

Rationale: Private probes help the agent inspect tables and produce a better first visible query, but require behavioral controls so users still get proof.

3 supporting quotes
“we allow it to run scratchpad SQL queries that do not show up in the notebook.”transcript, stated
“it kind of does these very small little atomic ephemeral investigative queries and then once it's gathered enough information to write the primary query correctly”transcript, stated
“having to refine and iterate on that query multiple times. But again, as with most things you give agents like it does have kind of unintended consequences where we're constantly battling against the case where a user asks a really simple question and it's just like tells you the answer cuz it”transcript, stated

Keep specific product tools despite pressure toward generic code execution.

Chose Specific tools with behavioral guidance over Only giving the agent generic SQL/Python execution.

Rationale: Specific tools let the team constrain when an agent should probe, write visible artifacts, or take product actions.

“do you want the agent to run a quick little ephemeral tool or do you want it to write Python code that, you know, becomes a cell and is visible to the user?”transcript, stated
“introducing very specific tools allows us to introduce these kinds of behavioral guidance around when to use this tool or when to take this action”transcript, stated

Unify multiple agent capability sets.

Chose Shared tools, prompts, skills, and context bundles across agent surfaces over Separate notebook, Threads, and semantic-modeling agent stacks.

Rationale: Users expected similar capabilities across similar surfaces, and unification reduces capability gaps between interfaces.

“if you're interacting with something that looks pretty similar in the same product in different places, you expect it to have the same tools and capabilities and access.”transcript, stated
“But like, why can't threads write Python? But the notebook agent can. And why can the semantic authoring agent, like, you know, read my other projects?”transcript, stated

Treat semantic models and admin context as the stronger correctness layer.

Chose Governed context, semantic models, and admin feedback loops over Relying mainly on visible citations or raw reasoning traces for data correctness.

Rationale: For data work, correctness depends on metric definitions and governed context more than on merely showing the SQL path.

3 supporting quotes
“the concept of showing your work is not the right concept for data work in terms of citation and verifiability.”transcript, stated
“There's one really obvious amazing way to do this in the data world, which is to use a model.”transcript, stated
“you're basically always operating on like trusted governed context.”transcript, stated

Measure long-horizon compounding instead of only day-zero answers.

Chose A 90-day simulation with evolving data, tickets, and proactive knowledge work over Only static one-shot benchmark questions.

Rationale: Hex believes the product should improve as it accumulates context, so evaluation must test whether the agent compounds knowledge over time.

3 supporting quotes
“the most interesting way to evaluate data agents and data work has to be long horizon.”transcript, stated
“we're only evaluating this like point in time uh part of the system. We're not evaluating the full flywheel.”transcript, stated
“Every day it should get better and better and better at your tasks.”transcript, stated

Adopt provider model features selectively.

Chose A la carte use of long context, compaction, and other provider features over Wholesale migration to provider SDKs/server-side execution.

Rationale: The team wants the benefits of new provider features but does not yet see enough measured upside to surrender custom-harness control.

3 supporting quotes
“we always try and run it at a high enough effort that we see evaluates well without making our users wait 10 minutes”transcript, stated
“>> We do. Well, we use them where they help. I think that part of the benefit of having our own thing and having evals that we can actually say, "Does help?”transcript, stated
“moving from this like ala carte adoption to actually centralizing into the full-on SDK”transcript, stated

Gotchas (what bit them)

Single-shot data generation fails on iterative analytical work.

Root cause: Data analysis has branching decisions, follow-up questions, and ambiguous correctness checks rather than a simple pass/fail artifact.

Resolution: Hex moved toward agents that can operate across the whole notebook/project and continue through multi-step exploration.

“when you do good data science or good data analytics, there are many decision points along the journey of a project”transcript, stated
“agents versus single-shot prompting kind of resolved the earlier part of the like interesting AI data puzzle.”transcript, stated

Harness workarounds become tech debt as models improve.

Root cause: Systems built to compensate for earlier model limits can become unnecessary but hard to remove once embedded in the agent platform.

Resolution: Run evals against old compensating systems and remove them when current models no longer need them.

3 supporting quotes
“I think a remarkable amount of things that at one point we felt very proud of building and were in fact necessary are now hobbling the agent actually.”transcript, stated
“someone ran an eval and was like, "Yeah, we don't need that anymore. They're fine."”transcript, stated
“And it's very hard to get rid of tech debt once it exists. >> When you do these changes to the harness, are they incremental or has ever been a point where you're like, "Hey, we're just going to completely rewrite this harness.”transcript, stated

Tool surfaces can explode into too much prompt/tool context.

Root cause: A flexible product encourages many small tools, and each tool may carry repeated instructions.

Resolution: Consolidate normalized tool families and add tool search/retrieval so the agent sees fewer tools at once.

“I think it's too many tools. >> How many tools is it? >> Not quite 100,000 but something like that tokens worth of tools in the tool kit, which is too much to be clear.”transcript, stated
“one thing here is to reduce the number of tools and simplify and consolidate, but another thing is to implement some kind of tool search”transcript, stated

Hidden scratchpad tools can make agents produce answers without visible proof.

Root cause: Modern models may use hidden SQL/Python probes extensively and then skip the user-visible artifact the user expected.

Resolution: Keep specific tools and behavioral guidance for when to probe privately versus when to write visible cells or charts.

“they really like these days to be pretty sure of themselves before they get back to you.”transcript, stated
“Where's the chart? Like where's the proof?" The agent's like, "Take my word for it."”transcript, stated

Conflicting context can cause long reasoning collapses.

Root cause: Models struggle with contradictory guidance across user memory, semantic models, admin guides, and warehouse context.

Resolution: Keep memory separate from governed context, use admin-managed semantic models/guides, and test contradictory-context behavior explicitly.

3 supporting quotes
“agents and models do very bad with today is contradictory like dissonant situations.”transcript, stated
“if you inject in a piece of conflicting context that goes against some other information it has, it will spend 30 minutes pondering”transcript, stated
“we're being very thoughtful about how we roll it out. I think we we have more testing to do.”transcript, stated

Agent observability cannot simply expose raw traces for production customer data.

Root cause: Internal teams can inspect development traces deeply, but production user data and admin workflows require privacy-aware summaries and higher-level issue clusters.

Resolution: Use LLM judges and clustered insights to surface failure types while keeping the feedback loop higher level and privacy-aware.

3 supporting quotes
“I think that A, obviously we can't do that for real user stuff. B, I don't know if admins or data teams want their job to become pouring through everyone's conversations and being sort of synthesizers of all this like that to me feels like an agent's job.”transcript, stated
“the kinds of failures that are that are occurring in the agent and what those clusters are and how they're shifting over time.”transcript, stated
“they they ought to probably become more agentic or at least higher level.”transcript, stated

Public evals can measure narrow retrieval quirks instead of useful analytical reasoning.

Root cause: Many benchmarks encode repeated variants of a small gotcha or bad ground truth rather than representative exploratory data work.

Resolution: Maintain smaller, actively worked evals with known failure traps and realistic internal usage scenarios.

3 supporting quotes
“Bad ground truth, incorrect ground truths, problematic grading, some folks try and do deterministic grading, which is a valiant quest, but your script has bugs”transcript, stated
“Most of them are just variants on this one gotcha. And I think that it's more interesting to have a couple of gotchas that you can maintain in your head and just run a ton of repetitions on them rather than fan it out to a bunch of different cases and make things more complicated.”transcript, stated
“a lot of benchmarks out there conflate that talking specifically about analytical reasoning and data capability.”transcript, stated

Provider-specific agent SDKs may trade control for uncertain in-distribution gains.

Root cause: Model providers ship useful proprietary execution, compaction, and tool-calling features, but custom product tools may still move the system out of the provider's trained distribution.

Resolution: Adopt provider features a la carte where evals show value while retaining the custom harness until the quantitative benefit is clear.

3 supporting quotes
“Well, we use them where they help. I think that part of the benefit of having our own thing and having evals that we can actually say, "Does help?”transcript, stated
“I wonder how quickly that goes out the window once you like throw in your custom tool to build a chart or a SQL query”transcript, stated
“>> because we would give up a lot of control and I think just at this point in time the benefit quantitatively is a little unclear to me. I don't yet have a strong intuition for just how much it matters to be in distribution.”transcript, stated

Evaluation

Hex combines internal observability, LLM-as-judge post-action checks, actively maintained eval sets, model/harness comparison runs, and a 90-day simulation benchmark. The evaluation philosophy emphasizes whether changes have desired and undesired effects, whether agents handle realistic messy warehouses, and whether context accumulation improves long-horizon performance.

Metrics: Hard eval set pass rates across repeated runs · Desired-effects and undesired-effects checks for product changes · LLM judge flags for wrong answers, confusion, semantic-model conflicts, and warnings · Clustered production failure categories and shifts over time · Day-zero versus day-90 benchmark accuracy · Latency/quality tradeoffs under model effort settings · Long-context and compaction behavior under different context-window sizes

6 supporting quotes
“The two questions you want to ask are, did my change have the desired effects? And did my change have any undesired effects?”transcript, stated
“We're just now starting to think about how we expose evaluation tools to users. We have a kind of very rudimentary setup for this now.”transcript, stated
“Our eval sets are like 30 to 50 for these very very difficult cases. But again, we we run multiple repetitions on them.”transcript, stated
“a lot of our most interesting evals are notebook agent evaluations that begin in the middle of a very complicated notebook”transcript, stated
“But I've built a 90-day simulation during which the clock ticks, and every time the day turns over DBT models run and alter the warehouse to keep it sort of time shifted up to date.”transcript, stated
“Sonnet 4.6 gets 24% on day 90. It's very expensive to run. I need I need credits, please. >> Welcome to Max Agency, the podcast that goes deep into how the best agents are being built by builders like you.”transcript, stated

Outcomes

The transcript describes an agent platform operating across notebooks, Threads, semantic modeling, context synthesis, observability, and evaluation. It includes concrete scale markers such as a roughly 100,000-token tool surface, notebooks with more than 50 or 60 cells, hidden probes that may reach 50 ephemeral SQL queries, eval sets of 30 to 50 difficult cases, and a 90-day benchmark.

5 supporting quotes
“overnight internally, we released this and like everyone was just freaking out cuz they were like, "Oh my god. This is it."”transcript, stated
“this new better world that has since enabled us to build all of these other agents and stuff.”transcript, stated
“we implemented tool search, which helped to take that pressure off.”transcript, stated
“the value is delivered like over time. Like, it's not just a tool, it's like a platform that everyone works in”transcript, stated
“by day 90, all of the questions in the tickets are carefully crafted such that it should get 100% of the questions, right?”transcript, stated