Maturity Matrix

BYOC: org PUSHES context to the agent

At L4, organizations flip the context model - instead of agents pulling context on demand, the org pre-assembles and pushes a rich context package to agents at task start, eliminating discovery latency and ensuring consistency.

  • ·Organization pushes context to agents automatically (BYOC - Bring Your Own Context)
  • ·Knowledge graph (Graph Buddy, CodeTale, or equivalent) is integrated with agent context pipeline
  • ·Ticket-to-spec automation generates acceptance tests from requirements without manual writing
  • ·Context push triggers on repository events (commit, PR, deploy) without manual refresh
  • ·Knowledge graph covers 80%+ of active repositories

Evidence

  • ·BYOC pipeline configuration showing automated context push triggers
  • ·Knowledge graph dashboard showing repository coverage percentage
  • ·Sample ticket-to-spec outputs with auto-generated acceptance tests

What It Is

At L3, context is pull-based: the agent discovers what it needs by querying MCP servers and reading files as it encounters them during task execution. This works, but it has a fundamental inefficiency - the agent spends early steps of every task assembling context that could have been provided upfront. Discovery-based context also introduces inconsistency: two agents working on similar tasks might retrieve different context depending on what they happen to query.

Bring Your Own Context (BYOC) inverts this model. Rather than the agent pulling context lazily, the organization actively pushes a pre-assembled context package to the agent when a task starts. Before the agent writes a single line of code, it receives: the current sprint goal and relevant tickets, the ownership graph for the services involved, recent architecture decisions that apply to this area, the current operational state of dependent services, any in-progress work in related areas, and the specific conventions that apply to this module.

This context package is assembled programmatically - not by a human writing a prompt, but by an automated pipeline that queries the organization's context sources (MCP servers, service registry, sprint planning tools, git history) and produces a structured, budget-respecting context bundle tailored to the specific task.

At L4 (Optimized), BYOC is part of the task dispatch infrastructure. When an agent is assigned a task (from a Jira ticket, a developer command, or an automated trigger), the context assembly pipeline runs first, producing the context package. The agent receives both the task and the context, fully loaded, and can begin reasoning about the solution immediately rather than spending its first steps on discovery.

Why It Matters

BYOC addresses several limitations of pull-based context at scale:

  • Eliminates discovery overhead - agents skip the context-gathering phase entirely and start working on the actual task immediately
  • Ensures context consistency - all agents working on similar tasks receive the same organizational context, eliminating variance from different discovery paths
  • Enables better context budgeting - the assembly pipeline can enforce budget constraints and prioritize context types before the agent session starts, rather than letting the agent's ad-hoc discovery fill the context window
  • Reduces agent error rates - agents that start with complete, relevant context make fewer wrong assumptions in early steps that then propagate through the rest of the task
  • Scales to agent fleets - when running hundreds of concurrent agent tasks, manual context assembly is not possible; BYOC makes automated, consistent context delivery achievable

The analogy is a surgical team: a well-organized operating room has all required instruments prepared and laid out before the surgeon arrives. The surgeon doesn't discover what they need during the procedure; it's pre-assembled by a team that knows what the operation requires. BYOC does the same for AI agents.

Tip

Start building your BYOC pipeline by automating the context Victor currently assembles manually. If he spends 20 minutes before each session pulling together context from 5 sources, that's a 5-source BYOC pipeline waiting to be built.

Getting Started

  1. Catalog your agent task types - Identify the 3-5 most common agent task categories in your workflow (e.g., implement a Jira ticket, fix a failing test, refactor a module, investigate an incident). Each task type will have a characteristic context profile.
  2. Map context needs per task type - For each task type, determine which context sources are always needed, which are usually needed, and which are rarely needed. This is your context assembly specification.
  3. Build the assembly pipeline - Write a pipeline that takes a task identifier (ticket ID, module name, etc.) and queries the appropriate context sources (MCP servers, git history, service registry, sprint data) to assemble a context package.
  4. Implement context budget enforcement - The assembly pipeline should produce a context package that fits within your target token budget. Implement prioritized truncation: if the budget is exceeded, drop lower-priority context before higher-priority context.
  5. Inject the context package at session start - Configure your agent orchestration to prepend the context package to every agent session for that task type. The agent should receive the context as part of its initial prompt, not as files it discovers later.
  6. Measure and iterate - Compare agent task success rates and iteration counts before and after BYOC. The expected improvement is fewer iterations to success (lower ITS metric) and higher first-attempt success rates.

Common Pitfalls

Building a monolithic context package that's too large. If your BYOC pipeline assembles everything potentially relevant and dumps it into the context window, you've recreated the "more is better" fallacy in automated form. The assembly pipeline must be selective - include what's needed for this task type, not everything that might conceivably be relevant.

Not updating the assembly pipeline when context sources change. If your organization adds a new service registry, changes the format of sprint planning data, or decommissions an MCP server, the BYOC pipeline needs to be updated. Treat the pipeline as production infrastructure with monitoring and ownership.

Ignoring staleness at the assembly layer. A BYOC pipeline that assembles context once at task start and doesn't refresh it for long-running tasks will give agents stale operational context as the task progresses. Build in refresh hooks for operational context (deployment status, incident state) that updates the agent's context during execution.

Skipping the pull-based (L3) foundation. BYOC is efficient because it automates what pull-based context discovery does manually. If you haven't built the MCP servers and context sources at L3, there's nothing for the assembly pipeline to query. BYOC is an optimization of L3 infrastructure, not a replacement for it.

How Different Roles See It

B
BobHead of Engineering

Bob's team has MCP servers providing organizational context (service ownership, deployment status, sprint data) and developers are getting good results at L3. But he notices that agent sessions still have a significant "warmup" phase - the first few exchanges in every session are the agent asking clarifying questions about the project context. This warmup is eating into the time savings that agents are supposed to provide.

What Bob should do: Bob should sponsor the development of a task-type-aware context assembly pipeline. The target: when a developer assigns a Jira ticket to an agent, the pipeline automatically assembles a context package for that ticket type and injects it at session start. The success metric is eliminating the warmup phase: agents should start producing actionable suggestions in the first exchange, not the third or fourth. Bob should prioritize the 2-3 most common ticket types first - the ones where the warmup overhead is most expensive - and measure the before/after.

S
SarahProductivity Lead

Sarah has been tracking ITS (Iterations-to-Success) across agent workflows and sees high variance. Some tasks complete in 2-3 iterations; others take 8-10. When she investigates the high-iteration cases, the pattern is almost always the same: the agent spent several early iterations establishing context before it could start working effectively. The context assembly was manual and inconsistent.

What Sarah should do: Sarah should present BYOC as an ITS reduction initiative. If she can show that 40% of agent iterations are "context establishment" rather than "task execution," and that automated context assembly could eliminate most of those, she has a clear ROI calculation: ITS reduction times average iteration cost = direct productivity gain. She should work with engineering to build a proof of concept on the highest-volume agent task type, measure the ITS improvement, and use that to fund the full BYOC pipeline build-out.

V
VictorStaff Engineer - AI Champion

Victor has been manually building context packages for his agent sessions for months. He has a personal checklist: check the sprint board for related work, pull the current service ownership from the registry, look up recent ADRs for the relevant area, check deployment status. He does this before every session and it works well - but it takes 20 minutes each time and he never misses a step because he built the checklist.

What Victor should do: Victor's checklist is the specification for a BYOC pipeline. He should spend two days building an automated version: a script that takes a Jira ticket ID, queries the relevant sources (sprint board, service registry, ADR repository, deployment dashboard), assembles the context into a structured prompt prefix, and outputs it ready to inject into an agent session. Once it works for his own workflow, he should propose it as shared infrastructure. The test: does his automated context package produce the same quality results as his manual 20-minute preparation? If yes, the ROI is his 20 minutes per session, multiplied by every developer on the team.

Where does your team actually sit on this?

This guide describes one level of one area. Run the assessment to place your team across all 16 areas, see which gates you have passed, and get a report you can take to your stakeholders.

Start the assessment