Beyond RAG: A Relational Context Engine That Cuts Token Burn — Unblocked
- Source
- youtube.com
- Author
- AI Engineer
- Date
Context
Some questions about a codebase depend on exact identity and date conditions. The talk description argues that similarity-based search cannot answer "which PRs did I merge last week?", and the document-query workshop addresses this by translating ordinary questions into validated database queries over GitHub pull request (proposed code change) and issue data.
The pipeline discovers the data structure, resolves identities across systems and validates generated queries before running them, with retries that feed errors back to the model. This gives a a route to structured evidence about a project's history. The repository is a workshop starter: its query engine is a stub that returns "not implemented yet" until participants build it through the exercises.
- Werry shows Claude sessions with and without pre-gathered , including one where cost dropped about 50% and one where the context traced a regression to a model switch.
- His example of a question cannot answer is "which PRs did I merge last week?", which needs a structured query rather than similarity search.
- Unblocked's open-source document query engine adds identity resolution across systems, query validation that blocks dangerous operators, and retries that feed errors back to the model.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.
- Vector search — Finding content by similarity between embeddings.
videoSoftware Factories: Escape from Trash Mountain — Steve Yegge, Gas Town
videoHow to Ship Millions of Lines of Agent-Written Code — Jarred Sumner, Anthropic
video12 Rules for a Software Factory That Doesn't Ship Slop — Dex Horthy, Factory
videoBuild the Workshop Before the Software Factory — Armin Ronacher, Earendil
videoBeyond RAG: Build a Relational Context Engine from Scratch — Peter Werry, UnblockedAI Engineer
videoYour agents lack context: Here's how to fix "You're absolutely right!" — Brandon Waselnuk, UnblockedAI Engineer
videoHow to Generate Mergeable Code with a Context Engine — Peter Werry, UnblockedAI Engineer
Checking sign-in…
Loading comments…