AI Explainers

Agent Framework dotnet-1.11.1: Breaking Change, AOT Checkpointing, and Checkpoint Fix

Microsoft AI Agent Frameworks explained in plain language for builders tracking AI tools, workflows and agent infrastructure.

Microsoft AI Agent Frameworks explainer illustration for agentic AI workflows
Featured image for Agent Framework dotnet-1.11.1: Breaking Change, AOT Checkpointing, and Checkpoint Fix on Drop Agentic.

Microsoft AI agent frameworks helps builders understand the setup flow, source requirements, and production checks before implementation.

The Microsoft Agent Framework released dotnet-1.11.1 on June 25, 2026, and it carries one breaking change that will affect any team using AgentSkillsProvider tools in production. Alongside that, the release adds AOT-safe declarative workflow checkpointing and fixes a long-standing issue with checkpoint resumption after package upgrades. If you run .NET-based agent pipelines, this release requires a deliberate migration review before upgrading.

The Breaking Change: Tool Approval Now Required by Default

Pull request #6729 (commit e3b64fdc) changes how AgentSkillsProvider tools behave. Previously, tools registered through AgentSkillsProvider could execute without explicit approval. After this release, all such tools require approval by default.

This is a deliberate security posture shift. In agentic workflows, tools registered via skills providers often perform consequential actions — calling external APIs, modifying data, or triggering downstream agents. Requiring approval by default means those actions will not fire automatically unless your code explicitly opts out of the approval requirement or implements an approval handler.

Teams upgrading from any earlier dotnet-1.x release should audit every place AgentSkillsProvider tools are registered and confirm whether their workflow expects silent execution or can accommodate an approval step. Failing to do this before upgrading could cause tools to stall waiting for approval that was never anticipated in the original design.

What to Check Before Upgrading

  • Identify all AgentSkillsProvider registrations in your codebase.
  • Determine whether each tool is expected to run autonomously or can tolerate an approval gate.
  • Review the approval handler pattern in the updated documentation to understand how to configure or bypass the default where appropriate.
  • Run integration tests against a staging environment before promoting to production.

New: DeclarativeWorkflowJsonOptions for AOT-Safe Checkpointing

Pull request #6745 (commit 3a5bbb5f) introduces DeclarativeWorkflowJsonOptions, a new configuration type designed to make declarative workflow checkpointing compatible with Ahead-of-Time (AOT) compilation.

AOT compilation in .NET trims unused code at publish time, which has historically caused problems for JSON serialization in workflows that rely on runtime reflection. Checkpointing — saving the state of a running workflow so it can be resumed later — is particularly sensitive to this because the serialized state must round-trip correctly across process restarts and version upgrades.

DeclarativeWorkflowJsonOptions gives developers a structured way to configure the JSON serialization behavior used during checkpointing, making it possible to publish AOT-compiled agent applications without losing checkpoint reliability. Teams targeting trimmed or NativeAOT publish profiles should adopt this option when configuring declarative workflows.

Practical Setup Pattern

The exact API surface is defined in the release, but the general pattern involves passing a configured DeclarativeWorkflowJsonOptions instance when setting up your declarative workflow host. Available materials suggest this replaces or supplements any ad-hoc JSON configuration previously applied to checkpoint serialization. Teams should verify the current documentation for the precise registration call, as the API may evolve in subsequent patch releases.

Bug Fix: Checkpoint Resume After Package Version Upgrade

Pull request #6670 (commit a7332d69) resolves an issue where resuming a persisted checkpoint would fail after upgrading the Agent Framework package version. This is a practical reliability fix for any team that runs long-running or durable agent workflows.

The root cause, as indicated by the issue reference, involved a mismatch between the serialized checkpoint format and the expectations of the newer package version. The fix ensures that checkpoints created under a previous version can be correctly deserialized and resumed after upgrading to dotnet-1.11.1.

If your team has avoided upgrading the Agent Framework specifically because of checkpoint compatibility concerns, this fix is the primary reason to move to 1.11.1. That said, the breaking change in AgentSkillsProvider still requires the migration review described above — the two changes are independent.

A Practical Migration Path

Upgrading to dotnet-1.11.1 involves three distinct concerns, and it helps to address them in order:

  • Breaking change first: Audit AgentSkillsProvider tool registrations and decide on approval behavior before anything else. This is the change most likely to break a running system silently.
  • AOT checkpointing second: If you publish with AOT or plan to, integrate DeclarativeWorkflowJsonOptions into your workflow setup. If you do not use AOT, this change is additive and low-risk.
  • Checkpoint resume last: If you have existing persisted checkpoints from an earlier version, test resumption in a non-production environment after upgrading. The fix in #6670 is intended to handle this, but verifying against your specific workflow state is prudent.

Package Version and Dependency Updates

The release also includes a package version bump (commit d9ec5eaa, PR #6752) and a dependency update (commit e57e9455). These are routine maintenance changes. Teams using lock files or pinned dependency versions should regenerate or review those after upgrading to ensure consistency across the dependency graph.

dotnet-1.11.1 is a focused patch release, but the AgentSkillsProvider approval change makes it non-trivial for teams with active tool-using agents. The AOT checkpointing addition and the checkpoint resume fix together improve the reliability story for durable .NET agent workflows. Review the breaking change first, then treat the rest as a straightforward upgrade.

Sources