Peter describes how new employees must piece together code, documentation, and the history of incidents. Unblocked’s context engine brings those sources together into context that is related, tailored to the task, personalized, and permissions-aware.
Beyond RAG: A Relational Context Engine That Cuts Token Burn
Speaker
Peter from Unblocked explains how a context engine connects organizational knowledge to AI agents and demonstrates a relational query engine for structured context.
In a Claude example, a context engine supplies code, architecture documents, pull requests, and Slack discussions about the Source Mark Engine. Peter reports that this task cost $1.29 and took about 90 seconds with the engine, compared with up to $2.60 and three minutes without it. In another example, Unblocked connected a drop in code review findings to a model change and used related PR and Slack context to help create a fix.
Peter distinguishes semantic retrieval, which can find relevant code or discussions, from structured questions such as who reviewed payments most or how many PRs were merged last week. He presents natural-language-to-query generation as the other half of retrieval, with challenges including schema understanding, identity mapping, and safe execution.
Peter demonstrates an open-source Document Query Engine against GitHub pull request data. It discovers a schema by sampling documents, resolves identities with procedural and fuzzy matching, and asks an LLM to synthesize queries. A validation layer blocks risky operators and hidden fields; errors can be sent back to the LLM for limited retries, and full-text search handles title searches.
The finished engine supports filters, aggregations, time-scoped queries, and self-correction, and can show the queries behind an agent’s answer. Peter also describes an open-source simulator that creates task-specific context bundles and compares agent performance with and without them using A/B tests.
Takeaways
- Use semantic retrieval for finding relevant content and structured queries for filters, counts, aggregations, and time-based questions.
- Treat generated database queries as untrusted: validate allowed operators and enforce tenant constraints outside the model.
- Try deterministic schema discovery and identity matching before reaching for an LLM; use one as a tiebreaker where needed.
- A context bundle can connect code with the PRs, docs, and conversations that explain it, while potentially reducing task cost and time.
- Evaluate context improvements with task-based A/B comparisons.
Mentioned in this talk
Search inside this talk
What was claimed 10
- built
“At Unblocked, we build a context engine.”
YouTube Verified3 sources· Talk, Web· archived
- feature
Unblocked context engine: Creates grounded, interrelated, intent-specific, personalized, permissions-aware context
“out the other end you get grounded context”
YouTube Unverified1 source· Talk
- feature
Unblocked context engine: Creates a context bundle from source code, architecture documents, pull requests, and Slack conversations
“delivers a comprehensive but task-specific context bundle”
YouTube Unverified1 source· Talk
- uses
“when you attach a context engine to the back end. It calls the Unblocked context engine”
YouTube Unverified1 source· Talk
- metric
Unblocked context engine: Demo task took about 1 minute 30 seconds with the context engine versus 3 minutes without it
“it took about a minute and 30 seconds with the context engine. Without it... three minutes.”
YouTube Unverified1 source· Talk
- metric
Unblocked context engine: Demo task cost $1.29 with the context engine versus up to $2.60 without it, about 50% lower
“you see a 50% reduction in cost”
YouTube Unverified1 source· Talk
- featureRAG: Handles semantic content questions such as finding code, pull requests, and Slack threads
“RAG nails the content part.”
YouTube Unverified1 source· Talk
- featureDocument Query Engine: Turns natural language questions into structured queries, with schema discovery, identity resolution, validation, self-correction, filters, aggregations, and time scoping
“turning natural language queries into structured queries”
YouTube Unverified1 source· Talk








