agent-framework-azure-ai-csharp

Installation
SKILL.md

Agent Framework Azure AI Foundry Agents (.NET)

Build agents on Microsoft Foundry using the Microsoft Agent Framework .NET SDK. The same AIAgent abstraction wraps both the Foundry Responses API (AIProjectClient.AsAIAgent(...)) and the persistent Foundry Agent resource (FoundryAgent + AgentAdministrationClient).

Architecture

User Query → AIProjectClient.AsAIAgent(...) → Microsoft Foundry (Responses)
                  ↓                       └── FoundryAgent + AgentAdministrationClient (persistent)
            AIAgent.RunAsync() / .RunStreamingAsync()
                  ↓
   Tools: AIFunctionFactory.Create | Hosted (CodeInterpreter / FileSearch / WebSearch / MemorySearch)
        | McpClientTool (local MCP) | ResponseTool.CreateMcpTool (hosted MCP)
                  ↓
            AgentSession (multi-turn conversation, response-id chaining)
                  ↓
  Optional: FoundryMemoryProvider | AgentSkillsProvider (file/code/class skills)
Installs
1
GitHub Stars
47
First Seen
Oct 12, 2026