Werry describes a context engine as a way to deliver organizational knowledge to human workers and agents. Agents start each task like new employees, repeatedly rediscovering code, testing practices, and deployment processes. Access to a wiki or a large context window does not guarantee understanding, and can distract agents from task-specific work.
How to Generate Mergeable Code with a Context Engine
Speaker
Peter Werry of Unblocked explains how a context engine gives people and AI agents organizational knowledge to help them understand codebases and produce better plans and fixes; he presents at an AI Engineer event.
Werry says agents can stop after finding one plausible answer, a pattern he compares to “satisfaction of search” in radiology. They may miss relevant decisions, team conventions, architecture rationale, and discussions that are not visible in the code. A context engine is meant to connect those sources and surface what matters for the task.
In a demo, Werry asks about Unblocked’s Source Mark Engine and shows a generated architecture diagram with supporting sources. He compares Claude Code’s optimization plan without Unblocked to a plan informed by past pull requests, Slack, Notion, and architecture documents. The context-assisted plan took about a minute and cost under a dollar; the version without it took about two minutes, and Werry says the larger benefit is avoiding repeated work on mistaken assumptions.
Unblocked draws on pull request history and other sources to create practices for a code review agent. It can surface a senior engineer’s prior comments, and Werry describes an experiment where the system connected a drop in review findings to a Slack discussion and helped generate a fix as a pull request. He says the cloud agent can use organizational context to relate a proposed change to the conversations behind it.
Werry highlights the open-source Document Query Engine, which ingests a GitHub repository’s historical pull requests and lets users query the resulting document schema. He also shows an Engineering Social Graph that maps review relationships and expertise coverage. The Context Engine Simulator lets people compare a task run with and without task-specific context.
Takeaways
- Give agents relevant organizational decisions and conventions, not just code or a wiki.
- Show the sources behind generated answers so people can check and correct them.
- Compare agent plans with and without context to spot missed assumptions and duplicated discovery.
- Use review history and expertise signals to align code review agents with team practices.
- Map review relationships to identify code areas with limited expert coverage.
Mentioned in this talk
Search inside this talk
What was claimed 8
- built
Unblocked built Context Engine
“What we do at Unblocked is build a context engine.”
YouTube Verified3 sources· Talk, Web· archived
- featureContext Engine: Delivers organizational context to human workers and agents.
“A context engine delivers organizational context to both your human workers and, increasingly, your agents.”
YouTube Unverified1 source· Talk
- feature
Unblocked: Uses pull request data and other sources to generate best practices that align agents with a codebase.
“Unblocked looks at pull request data and other data sources, then generates a series of best practices.”
YouTube Unverified1 source· Talk
- feature
Unblocked: Can run as an agent in the cloud with organizational context available.
“Unblocked can run as an agent in the cloud, and ... has all your organizational context at its fingertips.”
YouTube Unverified1 source· Talk
- featureDocument Query Engine: Ingests repository pull requests, synthesizes a schema from sampled documents, and supports queries through agent chat.
“It runs over your GitHub repository, ingests your historical pull requests, and synthesizes a schema.”
YouTube Unverified1 source· Talk
- feature
Engineering Social Graph: Maps review relationships and expertise to show codebase coverage gaps.
“These clusters of people and how they relate to each other indicate their review relationships.”
YouTube Unverified1 source· Talk
- featurecontext engine simulator: Builds context per task and compares results with and without that context.
“It builds up context behind the scenes on a per-task basis ... with and without context.”
YouTube Unverified1 source· Talk
- metric
Unblocked: A customer quote claims 50% fewer tokens, faster triage, and better answers.
“50% fewer tokens, faster triage, better answers.”
YouTube Unverified1 source· Talk








