# How to test agent experience changes without shipping them

DevFeed: [How to test agent experience changes without shipping them](<https://devfeed.tech/articles/how-to-test-agent-experience-changes-without-shipping-them-23830.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/blog/how-to-test-agent-experience-changes-without-shipping-them/>)

Author: Waldek Mastykarz, Garry Trinder

Published: 2026-07-21T07:15:12Z

Content type: article

Language: en

Sources: [Developer Blogs](<https://devfeed.tech/sources/developer-blogs.md>)

Topics: [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>), [agent observability](<https://devfeed.tech/topics/agent-observability.md>), [mock api](<https://devfeed.tech/topics/mock-api.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-experience](<https://devfeed.tech/tags/agent-experience.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [ax](<https://devfeed.tech/tags/ax.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [can](<https://devfeed.tech/tags/can.md>), [changes](<https://devfeed.tech/tags/changes.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [experience](<https://devfeed.tech/tags/experience.md>), [first](<https://devfeed.tech/tags/first.md>), [learn](<https://devfeed.tech/tags/learn.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [production](<https://devfeed.tech/tags/production.md>), [project](<https://devfeed.tech/tags/project.md>), [server](<https://devfeed.tech/tags/server.md>), [shipping](<https://devfeed.tech/tags/shipping.md>), [test](<https://devfeed.tech/tags/test.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [works](<https://devfeed.tech/tags/works.md>)

## AI overview

In an SPFx upgrade scenario, documentation tips recommending a CLI were ignored across runs, while a warning that the agent's existing approach would cause build failures led it to use the CLI in all five runs. Other tests found that removing a competing migration guide reduced dependency accuracy from 34/50 to 18/50; structured JSON improved configuration correctness from 72/85 to 85/85, while JSONL cost 2.6 times more tokens and performed worse across dimensions; PowerShell examples harmed idiomatic code quality, and an explicit script was not executed in any of ten runs. The post recommends testing such hypotheses before shipping by intercepting agent requests and returning modified responses locally. It used Dev Proxy to emulate Microsoft Learn page changes and says the same approach can test MCP response formats. The described benefit is faster iteration--minutes rather than days--so teams can measure many hypotheses and ship changes that improve results.

## Source excerpt

Most changes you think will improve AI agent behavior won't. We tested a dozen hypotheses on a real project upgrade scenario and the majority failed. Learn how to emulate documentation, API, and MCP server changes locally so you can validate what works before shipping anything to production. The post How to test agent experience changes without shipping them appeared first on Microsoft for Developers.