Building your own agent infrastructure can be worth it, but launch day is the cheap part. Once agents are in production, the protocols, model endpoints and hosted tools underneath them change on other people's calendars, and your team pays for each change in engineer-days.
In 2026 that stopped being hypothetical: the MCP specification removed protocol-level sessions, and OpenAI scheduled three platform surfaces for shutdown on November 30.
This article gives you a notice-window test and a short script, so you can price that upkeep with your own numbers before you commit to a build.
Does Building Your Own Agent Infrastructure Pay Off After Launch Day?
Most teams that build own agent infrastructure price the first release carefully and the second one not at all.
Launch day buys you an orchestrator, a tool layer and a few model integrations. It does not buy you control over what those parts depend on.
Every dependency has an owner with its own release calendar, and when that calendar moves, your in-house agent platform moves with it or breaks.
That recurring work is agent infrastructure upkeep, and it decides whether building stays cheaper than buying.
| Quick check: Is the cost of building mostly the first release? No. The first release is paid once, while agent infrastructure maintenance repeats every time a protocol, model or hosted tool changes. |
Which Outside Changes Force Rework on a Home-Built Agent Stack?
Two kinds of change keep showing up: protocol revisions and platform retirements.
Both arrive with a date, which makes them plannable, and both sit outside your release calendar, which makes them expensive when your estimate ignores them.
That is why this article treats upkeep as a schedule problem instead of a cost estimate. A schedule has dates, owners and capacity, and you can check all three against the calendar. A cost estimate usually has a single number and an optimistic assumption behind it.
Protocol Changes in MCP
MCP 2026-07-28 shipped on July 28, 2026 with a stateless core. The initialize handshake and the protocol session ID are gone, and each request now carries its own version and capabilities. Servers built around session IDs have to restructure how they hold state.
The same release added a formal deprecation policy with a twelve-month minimum window, so future removals should give you more warning than this one did. The release candidate froze on May 21, which left roughly ten weeks before the final specification.
Model and API Retirements
OpenAI announced on June 3, 2026 that the Evals platform, Agent Builder and the v1/prompts API would be retired.
Existing evals become read-only on October 31, and the Evals dashboard and API, along with prompt objects, are scheduled to shut down on November 30, 2026.
If your stack stores prompts or eval runs there, the work is exporting them into your own repository, rebuilding the checks and re-running them, not flipping a setting. Vendor deprecation pages are the source of truth, so put them on your calendar.
| Change | What breaks | Who owns the fix |
|---|---|---|
| MCP sessions removed | Session-ID state handling | Server team |
| Evals read-only, then shutdown | Stored eval runs and graders | Platform team |
| v1/prompts shutdown | Prompt IDs referenced in code | Application team |
| Quick check: Are these one-off events? Treat them as a pattern. All of them came with dates, and dated changes are the ones you can budget for. |
Is Your Notice Window Longer Than Your Rebuild Time?
The notice-window test compares two numbers for each change. The window is the number of days between the notice and the deadline.
Multiply it by the share of an engineer's time you can really spend on migration, and you get your capacity. The need is rebuild days plus test days. If capacity is below need, the change lands late however well the team works.
For build vs buy AI agents, this is the fairest comparison, because the same changes hit both options and the question is who carries the rebuild days. Run the test for every dependency, not only the loud ones.
| Quick check: What if the window is long but nobody has time? The focus factor already counts that. A 150-day window at 25% focus is 37.5 days of capacity. |
How Do You Estimate Upkeep Before You Commit?
Save the script below as upkeep_clock.py and run it with Python 3. The dates come from the notices, and the rebuild days, rates and fee are sample inputs, so replace them with your own before you trust the output.
from datetime import date
# SAMPLE INPUTS: replace the rebuild/test estimates and rates with your own numbers.
FOCUS = 0.25 # share of one engineer's time you can give to migrations
EVENTS = [
# name, notice given, deadline, your rebuild days, your test days
("MCP spec: sessions removed (RC to final)", date(2026, 5, 21), date(2026, 7, 28), 25, 5),
("Evals platform goes read-only", date(2026, 6, 3), date(2026, 10, 31), 15, 3),
("Prompts API shutdown", date(2026, 6, 3), date(2026, 11, 30), 8, 2),
]
print("Notice-window test (focus factor %.2f)" % FOCUS)
for name, notice, deadline, rebuild, test in EVENTS:
window = (deadline - notice).days
capacity = window * FOCUS
need = rebuild + test
verdict = "PASS" if capacity >= need else "FAIL"
print(f"{verdict} {name}: window {window}d, capacity {capacity:.1f}d, need {need}d")
fee = 30000 # yearly cost of the managed option (sample)
avg_days = 14 # average rebuild + test days per forced change (sample)
day_cost = 600 # loaded cost of one engineer-day (sample)
breakeven = fee / (avg_days * day_cost)
print(f"Break-even: {breakeven:.1f} forced changes per year")
Output with the sample inputs:
Notice-window test (focus factor 0.25)
FAIL MCP spec: sessions removed (RC to final): window 68d, capacity 17.0d, need 30d
PASS Evals platform goes read-only: window 150d, capacity 37.5d, need 18d
PASS Prompts API shutdown: window 180d, capacity 45.0d, need 10d
Break-even: 3.6 forced changes per year
With these sample inputs, the MCP change fails: a 68-day window at 25% focus gives 17 days of capacity against 30 needed.
The two OpenAI changes pass. The break-even line says a managed option priced at the sample fee pays for itself at about 3.6 forced changes a year.
Treat both results as artifacts of the placeholders. The useful part is the structure: dates come from the notices, and everything else comes from your own history.
| Quick check: Are the sample numbers benchmarks? No. They are placeholders, so use your own rebuild estimates and your own engineer-day cost. |
When Does a Managed Orchestration Layer Absorb This Work?
A managed layer absorbs this work only if the vendor commits to a change policy you can read. If you are weighing build vs buy for agentic workflow infrastructure, a multi-agent orchestration platform is one example you can measure against the test above.
Ask how much notice it gives, who migrates your agents, and what stays your job. If those answers fit inside your windows, buying removes upkeep. If they do not, building keeps you in control, and the table above becomes your checklist.
What Should Be Written Down Before the First Deprecation Notice Arrives?
Write down three things now, while nothing is on fire.
First, a dependency register: every protocol version, model endpoint, hosted tool and SDK your agents touch, with an owner and the place where its deprecation notices appear.
Second, your real focus factor, measured from the last migration rather than guessed, because it is the number the notice-window test is most sensitive to.
Third, a rebuild estimate per dependency, kept next to the code so it gets updated when the code changes. When a notice arrives, you then need only a date and a subtraction.
Teams that skip this step still pay the upkeep; they simply pay it as an interruption, during a sprint meant for something else, and they find out the window was too short when it is too late to change anything.





Top comments (1)
The notice-window test is a clean way to surface hidden coupling before a deprecation hits. With MCP 2026-07-28 dropping protocol-level session IDs, the painful rebuilds usually happen when teams bind durable agent state (approval gates, tool retry cursors, or handoff checkpoints) directly to transport session lifetimes instead of an explicit application-level run or thread ID. Keeping transport adapters stateless and tracking an owner + deprecation feed per dependency keeps protocol shifts closer to a thin shim swap than a core rewrite.