Microsoft Agent Framework is a multi-language framework for building, coordinating, and running AI agents and workflows in Python and .NET. Teams use it for agent systems that need orchestration, collaboration, durability, observability, governance, or human involvement beyond a single prompt or chat loop. Catalogue add-ons provide skills and instructions for working with the framework.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add microsoft/agent-framework --skill agent-framework-builder-dotnetgit clone --depth 1 https://github.com/microsoft/agent-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/agent-framework/agent-framework-builder-dotnet)<a href="https://agentmods.dev/skills/microsoft/agent-framework/agent-framework-builder-dotnet"><img src="https://agentmods.dev/badge/skills/microsoft/agent-framework/agent-framework-builder-dotnet/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/microsoft/agent-framework/agent-framework-builder-dotnet"><img src="https://agentmods.dev/badge/skills/microsoft/agent-framework/agent-framework-builder-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.01785 |
| Opus 5.5 | $0.00033 | $0.00714 |
| Sonnet 5.5 | $0.00016 | $0.00357 |
| Haiku 4.5 | $0.00008 | $0.00178 |
Grade A, and why
agent-framework-builder-dotnet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Framework builder for .NET
Use this skill as the entry point for .NET Agent Framework application work. Choose the smallest framework pattern that preserves the required behavior, load only the relevant references, and validate against current APIs instead of relying on remembered preview-era syntax.
Workflow
- Inspect the existing solution: target frameworks, SDK version, package management (central package management or
per-project), and installed
Microsoft.Agents.AI.*packages and versions. - Choose the simplest matching path from the table below.
- Resolve design questions only when they materially change the implementation.
- Read only the linked reference for the selected path.
- Implement the smallest coherent change and run the narrowest validation that exercises it.
Core abstractions
- A chat client is a
Microsoft.Extensions.AI.IChatClient. It sends messages and options to a model provider and returns chat responses or streaming updates. Agent Framework builds onMicrosoft.Extensions.AItypes such asChatMessage,AIFunction, andChatOptionsinstead of redefining them. - An agent derives from
AIAgentand exposesRunAsync(...)andRunStreamingAsync(...).ChatClientAgentis the standard implementation: it wraps anIChatClientwith instructions, tools, context providers, a chat history provider, and session handling. Provider packages usually create one through anAsAIAgent(...)extension method. - A harness agent is a
HarnessAgentfromMicrosoft.Agents.AI.Harness. It wraps aChatClientAgentwith an opinionated set of context providers and agent decorators; it is still anAIAgent. - A workflow (
Microsoft.Agents.AI.Workflows) coordinates explicit execution paths between executors and agents.AgentWorkflowBuilderprovides standard sequential, concurrent, handoff, group-chat, and Magentic patterns overAIAgentparticipants. A workflow can be exposed as anAIAgentwhen callers need the agent contract.
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/agent-builder.md 10 KB
- references/declarative.md 2.5 KB
- references/evaluation.md 2.1 KB
- references/extensibility.md 11 KB
- references/harness-agent-builder.md 4.6 KB
- references/hosting-and-deployment.md 4.6 KB
- references/integrations.md 3.7 KB
- references/observability.md 2.1 KB
- references/workflow-builder.md 4.1 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 115 lines · 82 tokens per session scan A f4b5279eee44
agent-framework-builder-dotnet is a skill published in the GitHub repository microsoft/agent-framework (14,305 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 1,785 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.
Other skills, from other repositories
vigilante-issue-implementation-on-dotnet
Implement a GitHub issue end-to-end when Vigilante dispatches work for a .NET/C# repository with analyzer, test, and security guidance.
swarmclaw
AI agent runtime and multi-agent orchestration platform. Teaches agents how to use SwarmClaw's 6 primitive tools, persistent memory, dreaming, delegation, connectors, credentials, and the skill system. Use when an agent is running on SwarmClaw and needs to understand the platform's capabilities.
sparc-methodology
SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration.
agent-collaboration
Use this skill when coordinating multiple AI agents. Covers multi-agent patterns, handoffs, and orchestration strategies.
sparc-methodology
SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration.
azure-ai-openai-dotnet
Azure OpenAI SDK for .NET. Client library for Azure OpenAI and OpenAI services. Use for chat completions, embeddings, image generation, audio transcription, and assistants. Triggers: "Azure OpenAI", "AzureOpenAIClient", "ChatClient", "chat completions .NET", "GPT-4", "embeddings", "DALL-E", "Whisper", "OpenAI .NET".