Waldek Mastykarz (@waldekm)

Waldek Mastykarz @waldekm 2026-11-29T09:15:11.000Z

The label that ships with our SharePoint Framework skill names the exact agent versions we measured: Copilot Chat 0.73.0 and Claude Code 2.1.322. Once your agent updates past them, the scores may have changed, even though nobody touched the skill. A blog post describes a release on the day you publish it. On the other hand, the label lives next to the skill and describes that one version, with a digest of the skill's content, so a tool can tell when the label no longer matches what you installed. https://blog.mastykarz.nl/agent-skill-nutritional-label/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-14-label-names-the-agent

0 0 84 2 0
Waldek Mastykarz @waldekm 2026-11-28T18:20:05.000Z

We check the error handling a coding agent added in four ways, and each one misses something: - Read the diff: you see whether the code looks right, but not how it behaves against the API's real responses - Run the agent's tests: the branches it wrote run, but only against what its stub modeled - Call the real API until it fails: you get real behavior, but you can't trigger the failures you need, and you spend real quota - Run the app on its real URLs with simulated failures: you see the app, its SDK and its retry policy work together. Keep the agent's unit tests for the code on its own https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/concepts/verify-agent-written-error-handling?WT.mc_id=devproxy-x-2026-11-23-11-four-ways-to-check

8 0 501 5 0
Waldek Mastykarz @waldekm 2026-11-28T13:30:20.000Z

Agent memory and second-brain repos keep what your coding agent learns for you alone. Tell it "we stopped using Moment.js, use date-fns", and the fix lands in your code and your notes, while your teammate's agent suggests Moment.js again tomorrow. Treat a correction like that as a signal for the team. Let the agent propose the smallest change to your shared guidance, like AGENTS.md or your docs, and have the team that owns the decision review it like a pull request. Anyone's agent can suggest the change, and only the owners merge it. https://blog.mastykarz.nl/your-agents-should-learn-for-the-organization/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-13-correction-stays-in-the-chat

42 0 1288 24 1
Lucas Faria @onelucasfaria 2026-11-26T23:18:44.000Z

we're seeing this pattern on @posthog where more and more people are using our app via the MCP. however, as most saas, we learn a lot about our users by seeing session replay (via replay vision™) and also seeing how they use our app! but, when they just skip the UI and go straight to the system (via MCP), traditional (let's say 2010s analytics) doesn't work. so, because more people are using the MCP, we decided to build MCP analytics! a way for us so see how users are interacting with it from their agents. we are now able to: - see what intent they have when making tool calls - build out sessions so we can understand if users were successfully able to achieve their goal - track similar sessions to see what common patterns are emerging - and shipping PRs and changes based on that this space is so new, and we're learning so much on building it. but, after productizing it, we're seeing even more customers get value from this (our first success story is gonna be published soon!). we're now tracking ~100 million monthly tool calls across the 2k orgs using it (not counting us), and it's been growing well.

1782 58 141607 115 48
Lucas Faria @onelucasfaria 2026-11-28T12:11:22.000Z

@waldekm @tombielecki @coka_stefan @posthog https://x.com/onelucasfaria/status/2126501677343625398?a=LijJITAThem9zM--dAE&s=46

@onelucasfaria

it’s a trade off really. for now, we’re learning a lot and it doesn’t really cost much. most sessions have 5 or fewer tool calls, with the context parameter costing around 40 tokens. so around 200 each - which of course the user is paying for on this case. but because we have this, we’re able to iterate much faster too! we’re constantly trying to improve this. have you been using something else?

1 0 24 1 0
Waldek Mastykarz @waldekm 2026-11-28T12:24:06.000Z

@onelucasfaria @tombielecki @coka_stefan @posthog I get it’s not much relatively speaking, still it feels odd for users to pay for sending their usage data. It would be great if there was a better way to do this. Perhaps something for the next iteration of the MCP standard.

1 0 42 1 0
Waldek Mastykarz @waldekm 2026-11-28T09:15:03.000Z

You can test prompt injection through tool results with a harmless canary word. After you plant one in a tool response, check four things in your agent's run: - Did the canary show up in the answer? - Did the agent call a tool the task didn't need? - Did it ask before a sensitive action? - Did your output validation catch anything? Test only agents you own, with test accounts and test data. https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/concepts/test-ai-agent-prompt-injection-tool-responses?WT.mc_id=devproxy-x-2026-11-23-10-four-checks-after-the-canary

9 0 522 8 0
Waldek Mastykarz @waldekm 2026-11-27T19:50:01.000Z

Agents upgrading our SharePoint Framework projects did work our eval didn't check for. Some of it was what developers expect after an upgrade, and some was change the upgrade didn't need. Telling the two apart took someone who knows SPFx and the people who use it. So I wouldn't let an agent rewrite your eval's checks from its own trajectories, the record of every step it took in each run. You'd end up adjusting what you expect to match whatever the agent happens to do. When the agent does extra work, decide whether your developers want it. If they do, add it to your checks. If they don't, remove the instruction that caused it. https://blog.mastykarz.nl/eval-rubric-problem/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-12-extra-work-in-your-checks

0 0 205 4 0
Waldek Mastykarz @waldekm 2026-11-27T18:10:08.000Z

When we evaluate a skill, we score what it produced and what it cost to get there separately. Two brainstorming sessions can pass the same checks, one in five turns and one in fifteen, and every extra turn means more tokens and more waiting. Then we run the same scenarios without the skill. If the agent on its own reaches the same result at half the cost, the skill adds nothing in that scenario, even though it passes every check. https://blog.mastykarz.nl/evaluate-agent-skill-without-right-answer/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-11-score-and-cost-separately

2 0 147 1 0
Waldek Mastykarz @waldekm 2026-11-27T16:50:02.000Z

Prompt caching only kicks in when the start of the prompt matches an earlier request token for token. A request ID near the top of your system prompt, or tools listed in a different order on each call, makes every request pay full price, while your code looks fine. Dev Proxy shows it from outside your app. Give its OpenAITelemetryPlugin a prices file with a cached_input price, and each request's cost shows how many input tokens came from the cache. If that stays near zero while your prompts barely change, look at what changes at the top. https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/openaitelemetryplugin?WT.mc_id=devproxy-x-2026-11-23-09-cache-misses

10 1 551 3 0
Waldek Mastykarz @waldekm 2026-11-27T15:40:08.000Z

Updating our SharePoint Framework skill made GPT-6.1 Terra better at upgrading a project, and a lot more expensive. With the previous version, it scored 93% at $0.074 per run. With the new one, it scored 98% at $0.226. For a developer upgrading a few projects, 15 cents more per upgrade isn't an issue. But across every project in a large organization, it's something you'd likely consider. Release notes don't show that difference. The label we ship with the skill shows it for each of the seven setups we ran. https://blog.mastykarz.nl/agent-skill-nutritional-label/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-10-update-tradeoff

1 0 244 2 0
Waldek Mastykarz @waldekm 2026-11-27T10:50:00.000Z

Before you ship error handling a coding agent wrote, run the app until the retries run out and look at the screen. The user should see a clear message and still have what they typed, without a stack trace or a spinner that never stops. Dev Proxy's GenericRandomErrorPlugin returns the errors you define on the app's real URLs, and with the failure rate at 100, every request fails. https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/concepts/verify-agent-written-error-handling?WT.mc_id=devproxy-x-2026-11-23-08-when-retries-run-out

3 0 299 3 0
Waldek Mastykarz @waldekm 2026-11-27T08:40:01.000Z

When our SharePoint Framework skill's cost per run nearly doubled with no change in its success rate, these steps kept us from reverting a useful update: - Compare the success rate and the cost together, against the previous version and against what you expected - Look at the surprises first: when either number moves without an obvious reason, read the agent's trajectory, the record of every step it took - Spot-check a few ordinary runs, even when everything looks fine - When the agent did something you didn't expect, decide whether the agent wasted effort or did work your checks don't measure - Change the skill, the checks or both, and run the eval again https://blog.mastykarz.nl/eval-rubric-problem/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-08-review-eval-results

2 0 293 1 0
Waldek Mastykarz @waldekm 2026-11-27T07:10:03.000Z

When a tool your AI agent calls fails, the model only knows what your code tells it. Swallow the error, and the model answers as if the tool succeeded. MCP reports a failed call inside the tool result with isError: true, so you can say what failed and whether retrying makes sense. To see what your agent does with that, start your MCP server through devproxy stdio with a mock that answers every tools/call request with "Failed to fetch weather data: API rate limit exceeded" and isError: true. https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/concepts/test-ai-agent-tool-failures?WT.mc_id=devproxy-x-2026-11-23-07-tell-the-model-it-failed

6 0 367 9 0
Waldek Mastykarz @waldekm 2026-11-26T19:50:01.000Z

With our SharePoint Framework skill installed in Copilot Chat, Copilot Fusion passed every check on a project upgrade for $0.017 a run. Claude Opus 5.5 passed every check too, for $0.815. Fusion picks a model for each request, so its result reflects the routing it did in our runs, not one model. 80 cents won't matter for one upgrade. Across every project in an organization however, it adds up, and for this task the most capable model wasn't the one you needed. The result holds for this task only, which is why the label we ship with the skill names the task and the seven setups it covers. https://blog.mastykarz.nl/agent-skill-nutritional-label/?utm_source=x&utm_medium=organic-social&utm_campaign=blog&utm_content=2026-11-23-07-cheapest-perfect-score

5 1 435 3 0