Install
pip install agent-frameworkUnified agent SDK that merges Semantic Kernel and AutoGen into one Pythonic library. Build single agents, multi-agent orchestration, cross-framework collaboration (A2A), and declarative workflows against the same primitives.
Install
pip install agent-frameworkVersion
Core 1.18.0 stable · agent-framework-foundry and agent-framework-openai bundled via agent-framework==1.18.0 · September 2026 · Python 3.10 – 3.13 · consolidated Class & API Reference
Best for
Azure-native agents, multi-agent orchestration via WorkflowBuilder, cross-framework A2A, declarative YAML agents.
A guided reading order across the comprehensive guide, 2025 features, advanced and production docs. Each checkpoint is a section — read linearly or dive in wherever suits you.
agent-framework-core 1.18.0 (September 2026). The full class-by-class API surface — previously spread across 49 per-volume “class deep dive” pages — is now consolidated into one Class & API Reference section of the comprehensive guide (plus an azure-ai-agents add-on appendix). See the Revision history below for the version-by-version summary.agent_framework.foundry.FoundryChatClient, agent_framework.openai.OpenAIChatClient, agent_framework.anthropic.AnthropicClient, plus Bedrock / Ollama in the 1.0.0b provider line.MemoryStore, SkillResource, InlineSkillResource, ClassSkill, InlineSkill, FileSkill now emit ExperimentalWarning on import — do not depend on these APIs in production yet.@chat_middleware / @agent_middleware / @function_middleware decorators and base classes; pass middleware=[...] (must be a list in 2026 releases).WorkflowBuilder with .add_edge / .add_chain / .add_fan_in_edges / .add_fan_out_edges / .add_switch_case_edge_group / .add_multi_selection_edge_group; checkpoint via FileCheckpointStorage / InMemoryCheckpointStorage.@workflow / @step decorators and RunContext for HITL and state — write workflows as plain async Python functions without graph wiring.agent_framework.declarative.AgentFactory / WorkflowFactory load from YAML.agent_framework.a2a.A2AAgent, wraps a remote A2A endpoint as a local Agent.import asynciofrom agent_framework import Agentfrom agent_framework.openai import OpenAIChatClient
async def main(): agent = Agent( client=OpenAIChatClient(), # positional or keyword instructions="You are a helpful assistant.", ) response = await agent.run("What is the Microsoft Agent Framework?") print(response.text)
asyncio.run(main())Previous drafts of this page used a
ChatAgent(chat_client=...)minimal example.ChatAgentis not a public class inagent-framework-core1.4.0 — the primary agent class isAgentand the keyword isclient=(notchat_client=).
Ready for the full walk-through? Start with Core Fundamentals →
| Date | Version | Changes |
|---|---|---|
| 2026-09-14 | 1.18.0 | Installed and introspected agent-framework==1.18.0 source. Added 10-API Deep Dives Vol. 4 covering eight classes (VectorStoreField, VectorStoreCollectionDefinition, InMemoryCollection, InMemoryStore, Filter, FilterGroup, SecretString, GroupChatBuilder) and two functions (load_settings, create_agent_hooks_middleware) — all with source-verified constructors, method tables, and runnable examples. Vol. 2 and Vol. 3 LinkCards added to Reference section. Version card updated to 1.18.0. |
| 2026-09-08 | 1.17.0 | Consistency sweep. Version card and page description moved 1.15.0 → 1.17.0 to match the newest source-verified deep dives (Vol. 3, agent-framework==1.17.0); comprehensive-guide header now states agent-framework 1.17.0 as latest and 1.14.0 as the verified-against version. Zero → Hero deep links into the 2025-features page retargeted to headings that exist. No package installation or symbol verification performed. |
| 2026-08-24 | 1.15.0 | Upgraded to agent-framework 1.15.0 (latest). Added 10-Class Deep Dives document covering WorkflowViz, FileMemoryProvider, AgentModeProvider, BackgroundAgentsProvider, ToolApprovalMiddleware, SwitchCaseEdgeGroup, MessageInjectionMiddleware, ToolResultCompactionStrategy, SummarizationStrategy, and TokenBudgetComposedStrategy — all source-verified with runnable examples. |
| 2026-08-21 | 1.14.0 | Consolidated the 49 per-volume “class deep dive” pages (base + v2–v44 main series, plus the 5-volume azure-ai-agents add-on series) into one Class & API Reference section — 11 subsections (Workflows & Execution, Agents/Modes & Orchestration, Memory/Sessions & File Stores, Tools & MCP, Security & FIDES, Skills, Checkpointing & Compaction, Middleware & Function Invocation, Evaluation, Settings & Configuration, A2A Protocol & Declarative Graphs) plus an azure-ai-agents appendix — inside the comprehensive guide. This index page was rewritten to match: old per-volume LinkCards removed, changelog condensed to this table. |
| 2026-07-10 – 2026-08-03 | 1.11.0 – 1.13.0 | SecureMCPToolProxy + apply_mcp_security_labels (FIDES MCP security proxy); AgentMiddlewareLayer/ChatMiddlewareLayer reworked as public MRO mixins; DevUI (DiscoveryResponse, EntityInfo); Gemini / Mistral / Anthropic-Vertex / Bedrock provider clients; AGUIThreadSnapshot + thread-state persistence; FoundrySessionStore; Foundry hosting (ResponsesHostServer / InvocationsHostServer); FileMemoryProvider. |
| 2026-06-12 – 2026-07-09 | 1.8.1 – 1.10.0 | ToolApprovalMiddleware + AgentLoopMiddleware + JudgeVerdict; six Supports* capability Protocols; WorkflowGraphValidator + typed validation errors; A2A (A2AAgent); declarative graphs (AgentFactory / WorkflowFactory + control-flow/basic executors); WorkflowBuilder output routing (output_from / intermediate_output_from); durable execution (agent-framework-durabletask). |
| 2026-05-15 – 2026-06-05 | 1.4.0 – 1.8.0 | SecureAgentConfig (FIDES/IFC prompt-injection defence: label tracking, policy enforcement, quarantined LLM calls); AgentFileStore + FileAccessProvider; harness providers (TodoProvider, MemoryContextProvider, AgentModeProvider, BackgroundAgentsProvider); WorkflowViz. |
| 2026-04-20 – 2026-05-09 | 1.0.1 – 1.3.0 | agent-framework-foundry and agent-framework-openai promoted to stable; dedicated pages added for Model Providers, Orchestration, Middleware, MCP, HITL, Tools, Skills, Checkpointing, Compaction, Observability, Evaluation. A 2026-05-29 pass corrected an accidental reframing of this index as an azure-ai-agents-only site — agent-framework is the primary framework; azure-ai-agents is the optional add-on. |
| 2026-04-16 | 1.0 GA | Graduated from Preview; ChatClientAgentOptions.Instructions removed; first-party connectors; Azure App Service support. |
| 2025-11 | 1.0 Preview | Initial Python guide; multi-agent orchestration. |