Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework, covering sessions, tools, and hosting.
36% 95%+59 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
The core rule is simple:
Do not choose your architecture because a protocol package exists. Choose the runtime model first, then attach the hosting surface you actually need.
The watched Learn URL /agent-framework/user-guide/hosting/ now resolves to the broader Agent Framework integrations hub. Keep the ASP.NET Core hosting packages below distinct from general integrations such as memory, RAG, vector stores, UI frameworks, and hosted-agent services.
Microsoft.Agents.AI.Hosting is the base ASP.NET Core hosting layer.
Use it to:
AIAgent instances in DIAIAgent surfaces when a protocol needs an agentRepresentative shape:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleton(chatClient);
var pirateAgent = builder.AddAIAgent(
"pirate",
instructions: "You are a pirate. Speak like a pirate.");
var workflow = builder.AddWorkflow("science-workflow", (sp, key) => { /* build workflow */ })
.AddAsAIAgent();
Next to this one in the catalogue, plus more from the same author.