<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp" -->

---
title: Mergeable by default: Building the context engine to...
description: Agents can generate code. The hard part is generating code that's right for your system, team conventions, and past decisions. That's a context problem that...
canonical: https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked | daily.dev
og:description: Agents can generate code. The hard part is generating code that's right for your system, team conventions, and past decisions. That's a context problem that...
og:url: https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp
og:image: https://api.daily.dev/og/posts/pMHqjSUZP.png
og:image:alt: Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked

**[AI Engineer](https://daily.dev/sources/aidotengineer)** · 101 min read · 0 upvotes · 0 comments

## Summary

Agents can generate code. The hard part is generating code that's right for your system, team conventions, and past decisions. That's a context problem that naive RAG, MCP servers, and bigger context windows don't solve. Without the right context, that code costs you twice: once in tokens, again in long review cycles.

This session is a practitioner's guide to building a context engine: the reasoning layer that brings together your organizational context and delivers only what the agent needs for the task at hand. I'll walk through the challenges that matter: reasoning across conflicting sources, maintaining permissions, and personalizing results based on who's asking and what they're working on. Along the way, we'll go deep on specific components with live demos and technical breakdowns.

Drawn from real lessons building this in production, including what we got wrong.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=5ID22ACI7IM>

---

Tags: [#ai](https://daily.dev/tags/ai), [#ai-engineering](https://daily.dev/tags/ai-engineering)

[View this post on daily.dev](https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked","url":"https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp"},"datePublished":"2026-05-03T16:28:09.992Z","dateModified":"2026-05-03T18:44:59.769Z","description":"Agents can generate code. The hard part is generating code that's right for your system, team conventions, and past decisions. That's a context problem that...","image":"https://i.ytimg.com/vi/5ID22ACI7IM/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/5ID22ACI7IM/sddefault.jpg","isAccessibleForFree":true,"articleSection":"AI Engineer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AI Engineer","logo":"https://media.daily.dev/image/upload/s--u5PucxNT--/f_auto/v1724338940/logos/aidotengineer","url":"https://daily.dev/sources/aidotengineer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/mergeable-by-default-building-the-context-engine-to-save-time-and-tokens-peter-werry-unblocked-pmhqjsuzp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,ai-engineering","timeRequired":"PT101M","video":{"@type":"VideoObject","name":"Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked","description":"Agents can generate code. The hard part is generating code that's right for your system, team conventions, and past decisions. That's a context problem that...","thumbnailUrl":"https://i.ytimg.com/vi/5ID22ACI7IM/sddefault.jpg","uploadDate":"2026-05-03T16:28:09.992Z","duration":"PT101M","url":"https://api.daily.dev/r/pMHqjSUZP","embedUrl":"https://www.youtube.com/embed/5ID22ACI7IM"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AI Engineer","item":"https://daily.dev/sources/aidotengineer"},{"@type":"ListItem","position":3,"name":"Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked"}]}
```

