WhoBuilt

The Data Context Layer for Agents

Oct 11, 2026· 1 h 46 min· 3.4K views·Watch on YouTube

Speakers

Yoni Michael, Typedef co-founder, and Brandon Callender, Typedef founding engineer, present a talk and hands-on workshop on data context for agents at AI Engineer.

Why agents need data context

Yoni frames Typedef’s data context layer as infrastructure for agents that need to operate data systems safely. He argues that models can write SQL but often lack the meaning of rows, metrics, joins, and dependencies. A one-to-many join, for example, can inflate a pipeline’s row count while leaving valid SQL that hides the real cause.

Build a persistent context graph

Yoni identifies four key facts agents need: table grain, join safety, metric meaning, and relationships among assets. Typedef derives structure and lineage from transformation SQL, checks join keys against warehouse data, and uses LLMs for ambiguous tasks such as summarizing assets. The resulting graph is refreshed as data changes and lets agents retrieve relevant connections without rebuilding context from scratch.

Use the graph to assess changes

Yoni describes using the graph for impact analysis, safe join recommendations, and checks for changes to business definitions. For example, changing a model from monthly to weekly grain could cause a downstream ARR measure to be counted repeatedly. Typedef reports a benchmark lift of almost 35 percentage points when agents have the data context layer.

Build and evaluate a code context graph

Brandon leads a workshop using the Qdrant codebase to show how agents can move from text search to indexed results and then a traversable graph. Tree-sitter extracts syntax, Rust tooling resolves symbols, and Neo4j stores symbols and their relationships. In the workshop’s repeated evaluations, the graph agent was about twice as likely to get the right result on every run and used about 3.1 times fewer tokens on average.

Make tools usable and measure them

Brandon finds that agents may keep using grep even when graph tools are available, so he recommends presenting graph retrieval in a familiar search format and ensuring the first call returns useful results. He stresses repeated evaluations, deterministic scoring where possible, and reading traces rather than relying on a scoreboard alone. He also recommends building structure deterministically first, then using small, focused LLM tasks to add meaning.

Takeaways

  • Persist data meaning and relationships so agents can retrieve relevant context at runtime.
  • Check join cardinality against real data instead of inferring safety from SQL syntax.
  • Trace downstream impact before changing a model’s grain or a metric definition.
  • Evaluate agents across repeated runs and measure whether they actually use the intended tools.
  • Parse structure deterministically, then use focused LLM tasks for summaries and classifications.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • built
    “Typedef has an open-source library for this called Fenic.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • built
    “The title of this talk is “The Data Context Layer,” a core piece of infrastructure we've built”
    YouTube
    Verified2 sources· Talk, Web· archived
  • founded
    Co-founder and CTO
    “I'm one of the co-founders of a startup called Typedef.”
    YouTube
    Verified4 sources· Talk, Web· archived
  • works at
    Founding engineer
    “our founding engineer, Brandon Callender”
    YouTube
    Verified2 sources· Talk, Web· archived
  • integrates with
    Typedef integrates with MCP
    “You connect your Snowflake or Databricks MCP”
    YouTube
    Unverified1 source· Talk
  • feature
    Data context layer: Persistent graph of data-system context, incrementally refreshed on commits and queried by traversal
    “It’s a graph. It’s computed once and refreshed atomically on every commit.”
    YouTube
    Unverified1 source· Talk
  • feature
    Data context layer: Helps agents reason about impact, join safety, and changes to business definitions
    “The first is impact analysis.”
    YouTube
    Unverified1 source· Talk
  • metric
    Data context layer: Agent task success rate was almost 35 points higher with the data context layer
    “It's almost 35 points higher when it's armed with the data context layer.”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks