agent-framework-dotnet

Build .NET AI agents with tools, sessions, workflows, and Azure OpenAI.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/congiuluc/my-awesome-copilot --skill agent-framework-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-framework-dotnet
Source: https://github.com/congiuluc/my-awesome-copilot/tree/main/skills/agent-framework-dotnet
Command: npx skills add https://github.com/congiuluc/my-awesome-copilot --skill agent-framework-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps .NET developers build AI agents and multi-agent workflows using the Microsoft Agent Framework, reducing boilerplate and accelerating production-grade patterns.

Core Features & Use Cases

  • Expose C# methods as function tools for agents.
  • Coordinate multi-turn conversations with session state and graph-based workflows.
  • Incorporate middleware for logging, error handling, and cross-cutting concerns.
  • Integrate with Azure OpenAI / OpenAI providers and MCP tooling for scalable deployments.
  • Follow official guidelines and samples to implement production-ready agents.

Quick Start

Create a .NET project, install the Agent Framework packages, and configure a chat agent with tools and middleware following the samples in this skill.

Frequently Asked Questions about agent-framework-dotnet

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

FAQPage Schema
How do I build AI agents in .NET that maintain multi-turn conversations?

To build AI agents in .NET with multi-turn conversations, use the Agent Framework to configure session-based state management via AgentSession, allowing agents to retain context and coordinate complex conversational workflows graph-based nodes.

What is the best way to expose C# methods as function tools for AI agents?

Exposing C# methods as function tools for AI agents is done using AIFunctionFactory within the Agent Framework, enabling native method exposure for OpenAI or Azure OpenAI models to invoke directly during chat completions and workflow execution.

Can I integrate Azure OpenAI with .NET workflows for scalable deployments?

Yes, you can integrate Azure OpenAI with .NET workflows for scalable deployments by configuring the Agent Framework's provider settings, enabling robust multi-agent graph execution and tool invocation connected to your Azure OpenAI endpoints.

How do I add middleware for logging and error handling in .NET AI agent workflows?

Adding middleware for logging and error handling in .NET AI agent workflows involves applying the Agent Framework's middleware support to intercept pipeline executions, injecting cross-cutting concerns alongside observability tracking through OpenTelemetry integration.

Does the .NET Agent Framework support streaming responses from OpenAI models?

Yes, the .NET Agent Framework supports streaming responses from OpenAI models, allowing real-time token delivery in multi-turn conversations while maintaining session state and graph-based workflow coordination across distributed agent components.