Agent skill

Microsoft Agent Framework

by managedcode in managedcode/dotnet-skills

Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails.

MITAuto-check passedAI & LLM Engineering

Install Microsoft Agent Framework

skills CLI
$ npx skills add managedcode/dotnet-skills --skill microsoft-agent-framework -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/dotnet-skills microsoft-agent-framework --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Frameworks/Microsoft-Agent-Framework/skills/microsoft-agent-framework .claude/skills/microsoft-agent-framework && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
microsoft-agent-framework
GitHub stars
486
Token cost
~4k tokens
SKILL.md length
1,694 words
Files
221 (incl. references)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails.

  • Works in 9 steps: Decide whether the problem should stay… → Choose the execution shape first: single… → Choose the agent type and provider… → …
  • Reviewing .NET code that uses Microsoft.Agents.
  • SKILL.md covers Trigger On, Workflow, Current Upstream Notes and Architecture, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Microsoft Agent Framework is an agent skill from managedcode/dotnet-skills. Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails. USE FOR: building or reviewing .NET code that uses Microsoft.Agents., Microsoft.Extensions.AI, AIAgent, HarnessAgent, AgentSession, or Agent Framework hosting packages; choosing agent, harness, workflow, and hosting shapes. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES…

Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 223 other files, including reference files (for example `manifest.json`, `references/devui.md` and `references/examples.md`). Compatibility notes: Requires current Microsoft Agent Framework packages and a .NET application that truly needs agentic or workflow orchestration; declarative, hosting, and…

It sits in AI & LLM Engineering, covering Building AI agents and Codebase knowledge for agents. It works with .NET. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.

When your agent uses it

  • Reviewing .NET code that uses Microsoft.Agents.
  • Microsoft.Extensions.AI
  • Agent Framework hosting packages
  • : unrelated stacks

Example prompts

  • “/microsoft-agent-framework”

Requirements

  • Compatibility (from SKILL.md): Requires current Microsoft Agent Framework packages and a .NET application that truly needs agentic or workflow orchestration; declarative, hosting, and advanced Harness surfaces may remain preview or experimental.

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Decide whether the problem should stay deterministic. If plain code or a typed workflow without LLM autonomy is enough, do that instead of…
  2. Choose the execution shape first: single AIAgent, batteries-included HarnessAgent, explicit programmatic Workflow, workflow-as-agent…
  3. Choose the agent type and provider intentionally. Prefer the simplest agent that satisfies the threading, tooling, and hosting requirements.
  4. Keep agents stateless and keep conversation or long-lived state in AgentSession. Treat the session as opaque provider-owned state…
  5. Add only the tools and middleware that the scenario needs. Narrow the tool surface, require approval for side effects, and treat MCP, A2A…
  6. For workflows, model executors, edges, typed RequestPort boundaries, checkpoints, shared state, and human-in-the-loop explicitly rather…
  7. Prefer Responses-based protocols for new remote/OpenAI-compatible integrations unless you specifically need Chat Completions compatibility.
  8. Use durable agents only when you truly need Azure Functions serverless hosting, durable thread storage, or deterministic long-running…
  9. Verify preview status, package maturity, docs recency, and provider-specific limitations before locking a production architecture.

What it can do on your machine

Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires current Microsoft Agent Framework packages and a .NET application that truly needs agentic or workflow orchestration; declarative, hosting, and advanced Harness surfaces may remain preview or experimental.

    From compatibility in the SKILL.md frontmatter.

Context cost

Microsoft Agent Framework loads about 4k tokens when it runs, and up to ~615k if it reads all its reference files. Until then it costs about 169 tokens; SKILL.md has 1,694 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~169
When it runs · the whole SKILL.md, loaded when a task matches
~4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~615k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 1,694 words, ~4,008 tokens.

Download SKILL.mdSave it as .claude/skills/microsoft-agent-framework/SKILL.md (or your agent's skills folder). This skill also uses 220 other files; get the full folder from GitHub.
name
microsoft-agent-framework
description
Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails. USE FOR: building or reviewing .NET code that uses Microsoft.Agents.*, Microsoft.Extensions.AI, AIAgent, HarnessAgent, AgentSession, or Agent Framework hosting packages; choosing agent, harness, workflow, and hosting shapes. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
compatibility
Requires current Microsoft Agent Framework packages and a .NET application that truly needs agentic or workflow orchestration; declarative, hosting, and advanced Harness surfaces may remain preview or experimental.

Microsoft Agent Framework

Trigger On

  • building or reviewing .NET code that uses Microsoft.Agents.*, Microsoft.Extensions.AI, AIAgent, HarnessAgent, AgentSession, or Agent Framework hosting packages
  • choosing between ChatClientAgent, Responses agents, hosted agents, custom agents, Anthropic agents, workflows, or durable agents
  • adding the batteries-included Microsoft.Agents.AI.Harness surface for planning, todos, compaction, file memory/access, tool approvals, skills, shell execution, or background agents
  • authoring preview-era Microsoft.Agents.AI.Workflows.Declarative* packages or wrapping a workflow with workflow.AsAIAgent()
  • adding tools, MCP, A2A, OpenAI-compatible hosting, AG-UI, DevUI, background responses, or OpenTelemetry
  • migrating from Semantic Kernel agent APIs or aligning AutoGen-style multi-agent patterns to Agent Framework
  • using Anthropic Claude models (haiku, sonnet, opus) via AnthropicClient or through Azure Foundry with AnthropicFoundryClient

Workflow

  1. Decide whether the problem should stay deterministic. If plain code or a typed workflow without LLM autonomy is enough, do that instead of adding an agent.
  2. Choose the execution shape first: single AIAgent, batteries-included HarnessAgent, explicit programmatic Workflow, workflow-as-agent wrapper, declarative workflow when YAML portability is explicitly required, Azure Functions durable agent, ASP.NET Core hosted agent, AG-UI remote UI, or DevUI local debugging.
  3. Choose the agent type and provider intentionally. Prefer the simplest agent that satisfies the threading, tooling, and hosting requirements.
  4. Keep agents stateless and keep conversation or long-lived state in AgentSession. Treat the session as opaque provider-owned state, serialize it through the owning agent, and never accept a raw service conversation ID as an end-user authorization boundary.
  5. Add only the tools and middleware that the scenario needs. Narrow the tool surface, require approval for side effects, and treat MCP, A2A, and third-party services as trust boundaries.
  6. For workflows, model executors, edges, typed RequestPort boundaries, checkpoints, shared state, and human-in-the-loop explicitly rather than hiding control flow in prompts.
  7. Prefer Responses-based protocols for new remote/OpenAI-compatible integrations unless you specifically need Chat Completions compatibility.
  8. Use durable agents only when you truly need Azure Functions serverless hosting, durable thread storage, or deterministic long-running orchestrations.
  9. Verify preview status, package maturity, docs recency, and provider-specific limitations before locking a production architecture.

Current Upstream Notes

  • .NET 1.20.0 fixes Foundry-hosted workflow cancellation and duplicate AgentHost port binding, preserves Responses logprobs, and adds a timeout for background-agent wait-for-first-completion. Re-test cancellation, timeout, recovery, and streamed metadata with the selected provider.

  • Current AG-UI hosted web-search samples use Responses. Update the Cosmos connector name from CommunityToolkit.VectorData.CosmosNoSql to CommunityToolkit.VectorData.AzureCosmosDB when following the migrated sample. Retired OpenAI Assistants integration tests were removed; choose an active provider API for new work.

  • dotnet-1.19.0 adds persisted routing and sessions, resilient/steerable hosted agents, AG-UI forwarding, and experimental agent hooks. It makes a breaking move to the MCP 2026-07-28 Tasks extension; update both peers and resume tests together.

  • Current AG-UI hosting uses Microsoft.Agents.AI.Hosting.AGUI.AspNetCore with AddAGUIServer() and MapAGUIServer(...); the client uses AGUI.Client, and conversation state flows through AgentSession. Do not copy older AddAGUI/MapAGUI or AgentThread hosting examples into current applications.

  • The bundled August 2026 snapshot contains 172 pages. Start with the September review for current checkpoint and AG-UI guidance, then load only the relevant topic reference. Verify language and package maturity against the linked live page.

Architecture

mermaid
flowchart LR
  A["Task"] --> B{"Deterministic code is enough?"}
  B -->|Yes| C["Write normal .NET code or a plain workflow"]
  B -->|No| D{"One dynamic decision-maker is enough?"}
  D -->|Yes| O{"Needs a packaged long-task runtime?"}
  O -->|No| E["Use an `AIAgent` / `ChatClientAgent`"]
  O -->|Yes| P["Use `HarnessAgent` with scoped capabilities"]
  D -->|No| F["Use a typed `Workflow`"]
  F --> G{"Needs durable Azure hosting or week-long execution?"}
  G -->|Yes| H["Use durable agents on Azure Functions"]
  G -->|No| I["Use in-process workflows"]
  E --> J{"Need a remote protocol or UI?"}
  P --> J
  F --> J
  J -->|OpenAI-compatible HTTP| K["ASP.NET Core Hosting.OpenAI"]
  J -->|Agent-to-agent protocol| L["A2A hosting"]
  J -->|Web UI protocol| M["AG-UI"]
  J -->|Local debug shell| N["DevUI (dev only)"]

Core Knowledge

  • AIAgent is the common runtime abstraction. It should stay mostly stateless.
  • AgentSession owns conversation state. Create, reuse, serialize, and restore it through the owning agent; keep service IDs server-side and verify user or tenant ownership before resumption.
  • AgentResponse and AgentResponseUpdate are not just text containers. They can include tool calls, tool results, structured output, reasoning-like updates, and response metadata.
  • ChatClientAgent is the safest default when you already have an IChatClient and do not need a hosted-agent service.
  • HarnessAgent is a prerelease packaged ChatClientAgent composition for tool loops, planning, todos, compaction, memory, approvals, telemetry, and optional file, web, shell, skill, loop, or background-agent capabilities. Enable only what the task needs.
  • Microsoft Foundry Agents is the canonical Azure-hosted persistent-agent surface. Azure OpenAI Responses is the app-composed Azure option for tool approval, code interpreter, file search, web search, and MCP.
  • Workflow is an explicit graph of executors and edges. Use it when the control flow must stay inspectable, typed, resumable, or human-steerable.
  • workflow.AsAIAgent() is the escape hatch when a complex workflow needs to present a normal agent surface. It keeps sessions, streaming, and agent response APIs, but the workflow start executor still needs chat-message-compatible input.
  • AgentWorkflowBuilder provides high-level factory methods such as BuildConcurrent for common agent orchestration patterns. Use it when you need concurrent or sequential agent pipelines without writing custom executor classes.
  • Sequential orchestration passes the previous agent's full input-and-response conversation forward by default. Choose response-only context deliberately when later stages should not inherit the entire conversation.
  • Current .NET workflow execution uses InProcessExecution.RunStreamingAsync(...). For sensitive agent tools, wrap the function with ApprovalRequiredAIFunction, listen for RequestInfoEvent with ToolApprovalRequestContent, and send the external approval response back through the run.
  • Handoff is a mesh-style transfer of task ownership between agents, not a primary-agent tool call. In the current C# docs it requires locally tool-capable agents; Python-only autonomous handoff, approval, or checkpoint examples are not evidence of equivalent .NET APIs.
  • Declarative workflows are now a documented surface, but the .NET package/runtime story is still preview-heavy and narrower than programmatic workflows. Use YAML when portability and operator-editable orchestration matter; keep deeply custom .NET control flow programmatic.
  • Hosting layers such as OpenAI-compatible HTTP, A2A, and AG-UI are adapters over your in-process agent or workflow. They do not replace the core architecture choice.
  • Durable agents are a hosting and persistence decision for Azure Functions. They are not the default answer for ordinary app-level orchestration.
  • Prefer canonical middleware, tool, integration, migration, support, and upgrade pages from the local docs index when exact signatures or maturity matter.
Show full SKILL.md (770 more words)Show less

Decision Cheatsheet

If you needDefault choiceWhy
One model-backed assistant with normal .NET compositionChatClientAgent or chatClient.AsAIAgent(...)Lowest friction, middleware-friendly, works with IChatClient
Long multi-step autonomous task with planning, todos, compaction, memory, approvals, and optional file/shell/delegation toolschatClient.AsHarnessAgent(...)Uses the packaged Harness pipeline instead of rebuilding an agent runtime from decorators and providers
OpenAI-style future-facing APIs, background responses, or richer response stateResponses-based agentBetter fit for new OpenAI-compatible integrations
Simple client-managed chat historyChat Completions agentKeeps request/response simple
Service-hosted agents and service-owned threads/toolsMicrosoft Foundry Agent or other hosted agentManaged runtime is the requirement
Azure-hosted OpenAI-compatible models with the richest hosted-tool surface but app-owned compositionAzure OpenAI Responses agentBest Azure OpenAI default when you need code interpreter, file search, web search, hosted MCP, or tool approval without moving to a persistent service-managed agent
Anthropic Claude models (haiku, sonnet, opus) directly or via Azure FoundryAnthropicClient.AsAIAgent(...) or AnthropicFoundryClient.AsAIAgent(...)Use Microsoft.Agents.AI.Anthropic; add Anthropic.Foundry for Azure-hosted Claude
Typed multi-step orchestrationWorkflow or AgentWorkflowBuilder helpersControl flow stays explicit and testable; use BuildConcurrent for agent fan-out/fan-in
YAML-defined orchestration that non-developers or operators need to editDeclarative workflow packagesGood for portable trigger/action graphs; do not pretend the .NET preview is as flexible as programmatic workflows
Week-long or failure-resilient Azure executionDurable agent on Azure FunctionsDurable Task gives replay and persisted state
Agent-to-agent interoperabilityA2A hosting or A2A proxy agentThis is protocol-level delegation, not local inference
Browser or web UI protocol integrationAG-UIDesigned for remote UI sync and approval flows

Common Failure Modes

  • Adding an agent where deterministic code or a plain typed workflow would be clearer and cheaper.
  • Assuming agent instance fields are the durable source of truth instead of storing real state in AgentSession, stores, or workflow state.
  • Picking Chat Completions when the scenario really needs Responses features such as background execution or service-backed response chains.
  • Treating hosted-agent services and local IChatClient agents as if they share the same thread and tool guarantees.
  • Hiding orchestration inside prompts instead of modeling executors, edges, requests, checkpoints, and HITL explicitly.
  • Exposing too many tools at once, especially side-effecting tools without approvals, middleware checks, or clear trust boundaries.
  • Supplying Harness file access, shell execution, web search, standing approvals, or background agents without constraining the working directory, capability set, iteration limits, and approval policy.
  • Treating DevUI as a production UI surface instead of a development and debugging tool.

Deliver

  • a justified architecture choice: narrow agent vs Harness vs workflow vs durable orchestration
  • the concrete .NET agent type, provider, and package set
  • an explicit thread, tool, middleware, and observability strategy
  • hosting and protocol decisions for OpenAI-compatible APIs, A2A, AG-UI, or Azure Functions
  • migration notes when replacing Semantic Kernel agent APIs or AutoGen-style orchestration

Validate

  • the scenario really needs agentic behavior and is not better served by deterministic code
  • the selected agent type matches the provider, session model, and tool model
  • Harness capabilities are individually scoped or disabled, file access is opt-in through FileAccessStore, compaction has explicit token budgets when needed, and shell/file boundaries are not treated as security sandboxes
  • AgentSession lifecycle, serialization, service-ID ownership, and compatibility boundaries are explicit for the chosen provider surface
  • tool approval, MCP headers, and third-party trust boundaries are handled safely
  • workflows define checkpoints, request-response, shared state, and HITL paths deliberately
  • DevUI is treated as a development sample, not a production surface
  • docs or packages marked preview are called out, and Python-only docs are not mistaken for guaranteed .NET APIs

When a decision depends on exact wording, long-tail feature coverage, or a less-common integration, check the local official docs snapshot before relying on summaries.

References

  • September documentation review - Current provider, workflow, AG-UI, and release guidance; use before older snapshot examples

  • official-docs-index.md - Complete current local snapshot map covering agents, concepts, get-started guides, hosting, integrations, journeys, migration, support, and workflows

  • patterns.md - Architecture routing, agent types, provider and session model selection, and durable-agent guidance

  • harness.md - HarnessAgent selection, options, compaction, approvals, file/shell boundaries, and validation

  • providers.md - Provider, SDK, endpoint, package, and Responses-vs-ChatCompletions selection

  • tools.md - Function tools, hosted tools, tool approval, agent-as-tool, and service limitations

  • sessions.md - AgentSession, chat history providers, reducers, context providers, ownership, and serialization

  • middleware.md - Agent, function-calling, and IChatClient middleware with guardrail patterns

  • workflows.md - Executors, edges, requests and responses, checkpoints, orchestrations, and declarative workflow notes

  • mcp.md - MCP integration, agent-as-MCP, security rules, and MCP-vs-A2A guidance

  • hosting.md - ASP.NET Core hosting, OpenAI-compatible APIs, A2A, AG-UI, Azure Functions, and Purview integration

  • devui.md - DevUI capabilities, modes, auth, tracing, and safe usage boundaries

  • migration.md - Semantic Kernel and AutoGen migration notes, concept mapping, and breaking-model shifts

  • support.md - Preview status, official support channels, and recurring troubleshooting checks

  • examples.md - Quick-start and tutorial recipe index covering the official docs set

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 220 other files (references) in catalog/Frameworks/Microsoft-Agent-Framework/skills/microsoft-agent-framework of managedcode/dotnet-skills.

  • SKILL.md
  • manifest.json
  • references/devui.md
  • references/examples.md
  • references/harness.md
  • references/hosting.md
  • references/mcp.md
  • references/middleware.md
  • references/migration.md
  • references/official-docs-index.md
  • references/official-docs/agents/background-agents.md
  • references/official-docs/agents/background-responses.md
  • references/official-docs/agents/code_act.md
  • references/official-docs/agents/declarative.md
  • references/official-docs/agents/evaluation.md
  • references/official-docs/agents/index.md
  • references/official-docs/agents/looping.md
  • references/official-docs/agents/multimodal.md
  • … and 203 more

Open the folder on GitHubat commit 535dd55

Compare with similar skills

Microsoft Agent Framework next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Microsoft Agent Framework compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microsoft Agent Framework this skillmanagedcode/dotnet-skills486—~4kAutomated safety check: PassMIT
Agent Frameworkjihadkhawaja/Egroo178—~1.9kAutomated safety check: PassApache-2.0
Microsoft Docsmicrosoft/ai-agents-for-beginners77k3 repos~1.2kAutomated safety check: PassMIT
Microsoft Agent Frameworkgithub/awesome-copilot40k2 repos~1kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.6kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Agent Framework

    jihadkhawaja/Egroo

    Build, extend, and debug AI agents in Egroo using the Microsoft Agent Framework (C .NET).

    178 GitHub stars~1.9k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Query official Microsoft documentation to find concepts, tutorials, and code examples across Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, and more.

    77k GitHub starsUsed in 3 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Microsoft Agent Framework

    github/awesome-copilot

    Official

    Create, update, refactor, explain, or review Microsoft Agent Framework solutions using shared guidance plus language-specific references for .NET and Python.

    40k GitHub starsUsed in 2 repos~1k tokens
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Interroger la documentation officielle de Microsoft pour trouver des concepts, des tutoriels et des exemples de code couvrant Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, et plus encore.

    77k GitHub stars~1.6k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    שאילתה בתיעוד הרשמי של Microsoft למציאת מושגים, מדריכים ודוגמאות קוד ב-Azure, .NET, Agent Framework, Aspire, VS Code, GitHub ועוד.

    77k GitHub stars~1.3k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    आधिकारिक Microsoft दस्तावेज़ों में क्वेरी करें ताकि Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, और अन्य के बारे में अवधारणाएँ, ट्यूटोरियल और कोड उदाहरण मिल सकें। डिफ़ॉल्ट रूप से Microsoft…

    77k GitHub stars~1.4k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed

More from managedcode/dotnet-skills

All 81 skills in this repo
  • Analyzer Config

    managedcode/dotnet-skills

    Use a repo-root .editorconfig to configure free .NET analyzer and style rules.

    486 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Archunitnet

    managedcode/dotnet-skills

    Use the open-source free ArchUnitNET library for architecture rules in .NET tests.

    486 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Aspire

    managedcode/dotnet-skills

    Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…

    486 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Aspnet Core

    managedcode/dotnet-skills

    Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

    486 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Asynkron Profiler

    managedcode/dotnet-skills

    Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.

    486 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Azure Functions

    managedcode/dotnet-skills

    Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.

    486 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Microsoft Agent Framework

What does Microsoft Agent Framework do?

Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails. Microsoft Agent Framework is an agent skill from managedcode/dotnet-skills.NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails.

When should I use Microsoft Agent Framework?

Microsoft Agent Framework fits situations like: reviewing .NET code that uses Microsoft.Agents; microsoft.Extensions.AI; agent Framework hosting packages; : unrelated stacks.

How do I install Microsoft Agent Framework in Claude Code?

Run `npx skills add managedcode/dotnet-skills --skill microsoft-agent-framework -a claude-code`. Or copy the skill folder (catalog/Frameworks/Microsoft-Agent-Framework/skills/microsoft-agent-framework in managedcode/dotnet-skills) into .claude/skills/microsoft-agent-framework in your project. Claude Code loads it when a task matches its description.

How do I install Microsoft Agent Framework in Codex?

Run `npx skills add managedcode/dotnet-skills --skill microsoft-agent-framework -a codex`. Or copy the skill folder (catalog/Frameworks/Microsoft-Agent-Framework/skills/microsoft-agent-framework in managedcode/dotnet-skills) into .agents/skills/microsoft-agent-framework in your project. Codex loads it when a task matches its description.

Can I use Microsoft Agent Framework in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill microsoft-agent-framework -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microsoft-agent-framework, .gemini/skills/microsoft-agent-framework, .github/skills/microsoft-agent-framework and .opencode/skills/microsoft-agent-framework in your project.

What does Microsoft Agent Framework need to run?

SKILL.md names no scripts, command-line tools or credentials: Microsoft Agent Framework is instructions for the agent only. Compatibility (from SKILL.md): Requires current Microsoft Agent Framework packages and a .NET application that truly needs agentic or workflow orchestration; declarative, hosting, and advanced Harness surfaces may remain preview or experimental..

Does Microsoft Agent Framework access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Microsoft Agent Framework safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Microsoft Agent Framework use?

Microsoft Agent Framework is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Microsoft Agent Framework use?

About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 611k tokens, read only when the agent opens those files.

What are the alternatives to Microsoft Agent Framework?

Skills that share tags, products or a category with Microsoft Agent Framework: Agent Framework (jihadkhawaja/Egroo, 178 stars), Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars), Microsoft Agent Framework (github/awesome-copilot, 40k stars) and Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microsoft Agent Framework?

managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.