ag2 breaking changes
Updated December 4, 2026
On this page
Latest version 1.4.0, released November 29, 2026. Source repository
Its 1.3.0 release requires Python 3.11 or later. Python end of life dates.
- From 0.14.0 to 1.3.4: 954 breaking changes in 11 versions.
- From 0.13.0 to 1.3.4: 1,111 breaking changes in 12 versions.
ag2 1.3.4 breaking changes
- Signature changed
ag2.acp.ACPConfig
Was class ACPConfig; now class ACPConfig(ModelConfig). pypi.org - Signature changed
ag2.acp.config.ACPConfig
Was class ACPConfig; now class ACPConfig(ModelConfig). pypi.org - Signature changed
ag2.ag_ui.interrupts.ServedTurn.deliver
Was def deliver(self, payload: str) -> None; now def deliver(self, payload: ResumeAnswer) -> None. pypi.org - Signature changed
ag2.ag_ui.interrupts.ServedTurn.suspend
Was def suspend(self, interrupt: Interrupt, answer: asyncio.Future[str]) -> None; now def suspend(self, interrupt: Interrupt, answer: asyncio.Future[ResumeAnswer]) -> None. pypi.org - Signature changed
ag2.ag_ui.interrupts.ServedTurns.ask
Was async def ask(self, turn: ServedTurn, interrupt_for: Callable[[datetime], Interrupt]) -> str; now async def ask(self, turn: ServedTurn, interrupt_for: Callable[[datetime], Interrupt]) -> ResumeAnswer. pypi.org - Signature changed
ag2.ag_ui.stream.ServedTurn.deliver
Was def deliver(self, payload: str) -> None; now def deliver(self, payload: ResumeAnswer) -> None. pypi.org - Signature changed
ag2.ag_ui.stream.ServedTurn.suspend
Was def suspend(self, interrupt: Interrupt, answer: asyncio.Future[str]) -> None; now def suspend(self, interrupt: Interrupt, answer: asyncio.Future[ResumeAnswer]) -> None. pypi.org - Signature changed
ag2.ag_ui.stream.ServedTurns.ask
Was async def ask(self, turn: ServedTurn, interrupt_for: Callable[[datetime], Interrupt]) -> str; now async def ask(self, turn: ServedTurn, interrupt_for: Callable[[datetime], Interrupt]) -> ResumeAnswer. pypi.org - Signature changed
ag2.agent.ModelConfig.model
Was model: str; now model: str | None. pypi.org - Signature changed
ag2.config.config.ModelConfig.model
Was model: str; now model: str | None. pypi.org - Signature changed
ag2.network.ExpectationContext.__init__
Was def __init__(self, metadata: ChannelMetadata, state: object, wal: list[Envelope], now_iso: str, now_seconds: float) -> None; now def __init__(self, metadata: ChannelMetadata, state: object, wal: list[Envelope], now_iso: str... pypi.org - Signature changed
ag2.network.hub.expectations.ExpectationContext.__init__
Was def __init__(self, metadata: ChannelMetadata, state: object, wal: list[Envelope], now_iso: str, now_seconds: float) -> None; now def __init__(self, metadata: ChannelMetadata, state: object, wal: list[Envelope], now_iso: str... pypi.org - Signature changed
ag2.network.hub.expectations.Violation.__init__
Was def __init__(self, expectation: Expectation, violator_ids: list[str] = list(), detail: dict[str, Any] = dict()) -> None; now def __init__(self, expectation: Expectation, violator_ids: list[str] = list(), detail: dict[str, Any] =... pypi.org - Signature changed
ag2.network.Violation.__init__
Was def __init__(self, expectation: Expectation, violator_ids: list[str] = list(), detail: dict[str, Any] = dict()) -> None; now def __init__(self, expectation: Expectation, violator_ids: list[str] = list(), detail: dict[str, Any] =... pypi.org - Signature changed
ag2.tools.sandbox.adapter.shell.check_ignore
Was def check_ignore(command: str, workdir: Path | PurePath, patterns: list[str]) -> str | None; now def check_ignore(command: str, workdir: Path | PurePath, patterns: list[str], *, max_entries: int = 20000) -> str | None. pypi.org - Signature changed
ag2.tools.sandbox.filter.check_ignore
Was def check_ignore(command: str, workdir: Path | PurePath, patterns: list[str]) -> str | None; now def check_ignore(command: str, workdir: Path | PurePath, patterns: list[str], *, max_entries: int = 20000) -> str | None. pypi.org
ag2 1.3.3 breaking changes
- Behavior changed
TranscriptionCompletedEvent
Gemini Live sessions on the Gemini API with input transcription now send TranscriptionCompletedEvent for user speech; on 3.x models it follows a chunk with the same text. github.com - Signature changed
ag2.ag_ui.AGUIStream.dispatch
Was async def dispatch(self, incoming: RunAgentInput, *, variables: dict[str, Any] | None = None, prompt: Iterable[str] = (), dependencies: dict[Any, Any] | None = None, config: ModelConfig | None = None, tools: Iterable[Tool] = ()... pypi.org - Signature changed
ag2.ag_ui.stream.AGUIStream.dispatch
Was async def dispatch(self, incoming: RunAgentInput, *, variables: dict[str, Any] | None = None, prompt: Iterable[str] = (), dependencies: dict[Any, Any] | None = None, config: ModelConfig | None = None, tools: Iterable[Tool] = ()... pypi.org - Signature changed
ag2.agent.Agent.dynamic_prompt
Was dynamic_prompt: tuple[PromptType, ...]; now dynamic_prompt: tuple[Callable[[BaseEvent, Context], Awaitable[str]], ...]. pypi.org - Signature changed
ag2.agent.AssemblerMiddleware.validate_order
Was @staticmethod def validate_order(policies: list[AssemblyPolicy]) -> list[str]; now @staticmethod def validate_order(policies: Sequence[AssemblyPolicy]) -> list[str]. pypi.org - Signature changed
ag2.agent.BaseEvent.from_dict
Was @classmethod def from_dict(cls, data: dict[str, Any]) -> BaseEvent; now @classmethod def from_dict(cls, data: dict[str, Any]) -> Self. pypi.org - Signature changed
ag2.Agent.dynamic_prompt
Was dynamic_prompt: tuple[PromptType, ...]; now dynamic_prompt: tuple[Callable[[BaseEvent, Context], Awaitable[str]], ...]. pypi.org - Signature changed
ag2.assembly.AssemblerMiddleware.validate_order
Was @staticmethod def validate_order(policies: list[AssemblyPolicy]) -> list[str]; now @staticmethod def validate_order(policies: Sequence[AssemblyPolicy]) -> list[str]. pypi.org - Signature changed
ag2.config.gemini.config.GeminiBaseConfig.__init__
Was def __init__(self, model: str, temperature: float | None = None, top_p: float | None = None, top_k: int | None = None, max_output_tokens: int | None = None, stop_sequences: list[str] | None = None, streaming: bool = False... pypi.org - Signature changed
ag2.config.gemini.config.GeminiBaseConfig.http_client
Was http_client: httpx.AsyncClient | None; now http_client: httpx.AsyncClient | httpx2.AsyncClient | None. pypi.org
And 172 more in this version. Sign up to see every change
ag2 1.3.2 breaking changes
- Removed
ag2.acp.AuthMethod
The env-var authentication method that the SDK removed is no longer available in ag2.acp.AuthMethod. github.com - Removed
ag2.acp.bridge.BridgeState.turn_text
BridgeState.turn_text was removed in ag2 1.3.2 pypi.org - Removed
ag2.acp.client.BridgeState.turn_text
BridgeState.turn_text was removed in ag2 1.3.2 pypi.org - Removed
ag2.acp.mappers.content_blocks_to_text
ag2.acp.mappers.content_blocks_to_text was removed in ag2 1.3.2 pypi.org - Removed
ag2.ag_ui.usage.Usage
ag2.ag_ui.usage.Usage was removed in ag2 1.3.2 pypi.org - Removed
ag2.config.openai.decisions_mappers.answer_to_content
ag2.config.openai.decisions_mappers.answer_to_content was removed in ag2 1.3.2 pypi.org - Removed
ag2.config.openai.decisions_mappers.response_proto_to_question
ag2.config.openai.decisions_mappers.response_proto_to_question was removed in ag2 1.3.2 pypi.org - Renamed
BridgeState.turn_text
BridgeState.turn_text is replaced by turn_messages. Code that reads turn_text must switch to turn_messages. github.com - Behavior changed
Thought summaries now arrive as ModelReasoning and are no longer part of the reply text. Code that read reply text for thoughts must read reasoning events instead. github.com - Behavior changed
Agent
A turn that ends on a final tool result or client-tool handoff now ends there. Queued input goes to the next turn instead of triggering another model call. github.com
And 9 more in this version. Sign up to see every change
ag2 1.3.1 breaking changes
- Removed
ag2.a2ui.parser.A2UIVersion
ag2.a2ui.parser.A2UIVersion was removed in ag2 1.3.1 pypi.org - Removed
ag2.agent.Stream.get
Stream.get was removed in ag2 1.3.1 pypi.org - Removed
ag2.context.Stream.get
Stream.get was removed in ag2 1.3.1 pypi.org - Removed
ag2.plugin.ModelRequest
ag2.plugin.ModelRequest was removed in ag2 1.3.1 pypi.org - Signature changed
ag2.a2a.config.A2AClient.__call__
Was async def __call__(self, messages: Sequence[BaseEvent], context: ConversationContext, *, tools: Iterable[ToolSchema], response_schema: ResponseProto | None, serializer: SerializerProto) -> ModelResponse; now async def __call__(self... pypi.org - Signature changed
ag2.a2ui.a2a.parse_client_capabilities
Was def parse_client_capabilities(metadata: Mapping[str, JsonValue] | None, *, version_key: A2UIVersion = _DEFAULT_VERSION_KEY) -> A2UIClientCapabilities | None; now def parse_client_capabilities(metadata: Mapping[str, JsonValue] | None... pypi.org - Signature changed
ag2.a2ui.capabilities.parse_client_capabilities
Was def parse_client_capabilities(metadata: Mapping[str, JsonValue] | None, *, version_key: A2UIVersion = _DEFAULT_VERSION_KEY) -> A2UIClientCapabilities | None; now def parse_client_capabilities(metadata: Mapping[str, JsonValue] | None... pypi.org - Signature changed
ag2.a2ui.middleware.A2UIResponseParser.__init__
Was def __init__(self, version_string: A2UIVersion, server_to_client_schema: JsonSchema | None = None, schema_registry: Registry | None = None) -> None; now def __init__(self, version_string: A2UIWireVersion, server_to_client_schema... pypi.org - Signature changed
ag2.a2ui.middleware.A2UIResponseParser.version_string
Was version_string: A2UIVersion; now version_string: A2UIWireVersion. pypi.org - Signature changed
ag2.a2ui.parser.A2UIResponseParser.__init__
Was def __init__(self, version_string: A2UIVersion, server_to_client_schema: JsonSchema | None = None, schema_registry: Registry | None = None) -> None; now def __init__(self, version_string: A2UIWireVersion, server_to_client_schema... pypi.org
And 62 more in this version. Sign up to see every change
ag2 1.3.0 breaking changes
- Removed
Upgrade Python to 3.11 or newer before updating an environment that still uses 3.10. github.com - Removed
ag2.a2a.client.A2ADriveState.accumulated_text
A2ADriveState.accumulated_text was removed in ag2 1.3.0 pypi.org - Removed
ag2.a2a.client.A2ADriveState.seen_artifact_ids
A2ADriveState.seen_artifact_ids was removed in ag2 1.3.0 pypi.org - Removed
ag2.a2a.testing.A2AServer
ag2.a2a.testing.A2AServer was removed in ag2 1.3.0 pypi.org - Removed
ag2.a2a.testing.build_card
ag2.a2a.testing.build_card was removed in ag2 1.3.0 pypi.org - Removed
ag2.agent.AggregateStrategy
ag2.agent.AggregateStrategy was removed in ag2 1.3.0 pypi.org - Removed
ag2.agent.AggregateTrigger
ag2.agent.AggregateTrigger was removed in ag2 1.3.0 pypi.org - Removed
ag2.agent.AggregationCompleted
ag2.agent.AggregationCompleted was removed in ag2 1.3.0 pypi.org - Removed
ag2.agent.AggregationFailed
ag2.agent.AggregationFailed was removed in ag2 1.3.0 pypi.org - Removed
ag2.agent.AggregationStarted
ag2.agent.AggregationStarted was removed in ag2 1.3.0 pypi.org
And 90 more in this version. Sign up to see every change
ag2 1.2.2 breaking changes
- Removed
ag2.a2ui.incoming.A2UIIncomingAction.response_request
A2UIIncomingAction.response_request was removed in ag2 1.2.2 pypi.org - Removed
ag2.a2ui.incoming.A2UIIncomingFunctionResponse.call
A2UIIncomingFunctionResponse.call was removed in ag2 1.2.2 pypi.org - Removed
ag2.a2ui.incoming.ActionResponseRequest
ag2.a2ui.incoming.ActionResponseRequest was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.anthropic_client.merge_sampling_into_extra_body
ag2.config.anthropic.anthropic_client.merge_sampling_into_extra_body was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.config.AnthropicConfigOverrides.temperature
AnthropicConfigOverrides.temperature was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.config.AnthropicConfigOverrides.top_k
AnthropicConfigOverrides.top_k was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.config.AnthropicConfigOverrides.top_p
AnthropicConfigOverrides.top_p was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.mappers.merge_sampling_into_extra_body
ag2.config.anthropic.mappers.merge_sampling_into_extra_body was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.mappers.SAMPLING_FIELDS
ag2.config.anthropic.mappers.SAMPLING_FIELDS was removed in ag2 1.2.2 pypi.org - Removed
ag2.config.anthropic.mappers.take_sampling_fields
ag2.config.anthropic.mappers.take_sampling_fields was removed in ag2 1.2.2 pypi.org
And 55 more in this version. Sign up to see every change
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
ag2 1.2.1 breaking changes
- Removed
ag2.acp.client.new_prompt_text
ag2.acp.client.new_prompt_text was removed in ag2 1.2.1 pypi.org - Removed
ag2.acp.session.new_prompt_text
ag2.acp.session.new_prompt_text was removed in ag2 1.2.1 pypi.org
And 34 more in this version.
ag2 1.2.0 breaking changes
- Removed
ag2.ag_ui.input_acceptance
ag2.ag_ui.input_acceptance was removed in ag2 1.2.0 pypi.org - Removed
ag2.config.typesafe.mappers.AG2Error
ag2.config.typesafe.mappers.AG2Error was removed in ag2 1.2.0 pypi.org
And 145 more in this version.
ag2 1.1.2 breaking changes
- Removed
ag2.ag_ui.interrupts.interrupt_capabilities
ag2.ag_ui.interrupts.interrupt_capabilities was removed in ag2 1.1.2 pypi.org - Removed
ag2.ag_ui.interrupts.NO_HELD_TURN
ag2.ag_ui.interrupts.NO_HELD_TURN was removed in ag2 1.1.2 pypi.org
And 124 more in this version.
ag2 1.0.0 breaking changes
- Removed
The classic CLI entry point is gone. Scripts that call it must stop using it or move to ag2-classic. github.com - Removed
Agent.as_conversable
Agent.as_conversable was deleted along with the classic framework. Code calling it must be rewritten. github.com
And 186 more in this version.
ag2 1.0.0b0 breaking changes
- Removed
ConversableAgent
The classic ConversableAgent framework was removed from this repo and now lives at ag2ai/ag2-classic (install with pip install autogen). Code using it must move there or stay pinned to the classic distribution. github.com - Removed
GroupChat
GroupChat is no longer in this repository. Use the classic distribution at ag2ai/ag2-classic or migrate to the new AG2 API. github.com
And 1 more in this version.
ag2 0.14.0 breaking changes
- Removed
Deprecated agents, capabilities, tools and interoperability surfaces in the Classic framework (autogen) were removed. Users depending on them must pin to v0.13.x or migrate to current Classic equivalents before upgrading. github.com - Removed
autogen.a_initiate_swarm_chat
autogen.a_initiate_swarm_chat was removed in ag2 0.14.0 pypi.org
And 155 more in this version.
ag2 0.13.0 breaking changes
- Removed
autogen.beta.events.ToolCallEvent.provider_data
Code that reads provider_data on ToolCallEvent must switch to the typed Gemini ToolCallEvent subclass. pypi.org - Removed
autogen.beta.observer.BaseObserver
autogen.beta.observer.BaseObserver was removed in ag2 0.13.0 pypi.org
And 29 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.