agent-framework-builder-python
Skill14k starsChanged 10 days agoMITView on GitHub
Use this skill when building, modifying, reviewing, evaluating, integrating, or hosting Python applications with Microsoft Agent Framework. Use it for Agent Framework agents, harness agents, workflows, orchestrations, declarative definitions, tools, sessions, middleware, evaluation, observability, integrations, or hosting, even when the user has not yet chosen the correct framework pattern.
- Reads credentials
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill as the entry point for Python Agent Framework application work.
- Distinctive: line 22
Read only the linked reference for the selected path.
- Distinctive: line 71
Use local guidance for stable decisions and common patterns.
- Distinctive: line 78
When the coding agent supports MCP, configure the Microsoft Learn MCP Server as a Streamable HTTP server:
- Very specific: line 87
Search Microsoft Learn with microsoft_docs_search.
- Very specific: line 89
Use microsoft_code_sample_search when a current implementation example is needed.
- Very specific: line 90
If Learn MCP is unavailable and a trusted mslearn CLI is already installed, use the equivalent command:
- Distinctive: line 98
Do not fetch and execute an unpinned CLI package during a coding session.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Framework builder for Python
Use this skill as the entry point for Python Agent Framework application work. Choose the smallest framework pattern that preserves the required behavior, load only the relevant references, and validate against current APIs instead of relying on remembered preview-era syntax.
Workflow
- Inspect the existing project, Python version, dependency manager, and installed Agent Framework packages.
- Choose the simplest matching path from the table below.
- Resolve design questions only when they materially change the implementation.
- Read only the linked reference for the selected path.
- Implement the smallest coherent change and run the narrowest validation that exercises it.
Core abstractions
- A chat client implements the model-facing
SupportsChatGetResponseprotocol. It sends messages and options to a model provider and returns chat responses or streaming updates. - An agent implements the
SupportsAgentRunprotocol. The standardAgentimplementation combines a chat client with instructions, tools, middleware, context providers, and session handling behind onerun(...)interface. - A harness agent is a regular
Agentassembled bycreate_harness_agent. It adds an opinionated set of context providers and middleware; it does not introduce a separate agent abstraction. - A workflow coordinates explicit execution paths. Graph workflows and most orchestration builders can use multiple
SupportsAgentRunimplementations or executors.HandoffBuilderis the exception: its participants must be concreteAgentinstances.
User interface options
- DevUI is a local development, testing, and debugging tool for interacting with agents and workflows. Never run or deploy DevUI as a production application host.
- AG-UI is the application-facing protocol integration for connecting an agent or workflow to an AG-UI-compatible
frontend. Use the
agent-framework-ag-uipackage when the product needs streaming UI events, tool interactions, shared state, interrupts, or resume behavior.
Choose the build path
| Path | Choose it when | Details |
| Plain agent | One model-driven actor owns the task and tools, sessions, context, and middleware are sufficient. | Plain agents |
| Harness agent | The product needs an operating loop with todos, modes, memory, approvals, skills, optional file access, background agents, shell, compaction, or repeated execution. | Harness agents |
| Workflow or orchestration | Explicit stages, routing, parallelism, multiple participants, checkpointing, human input, or intermediate outputs are central to correctness. | Workflows |
| Declarative definition | YAML or JSON should be the source of truth for a supported agent or workflow. | Declarative definitions |
| Evaluation | Expected outputs, tool calls, failed runs, or quality regressions are the main concern. | Evaluation |
| Observability | The task is diagnosing or monitoring runtime behavior with traces, logs, and metrics. | Observability |
| Extensibility | The application needs a custom provider, ContextProvider, or middleware component. | Extensibility |
| Integration | The task is choosing or wiring a provider, protocol, memory store, tool service, UI, or platform extension. | Integrations |
| Hosting and deployment | Working Agent Framework code needs a process host, protocol endpoint, identity contract, or deployment shape. | Hosting and deployment |
Defaults
- For new environments, use Python 3.11 or later within Agent Framework's currently supported range. Prefer the latest supported Python release or the previous release (N-1), unless a required dependency has a narrower compatibility range.
- Install the narrow Agent Framework distribution needed by the application instead of defaulting to the
agent-frameworkmeta-package. - Agent Framework does not automatically read
.envfiles. If the project uses one, callload_dotenv()explicitly or use the selected API's documentedenv_file_pathor equivalent initialization option.
Current documentation lookup
Use local guidance for stable decisions and common patterns. For provider matrices, package maturity, hosted tools, deployment details, or unfamiliar APIs, consult current sources before generating code:
The reference pages intentionally describe selection rules, invariants, and non-obvious gotchas. Use public docstrings or API reference pages for signatures and option details, and use Learn or maintained samples for end-to-end procedures.
When the coding agent supports MCP, configure the Microsoft Learn MCP Server as a Streamable HTTP server:
https://learn.microsoft.com/api/mcpSee Microsoft Learn MCP Server setup for client configuration. The endpoint is for MCP clients and returns an error when opened directly in a browser.
- Search Microsoft Learn with
microsoft_docs_search. - Fetch the relevant page with
microsoft_docs_fetch. - Use
microsoft_code_sample_searchwhen a current implementation example is needed. - If Learn MCP is unavailable and a trusted
mslearnCLI is already installed, use the equivalent command:
| MCP tool | Preinstalled CLI |
microsoft_docs_search(query="...") | mslearn search "..." |
microsoft_docs_fetch(url="...") | mslearn fetch "..." |
microsoft_code_sample_search(query="...", language="python") | mslearn code-search "..." --language python |
Do not fetch and execute an unpinned CLI package during a coding session. Use the official Microsoft Learn MCP/CLI setup to install or update it intentionally.
Canonical starting points:
Trending
More talk lately.about the whole repository
Who's talking about microsoft/agent-framework
- Microsoft Azure Developers“Orchestrate your Agents with Microsoft Agent Framework”YouTube · Jan 20, 2026 · 12k views
- AI in C# (Rasmus Wulff Jensen)“Microsoft Agent Framework (The Replacement of Semantic Kernel)”YouTube · Oct 1, 2025 · 10k views
- The Finally Block“Beginner's Guide to Microsoft Agent Framework”YouTube · Oct 16, 2025 · 4.9k views
- Samuel Smith“Microsoft Agent Framework - How to DevUI”YouTube · Oct 3, 2025 · 4.1k views
- GithubTrends“Microsoft Agent Framework: Build Multi-Agent Systems (Free) 🤯 #Shorts”YouTube · Apr 30, 2026 · 3.2k views
The biggest 5 of 89 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 89
Talked about on GitHub, YouTube, Bluesky, Hacker News, the web and Stack Overflow (89 times).
On GitHub · 48
- Nov 4, 2025Project system data flow 'CapabilitiesScope Aggregating Publishing: 46625485' closed because of an exception. — microsoft/vscode-dotnettools9 reactions · 13 comments
- Mar 23, 2026Add headers to McpTool spec — microsoft/AgentSchema4 reactions
- Mar 19, 2026Foundry Hosted Agent from_agent_framework removes Authorization Header disabling OBO possibilities — Azure/azure-sdk-for-python4 reactions · 14 comments
- Mar 19, 2026Tool Search Tool feature similar to anthropic — google/adk-python3 reactions · 6 comments
- Dec 4, 2025Add Agent Framework DevUI Integration — microsoft/aspire2 reactions · 4 comments
43 more on GitHub
- Oct 3, 2025Built-in Agent Framework integration — microsoft/prompty2 reactions · 2 comments
- Oct 30, 2026[Bug]: .NET: ChatResponseUpdate.AdditionalProperties set on the server are not surfaced by AGUIChatClient — ag-ui-protocol/ag-ui1 reaction
- Oct 4, 2026[AgentServer] Resilient Responses turn hangs `in_progress` after graceful shutdown: deferral task update returns 400 and the task is left `suspended` — Azure/azure-sdk-for-net1 reaction · 4 comments
- Sep 23, 2026[azure-search-documents] Enable HTTPX async transport for AnyIO/Trio callers — Azure/azure-sdk-for-python1 reaction · 3 comments
- Sep 18, 2026[Bug]: Background Responses calls on gpt-5.4 return reasoning_tokens equal to output_tokens — Azure/azure-sdk-for-python1 reaction
- Sep 8, 2026[azure-ai-agentserver-responses] Failed response inputs are replayed in conversation history — Azure/azure-sdk-for-python1 reaction · 1 comment
- Aug 18, 2026.NET: Published packages are still built from `microsoft/agent-framework`, so fixes merged here don't reach NuGet — microsoft/agent-framework-durable-extension1 reaction · 2 comments
- Jun 16, 2026[Azure.AI.Projects] Responses input transform strips reasoning item 'id', breaking stateless encrypted-reasoning replay (HTTP 400 invalid_payload) — Azure/azure-sdk-for-net1 reaction · 4 comments
- Jun 11, 2026Align All Samples with Official Microsoft Agent Framework Samples and Remove Shared Dependencies — punitkshah/FoundryFeatures1 reaction
- May 29, 2026chore(audit): modernisation audit v0.4.0 — AF 1.7.0, anthropic 0.105.0, claude-opus-4-8 — CodeHalwell/Agent-Gantry1 reaction · 2 comments
- May 1, 2026Microsoft Agent Framework 의 기능을 이용한 Multi-Turn Functionality — MSFT-AI-BUILD-INTERNAL/agentic-devops-starter1 reaction
- Apr 16, 2026Add Aspire DevUI Integration — leslierichardson95/aspire-agent-template1 reaction · 1 comment
- Apr 15, 2026Integrate Microsoft Agent Framework into chapter-02 — nestordiaz24/azure-ai-agents-orchestration1 reaction
- Mar 3, 2026Add microsoft-agent-framework — agentic-layer/sdk-python1 reaction
- Feb 11, 2026Python + Foundry: Sending Dynamic Files to Code Interpreter in Foundry — Azure/azure-sdk-for-python1 reaction · 6 comments
- Jan 22, 2026FunctionInvokingChatClient doesn't validate parent span correctly — dotnet/extensions1 reaction
- Nov 4, 2025Fix CI failure from missing Git LFS object in microsoft/agent-framework — Qredence/agentic-fleet1 reaction · 2 comments
- Oct 16, 2025[feat] Add TypeScript SDK — manekinekko/agent-framework1 reaction
- Oct 13, 2025Add comprehensive codebase analysis and optimization roadmap for microsoft/agent-framework features — Qredence/agentic-fleet1 reaction · 1 comment
- Oct 2, 2025Add Agent Framework Scenario: Shopping Assistant — Azure-Samples/eShopLite1 reaction · 1 comment
- Oct 30, 2026DEV: Bump Microsoft.Agents.AI and 2 others — origam/origam0 reactions
- Oct 30, 2026Bump the dotnet group with 13 updates — liuweichaox/Ingot0 reactions · 1 comment
- Oct 29, 2026deps(nuget): Bump coverlet.collector and 7 others — diagridio/dotnet-ai0 reactions
- Oct 29, 2026Bump the dotnet-deps group with 16 updates — NikoMix/microhack-ai-apps0 reactions
- Oct 29, 2026deps(.NET): Bump Microsoft.Agents.AI.Abstractions and 2 others — mongodb-developer/ms-agent-framework-mongodb0 reactions · 1 comment
- Oct 28, 2026Bump the dotnet-runtime group with 9 updates — joslat/Vitrine0 reactions
- Oct 28, 2026Bump Microsoft.Agents.AI and 3 others — suhasaraos/suharness-public0 reactions
- Oct 27, 2026Bump dotnet-ef and 10 others — arst/wretched_whispers0 reactions
- Oct 27, 2026Bump the nuget-patch-minor group with 21 updates — arst/wretched_whispers0 reactions
- Oct 26, 2026Bump Microsoft.Agents.AI and Microsoft.Agents.AI.Workflows — garylumsden/azure-agent-council-template0 reactions
- Oct 26, 2026Bump the agent-framework group with 3 updates — allandecastro/dataverse-agent-framework-sales0 reactions
- Oct 18, 2026Update: Bump fantomas and 14 others — ZelAnton/SpecDesk0 reactions
- Oct 16, 2026Bump Microsoft.Agents.AI and 2 others — alexbypa/FlowScheduler20 reactions
- Oct 15, 2026deps(.NET): Bump Microsoft.Agents.AI.Abstractions and 2 others — mongodb-developer/ms-agent-framework-mongodb0 reactions · 1 comment
- Oct 14, 2026Bump the nuget-patch-minor group with 20 updates — arst/wretched_whispers0 reactions
- Oct 12, 2026Bump the dotnet-dependencies group with 41 updates — velvet-lab/xsdk0 reactions · 3 comments
- Oct 10, 2026Bump Microsoft.Agents.AI.OpenAI and Microsoft.Extensions.AI.OpenAI — LuimesLiam/HomeAutomationSystem0 reactions
- Oct 8, 2026deps(.NET): Bump the agent-framework group with 3 updates — mongodb-developer/ms-agent-framework-mongodb0 reactions · 1 comment
- Oct 7, 2026Bump the dotnet group with 1 update — IvanMarkitan/dotnet-docs0 reactions
- Sep 26, 2026Bump Microsoft.Agents.AI.OpenAI and Microsoft.Extensions.DependencyInjection.Abstractions — Aseel-Sh/incident-response-agent0 reactions
- Sep 15, 2026Bump Microsoft.Agents.AI and Microsoft.Agents.AI.OpenAI — congiuluc/foundry-chatbot-test0 reactions · 1 comment
- Sep 9, 2026Bump the dotnet group with 1 update — IvanMarkitan/dotnet-docs0 reactions
- Feb 27, 2026NuGet: Bump the microsoftagents group with 2 updates — foxminchan/BookWorm0 reactions · 2 comments
On YouTube · 24
- Jan 20, 2026Orchestrate your Agents with Microsoft Agent Framework — Microsoft Azure Developers12k views · 3 comments
- Oct 1, 2025Microsoft Agent Framework (The Replacement of Semantic Kernel) — AI in C# (Rasmus Wulff Jensen)10k views · 17 comments
- Oct 16, 2025Beginner's Guide to Microsoft Agent Framework — The Finally Block4.9k views · 2 comments
- Oct 3, 2025Microsoft Agent Framework - How to DevUI — Samuel Smith4.1k views · 4 comments
- Apr 30, 2026Microsoft Agent Framework: Build Multi-Agent Systems (Free) 🤯 #Shorts — GithubTrends3.2k views
19 more on YouTube
- Oct 22, 2025Microsoft Agent Framework - Human Skills - Workflows & More! — Graham Hosking2.4k views · 6 comments
- Apr 9, 2026Multi-Agent Handoff Workflow with Real-Time UI | Microsoft Agent Framework + AG-UI — Evan Mattson2.2k views · 2 comments
- May 13, 2026Microsoft Agent Framework in C#: A Practical Introduction for .NET Developers — Ottorino Bruni2k views
- Oct 15, 2025Microsoft Agent Framework - How to add memory? — Samuel Smith1.9k views · 7 comments
- Apr 4, 2026Microsoft Agent Framework Explained — Build AI Agents in C# — CodeWithVijay1.2k views · 2 comments
- Apr 11, 2026Microsoft Agent Framework 1.0 Explained in 5 Minutes (Just Launched) — Parthav S1k views · 7 comments
- Oct 21, 2026Tour of the Microsoft Agent Framework GitHub Repo — AI in C# (Rasmus Wulff Jensen)824 views
- Jul 26, 2026Multi-agent orchestration patterns in the Microsoft Agent Framework explained — Will Velida686 views · 6 comments
- Jul 23, 2026Microsoft Agent Framework Tutorial (2026) | Build Multi-Agent AI Apps from Scratch + Real Project — Coding with Neeraj534 views
- Apr 14, 2026People in AI - Roger Barreto (from the Microsoft Agent Framework team) — AI in C# (Rasmus Wulff Jensen)449 views · 4 comments
- Oct 14, 2025Code + Coffee + Chat: Adding a Research Agent to Casper — Stevan Freeborn313 views · 4 comments
- Apr 14, 2026Build AI workflows faster — Repo Radar225 views
- Oct 20, 2026From Prompt to Code: AI Agents in Microsoft Foundry - October 2026 Meetup — West Michigan Azure User Group167 views
- Sep 25, 202614K ⭐ AI AGENTS THAT RUN THE WORKFLOW — Github God Eng102 views
- Aug 16, 2026Build your first .NET AI agent with Microsoft Foundry — DATTA SAI KRISHNA95 views
- Oct 29, 2026CodeAct no Microsoft Agent Framework: 175 mil tokens contra 4,7 mil — AzureBrasil Cloud78 views · 1 comment
- Feb 13, 2026How to build a multi-agent editor using Microsoft Agent Framework — Bethany Jepchumba67 views
- Sep 2, 2026microsoft agent framework: the boring layer underneath agents — 404Embassy49 views · 1 comment
- May 17, 2026Microsoft Agent Framework 1.0: AutoGen Grew Up — Fluid Coding & AI44 views
On Bluesky · 10
- May 12, 2026Hyperlight codeact disponible en #dotnet et en #python dans Microsoft agent framework #opensource #ai github.com/microsoft/ag... — @aymericw.bsky.social5 likes and reposts
- May 1, 2026Microsoft made multi-agent workflows boring in the best way. Graph orchestration, OpenTelemetry, time-travel debugging, durable execution.… — @jeremymorgan.com5 likes and reposts · 1 reply
- Apr 6, 2026🤖 Microsoft drops agent-framework today! AutoGen + Semantic Kernel merged for multi-agent AI workflows. Native Python & .NET support.… — @just--bruno.bsky.social2 likes and reposts · 1 reply
- Oct 12, 2025#Autogen was part of my first experiments into multi-agentic AI and I certainly learnt a lot from the platform (including from @ag2oss &… — @5h15h.bsky.social2 likes and reposts
- Jul 17, 2026My first contribution to the Microsoft Agent Framework just got merged! 🚀 I'm excited to contribute to this ecosystem!… — @handle.invalid1 likes and repost
5 more on Bluesky
- Apr 5, 2026Microsoftから新フレームワーク「agent-framework」が登場。 Pythonと.NETに対応し、グラフベースで複雑なAIエージェントのワークフローを構築可能。チェックポイントや人介在(Human-in-the-loop)、タイムトラベル機能まで標準装備なのが熱い… — @woody-ai-tools.bsky.social1 likes and repost
- Oct 14, 2025agent-framework A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.… — @pythonhub.dev1 likes and repost
- Oct 3, 2025Agent Framework brings the production ready focus of Semantic Kernel with full C#/Python support, as well as the nimble intuitive interface… — @victordibia.bsky.social1 likes and repost · 1 reply
- Apr 27, 2026microsoft/agent-framework: A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for… — @fluid.sublimer.me0 likes and reposts · 1 reply
- Oct 3, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / agent-framework ⭐ 1,432 (+678) 🗒 Python A framework for building, orchestrating and… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 4
- Apr 4, 2026Microsoft's new framework for building and orchestrating AI agents4 points
- Oct 1, 2025Microsoft Agent Framework3 points
- Oct 3, 2025Microsoft Agent Framework2 points
- Oct 2, 2025Microsoft releases Agent Framework for Python and .NET1 point
On the web · 2
- Jun 22, 2026Microsoft Agent Framework Developer Guide: AutoGen + ... — google.com
- May 15, 2026Microsoft Agent Framework — google.com
On Stack Overflow · 1
- Jul 9, 2026High severity transitive vulnerability in a popular Microsoft package?-3 votes · 1 answer
In this repository71 other files it gives its agents.
- dotnet/AGENTS.mdAGENTS.md
- dotnet/samples/AGENTS.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- python/packages/a2a/AGENTS.mdAGENTS.md
- python/packages/ag-ui/AGENTS.mdAGENTS.md
- python/packages/anthropic/AGENTS.mdAGENTS.md
- python/packages/azure-ai-search/AGENTS.mdAGENTS.md
- python/packages/azure-contentunderstanding/AGENTS.mdAGENTS.md
- python/packages/azure-cosmos/AGENTS.mdAGENTS.md
- python/packages/azure-cosmos-memory/AGENTS.mdAGENTS.md
- python/packages/bedrock/AGENTS.mdAGENTS.md
- python/packages/chatkit/AGENTS.mdAGENTS.md
- python/packages/claude/AGENTS.mdAGENTS.md
- python/packages/copilotstudio/AGENTS.mdAGENTS.md
- python/packages/core/AGENTS.mdAGENTS.md
- python/packages/declarative/AGENTS.mdAGENTS.md
- python/packages/devui/AGENTS.mdAGENTS.md
- python/packages/foundry_local/AGENTS.mdAGENTS.md
- python/packages/gemini/AGENTS.mdAGENTS.md
- python/packages/github_copilot/AGENTS.mdAGENTS.md
- python/packages/hosting-a2a/AGENTS.mdAGENTS.md
- python/packages/hosting-mcp/AGENTS.mdAGENTS.md
- python/packages/lab/AGENTS.mdAGENTS.md
- python/packages/mem0/AGENTS.mdAGENTS.md
- python/packages/mistral/AGENTS.mdAGENTS.md
- python/packages/monty/AGENTS.mdAGENTS.md
- python/packages/nvidia/AGENTS.mdAGENTS.md
- python/packages/ollama/AGENTS.mdAGENTS.md
- python/packages/openai/AGENTS.mdAGENTS.md
- python/packages/purview/AGENTS.mdAGENTS.md
- python/packages/redis/AGENTS.mdAGENTS.md
- python/packages/typesafe/AGENTS.mdAGENTS.md
- python/samples/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- build-and-testSkill
- project-structureSkill
- pull-requestsSkill
- verify-dotnet-samplesSkill
- verify-samples-toolSkill
- unit-converterSkill
- unit-converterSkill
- unit-converterSkill
- risk-scoringSkill
- valuationSkill
- risk-scoringSkill
- valuationSkill
- regex-testerSkill
- escalation-policySkill
- support-styleSkill
- community-projectsSkill
- pull-requestsSkill
- agent-framework-py-releaseSkill
- pull-requestsSkill
- python-code-qualitySkill
- python-developmentSkill
- python-feature-lifecycleSkill
- python-package-managementSkill
- python-testingSkill
- risk-scoringSkill
- valuationSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

