microsoft-agent-framework

Build and orchestrate AI agents and multi-agent workflows in .NET.

Updated Dec 30, 2025
One-click install
npx skills add https://github.com/Salmanferozkhan/Cloud-and-fast-api --skill microsoft-agent-framework-salmanferozkhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-agent-framework
Source: https://github.com/Salmanferozkhan/Cloud-and-fast-api/tree/main/.claude/skills/microsoft-agent-framework
Command: npx skills add https://github.com/Salmanferozkhan/Cloud-and-fast-api --skill microsoft-agent-framework-salmanferozkhan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Building robust AI agents and multi-agent workflows in .NET can be complex, requiring coordinated actions, streaming responses, and reliable observability. This skill provides expert guidance, ready-to-adapt patterns, and practical examples to design, implement, and operate scalable agent systems.

Core Features & Use Cases

  • Graph-based workflows with streaming execution, checkpointing, and human-in-the-loop capabilities.
  • Function tools, structured outputs, and middleware pipelines to compose intelligent agents.
  • Multi-agent orchestration, deployment patterns, and integration with OpenTelemetry for observability.
  • Exposing agents as MCP tools and supporting dependency injection, sub-workflows, and cooperative workflows.

Quick Start

Install the required .NET packages, bootstrap a simple agent, and run a minimal sample to verify end-to-end operation.

Frequently Asked Questions about microsoft-agent-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build multi-agent workflows in .NET?

Multi-agent workflows in .NET use graph-based execution patterns, middleware pipelines, and function tools to orchestrate agents, handle streaming responses, and apply structured outputs for reliable operations.

What is the best way to implement human-in-the-loop for AI agents?

The best way to implement human-in-the-loop for AI agents is by designing graph-based workflows with checkpointing capabilities, allowing execution to pause and resume based on human input before proceeding further.

Can I integrate OpenTelemetry for observability in .NET AI agents?

Yes, you can integrate OpenTelemetry for observability in .NET AI agents. It enables monitoring coordinated actions, tracking streaming responses, and capturing telemetry data to ensure scalable and reliable agent operations.

How do I expose an AI agent as an MCP tool?

To expose an AI agent as an MCP tool, you apply specific deployment patterns and dependency injection techniques within your .NET workflow, allowing the agent's function tools to be consumed by other systems.

Does this approach support graph-based streaming execution with sub-workflows?

Yes, this approach supports graph-based streaming execution with sub-workflows. It allows you to design cooperative workflows, implement robust error handling, and manage complex multi-agent orchestration effectively.