Vibeleaderboard
← All Intel
Intel / video

The Data Context Layer for Agents — Yoni Michael & Brandon Callender, Typedef

Source
youtube.com
Author
AI Engineer
Date

Context

Two code symbols can share a name while referring to different objects with different dependents. In the Typedef workshop, two Rust types are both called PostingList, and changing them breaks different code. A text search finds both; a graph keeps them separate. Tree-sitter extracts syntax, Rustdoc resolves each symbol to its canonical identity, and Neo4j stores the relationships, so a tool can answer a blast-radius question (what is affected by changing one symbol) directly instead of asking an agent to infer connections from repeated text searches.

Better context does not guarantee better agent behavior. The workshop's agent sometimes still chooses grep (plain text search) even when graph tools are available, so tool naming, familiar output formats and prompting affect whether the structure is used. Evaluations therefore have to measure , run repeated trials and inspect traces, because one correct answer can hide an unreliable strategy. A graph earns its place by supplying specific, testable relationships, and the description reports no result showing that it beat text search.

Key takeaways · AI-distilled
  • Two Rust types both named PostingList show the limit of text search: grep finds both, but a context graph keeps their identities separate and exposes the distinct code that depends on each, since changing either breaks different things.
  • For data systems, Michael describes a context layer that computes grain, lineage and relationships from transformation code and checks join assumptions against real data, because valid can still be wrong when a join multiplies rows.
  • Callender's build over selected Qdrant crates uses Tree-sitter to extract syntax, Rustdoc to resolve symbols and Neo4j to store relationships, so an agent can ask which symbols depend on a type instead of repeatedly searching files.
  • Beyond scores, the presenters inspect agent traces, which caught flaws hidden by a favorable result.
Terms in this piece · Glossary
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
  • eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
  • Database and SQL — Persistent structured storage queried and changed through explicit operations.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.youtube.com
Tools in this story
More from AI Engineer
Recommended reads