Update dotnet-microsoft-agent-framework skill for Anthropic agent docs upstream change#26
Merged
KSemenenko merged 2 commits intomainfrom Mar 17, 2026
Merged
Conversation
…nt docs change - Update anthropic-agent.md snapshot: bump date to 03/11/2026, add package version note (Anthropic 12.8.0), update default model to claude-sonnet-4-5 (C#) / claude-sonnet-4-6 (Python), add haiku-3 deprecation note - Update providers.md: add Anthropic to Provider Matrix, Service History, and SDK/Endpoint tables; add anthropic-agent.md to Source Pages - Update SKILL.md: version 1.4.0 -> 1.5.0, add AnthropicClient trigger condition and Decision Cheatsheet row Co-authored-by: KSemenenko <4385716+KSemenenko@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update upstream change for anthropic agent documentation
Update dotnet-microsoft-agent-framework skill for Anthropic agent docs upstream change
Mar 17, 2026
Member
|
@copilot resolve conflicts |
There was a problem hiding this comment.
Pull request overview
Updates the dotnet-microsoft-agent-framework skill’s Anthropic guidance to reflect upstream Microsoft Learn changes tied to the dotnet-1.0.0-rc4 release (docs recency, default models, and provider matrix coverage).
Changes:
- Refreshed the mirrored Anthropic agent documentation (ms.date, default model examples, package/version notes, deprecation note).
- Expanded
providers.mdto include Anthropic (direct) and Anthropic on Azure Foundry across the provider/history/SDK matrices. - Bumped the skill version and updated SKILL trigger/decision guidance to include Anthropic entry points.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| skills/dotnet-microsoft-agent-framework/references/providers.md | Adds Anthropic rows to provider matrices and links the Anthropic agent doc in Source Pages. |
| skills/dotnet-microsoft-agent-framework/references/official-docs/user-guide/agents/agent-types/anthropic-agent.md | Updates the mirrored Anthropic Agent doc (date, model defaults, deprecation note, and package note). |
| skills/dotnet-microsoft-agent-framework/SKILL.md | Version bump and adds Anthropic triggers + decision-cheatsheet row. |
You can also share your feedback on Copilot code review. Take the survey.
| | Azure OpenAI Responses | `AzureOpenAIClient(...).GetOpenAIResponseClient(...).AsAIAgent(...)` | Service-backed or local, depending on mode | New OpenAI-style apps | Preview packages and mode-specific behavior | | ||
| | OpenAI Chat Completions | `OpenAIClient(...).GetChatClient(...).AsAIAgent(...)` | Local or custom store | Straightforward request/response chat | No service-backed history by default | | ||
| | OpenAI Responses | `OpenAIClient(...).GetOpenAIResponseClient(...).AsAIAgent(...)` | Service-backed or local, depending on mode | Long-running or richer response flows | Requires discipline about state mode | | ||
| | Anthropic (Claude) | `new AnthropicClient { APIKey = ... }.AsAIAgent(...)` | Local or custom store | Claude models with function tools, streaming, and hosted tools | Preview package; haiku-3 deprecated; use haiku-4-5, sonnet-4-5, sonnet-4-6, or opus-4-5 | |
Comment on lines
+44
to
+48
| $env:ANTHROPIC_DEPLOYMENT_NAME="claude-sonnet-4-5" # or your preferred model (e.g. claude-opus-4-5, claude-haiku-4-5) | ||
| ``` | ||
|
|
||
| > [!NOTE] | ||
| > `claude-haiku-3` is deprecated. Prefer `claude-haiku-4-5`, `claude-sonnet-4-5`, `claude-sonnet-4-6`, or `claude-opus-4-5` for new workloads. |
| | Azure OpenAI Responses | `AzureOpenAIClient(...).GetOpenAIResponseClient(...).AsAIAgent(...)` | Service-backed or local, depending on mode | New OpenAI-style apps | Preview packages and mode-specific behavior | | ||
| | OpenAI Chat Completions | `OpenAIClient(...).GetChatClient(...).AsAIAgent(...)` | Local or custom store | Straightforward request/response chat | No service-backed history by default | | ||
| | OpenAI Responses | `OpenAIClient(...).GetOpenAIResponseClient(...).AsAIAgent(...)` | Service-backed or local, depending on mode | Long-running or richer response flows | Requires discipline about state mode | | ||
| | Anthropic (Claude) | `new AnthropicClient { APIKey = ... }.AsAIAgent(...)` | Local or custom store | Claude models with function tools, streaming, and hosted tools | Preview package; haiku-3 deprecated; use haiku-4-5, sonnet-4-5, sonnet-4-6, or opus-4-5 | |
Copilot stopped work on behalf of
KSemenenko due to an error
March 17, 2026 21:50
Member
|
@copilot resolve all conflicts |
Copilot stopped work on behalf of
KSemenenko due to an error
March 17, 2026 21:57
Member
|
@copilot Resolve conflicts |
Copilot stopped work on behalf of
KSemenenko due to an error
March 17, 2026 22:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream Microsoft Learn page for Anthropic Agents changed ETag, driven by the
dotnet-1.0.0-rc4release (2026-03-11): Anthropic SDK bumped 12.3.0→12.8.0 (new Claude Sonnet 4.6/Opus 4.6 models, top-level cache control,claude-haiku-3deprecated) and Anthropic.Foundry 0.4.1→0.4.2.references/official-docs/user-guide/agents/agent-types/anthropic-agent.mdms.date→03/11/2026claude-haiku-4-5→claude-sonnet-4-5claude-sonnet-4-5-20250929→claude-sonnet-4-6-20260301claude-haiku-3deprecation warningreferences/providers.mdanthropic-agent.mdto Source PagesSKILL.md1.4.0→1.5.0AnthropicClient/AnthropicFoundryClientto Trigger On conditionsAnthropicClient.AsAIAgent(...)orAnthropicFoundryClient.AsAIAgent(...)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/microsoft/agent-framework/contents/dotnet/docs/user-guide/agents/agent-types/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)learn.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)www.nuget.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.