WhoBuilt

Your agents lack context: Here's how to fix "You're absolutely right!"

Sep 9, 2026· 14 min· 23K views·Watch on YouTube

Speaker

Brandon Waselnuk of Unblocked speaks at AI Engineer about building context engines so AI agents can produce code that fits an organization’s systems and practices.

Why agents need team context

Waselnuk argues that AI-generated code should feel as if it came from someone who has worked on the team for years. Engineers gain that understanding through questions, code reviews, meetings, and production incidents, while a new agent session starts without it. That gap matters especially in established codebases that support real revenue.

How missing context compounds

As teams move from autocomplete toward agents that work with less human oversight, agents need to ask questions and produce code that can be merged safely. Waselnuk describes repeated corrections as wasted search tokens and rework, and parallel agents as adding a review burden. He says finding context gaps early can reduce those costs.

Why files and MCPs can fall short

Curated Markdown files can improve results, but Waselnuk says they are difficult to distribute and keep current across an organization. MCP tools can expose information from other systems, yet an agent may not call the right tool or may stop after finding one answer. For example, it might follow an architecture record and miss a newer Slack discussion that changes what the team should do.

What a context engine should provide

Waselnuk describes a context engine that combines organizational and workflow information, resolves conflicting sources, enforces permissions, and returns relevant context in a token-efficient form. Its retrieval should support both deeper research and quick lookups, such as opening a linked document. In one comparison using the same prompt and model, a task used about 21 million tokens without context and 10.8 million with it; he also reports faster triage and better answer quality.

Open-source tools and broader uses

Waselnuk presents three resources: a GitHub-based social comment network that maps contributors and reviewers, a Repo Rules Agent that finds and indexes repository rule files, and a workshop for building a relational context engine. He notes that RAG alone cannot answer relational questions such as which authentication-related pull requests someone worked on during the past week. He also describes customer success teams solving tickets and salespeople querying company context while in the field.

Takeaways

  • Give agents access to team practices, decisions, and operational history before asking them to change a mature codebase.
  • Treat repeated agent corrections as a sign that needed context may be missing.
  • Keep project guidance current and distributed so agents can find the same rules across a team.
  • Combine document retrieval with structured queries for questions about people, work, and relationships.
  • Enforce permissions and resolve conflicting sources before returning context to an agent.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks