Beyond RAG: Unblocked's Peter Werry Builds a Relational Context Engine Over GitHub Data
Peter Werry of Unblocked presented a workshop arguing that similarity search (RAG) is only half of retrieval for engineering context. He demonstrates turning natural language into validated database queries over structured engineering data — pull requests, review comments, tickets, wikis, and chat — via six stacked pull requests building a working engine over a GitHub repository.
- Peter Werry argues similarity search is only half of retrieval; his engine turns natural language into database queries over structured engineering context.
- Schema discovery samples 300 documents and merges them into one tree, with procedural code — not a model — inferring types and enums.
- Identity resolution maps names like 'Peter' to GitHub logins via fuzzy matching; query planning forces a name extraction tool call and injects the current date.
- Validation is deny by default: operator allow lists block server-side JavaScript execution, and hidden metadata fields are wiped and reinjected for tenant isolation.
- A retry loop feeds validation and execution errors back to the model, exposing the need for full text search when exact match fails.
- The same engine powers a chat agent; Q&A covers schema scaling via summaries, continuous ingestion, Slack holding 'why' questions, MCP, and hybrid search.
Related
Unblocked's Relational Context Engine Cuts Agent Token Burn and Traces Regressions Beyond RAG
Peter Werry, founding engineer at Unblocked, gave a talk at AI Engineer World's Fair 2026 arguing that vector search can't answer structural questions like 'which PRs did I merge last week?' He demoed Claude agent sessions where Unblocked's relational context engine — pulling in PRs, Slack threads, and incident history — cut cost by about 50% and traced a regression to a model switch, and walked through the company's open-source document query engine.
Peter Werry, founding engineer at Unblocked, gave a talk at AI Engineer World's Fair 2026 arguing that vector search can't answer structural questions like 'which PRs did I merge last week?' He demoed Claude agent sessions where Unblocked's relational context engine — pulling in PRs, Slack threads, and incident history — cut cost by about 50% and traced a regression to a model switch, and walked through the company's open-source document query engine.
Peter Werry (Unblocked) argues code agents mistake search results for codebase understanding
In a YouTube talk, Unblocked's Peter Werry describes how coding agents fail on real codebases: they search, find one plausible answer, and stop — a failure mode he likens to radiologists' 'satisfaction of search.' He argues access to information is not understanding and frames context engines as the fix, replacing the human role of carrying tribal knowledge.
In a YouTube talk, Unblocked's Peter Werry describes how coding agents fail on real codebases: they search, find one plausible answer, and stop — a failure mode he likens to radiologists' 'satisfaction of search.' He argues access to information is not understanding and frames context engines as the fix, replacing the human role of carrying tribal knowledge.
Guide: Fine-tuning Mistral 7B with QLoRA saves $300k
A practitioner shares an end-to-end guide to fine-tuning LLMs, reporting that a LoRA/QLoRA adapter on Mistral 7B outperformed a costly foundational model and saved $300k. The guide covers the mathematics behind LoRA/QLoRA and demonstrates feasibility on consumer GPUs, including a Colab T4.
A practitioner shares an end-to-end guide to fine-tuning LLMs, reporting that a LoRA/QLoRA adapter on Mistral 7B outperformed a costly foundational model and saved $300k. The guide covers the mathematics behind LoRA/QLoRA and demonstrates feasibility on consumer GPUs, including a Colab T4.
The Secret Sauce: Context Packing and Prompt Construction (Part 4)
This is the fourth part of a series on building scalable AI systems. The previous part covered building a disk-persistent vector search engine using FAISS. This installment likely continues with context packing and prompt construction techniques.
This is the fourth part of a series on building scalable AI systems. The previous part covered building a disk-persistent vector search engine using FAISS. This installment likely continues with context packing and prompt construction techniques.
Graph-context RAG for AI agents using HydraDB
A tutorial and approach that augments vector retrieval with graph context to help AI agents understand company relationships, such as linking design docs to postmortems and Slack threads. It solves the problem of agents needing to infer connections between disparate text chunks, improving answers to complex questions like 'what breaks if we deprecate the v1 API?'.
A tutorial and approach that augments vector retrieval with graph context to help AI agents understand company relationships, such as linking design docs to postmortems and Slack threads. It solves the problem of agents needing to infer connections between disparate text chunks, improving answers to complex questions like 'what breaks if we deprecate the v1 API?'.




