GitHub user wenjin272 created a discussion: Proposal: API Stability and Compatibility Policy for Flink Agents
## 1. Background and Motivation Flink Agents does not guarantee API compatibility during the 0.x series. As the project plans to move from 0.4 toward 1.0, users need to know which interfaces they can rely on over time, and developers need to know which changes require retaining an existing interface and allowing time for migration. Simply stating that APIs are stable in release notes does not answer these questions. We need to clarify three areas: the boundaries of public interfaces, so users do not mistake accessible internal implementations for supported interfaces; compatibility rules for interfaces at different stages of maturity, so designs that are still being explored are not frozen too early; and the lifecycle from `Experimental` and `Stable` to `Deprecated` and removal, so experimental interfaces are reviewed regularly and existing interfaces have a clear retirement path. Agent frameworks still need to evolve quickly. This proposal introduces three stability classifications—`Stable`, `Experimental`, and `Internal`—and a separate `Deprecated` status. A default promotion deadline and a minimum retirement window balance users' upgrade expectations with the cost of evolving the framework. This document defines the policy; automated checks and migration tooling will follow as implementation work. ## 2. What Counts as a Public Interface? A public interface is an interface the project explicitly provides for users to write, configure, submit, or integrate applications. This includes Java/Python programming interfaces, YAML, configuration, CLI, REST, and externally consumed observability data. Public interface status is determined by interface definitions, official documentation, and module boundaries, not solely by whether code is accessible. | Interface area | Included in the public interface | Not automatically included | | --- | --- | --- | | Programming interfaces | Classes and functions called by users, interfaces implemented by users, and official extension points and their invocation contracts | Internal helpers, runtime implementation details, and members exposed only for access across modules | | YAML and configuration | Officially supported declaration formats, configuration keys, accepted values, and semantics | Parser internals and third-party free-form parameters whose semantics the framework does not define | | Built-in integrations | Identifiers defined in `ResourceName`, YAML aliases, initialization parameters, and configuration fields | Class names, internal implementation classes and helpers, and nested pass-through parameter keys interpreted entirely by third parties | | Submission and management interfaces | User-facing CLI, REST, job submission parameters, and related conventions | Internal command call chains and protocols used only between internal components | | Observability and system integration interfaces | Metric names and labels, and structured Event Log formats explicitly intended for users or external systems | Wording in ordinary debug logs and internal observability data without a declared public contract | | State access and recovery | User-facing State and ActionState access APIs, and contracts for persisting, migrating, and recovering checkpoint/savepoint state and ActionState | Internal state organization, storage layouts, and serialization implementation details that are not exposed to users | ## 3. API Identification Rules (`API.md`) An `API.md` file at the repository root defines how APIs are identified. It serves developers, coding agents, and checking tools, and is referenced by `AGENTS.md`. Its contents are specified below. ### Contents of `API.md` This file defines the code interfaces, YAML declarations, framework configuration options, and integration initialization parameters covered by API compatibility management in Flink Agents. Paths below are relative to the repository root. Directories are scanned recursively, and `**` matches any directory depth. #### Included Scope | Scan scope | Identification rules | | --- | --- | | `api/src/main/java/org/apache/flink/agents/api/`<br>`python/flink_agents/api/` | Identify code APIs, framework configuration options, YAML fields, and Resource reference names that are not marked `Internal`. | | `integrations/**/src/main/java/`<br>`python/flink_agents/integrations/` | Identify initialization parameters declared through `ResourceOption` and the framework's rules for parsing those parameters. Resource implementations must still follow the contracts of their corresponding interfaces in the API module. | The contracts for YAML fields and aliases cover names, hierarchy, types, requiredness, defaults, accepted values, and semantics. `docs/yaml-schema.json` is generated automatically from the YAML definitions for documentation and validation. Configuration options and initialization parameters likewise cover names, types, requiredness, defaults, accepted values, and semantics. #### Exclusions Test code is excluded, including `python/flink_agents/api/**/tests/**` and `python/flink_agents/integrations/**/tests/**`. Nested keys in pass-through parameters interpreted entirely by third parties are excluded. The parameter entry points and the framework's handling rules remain in scope. This file covers State and ActionState access APIs. It does not cover persisted state formats or checkpoint/savepoint recovery compatibility. ## 4. Stability Classifications and Compatibility Rules Flink Agents uses version numbers in the form `X.Y.Z`: - **Major release:** increments `X`, for example, `1.3.2 → 2.0.0`, for major evolution of the project. - **Minor release:** keeps `X` and increments `Y`, for example, `1.3.2 → 1.4.0`, for feature development and interface lifecycle changes permitted by this policy. - **Patch release:** keeps `X.Y` and increments `Z`, for example, `1.3.2 → 1.3.3`, for bug fixes. Interface lifecycle changes are not allowed. Minor and major releases follow the same compatibility and lifecycle rules. Each official minor or major release counts as one release toward a required interval. Patch releases do not count toward that interval and do not change lifecycle status. Given the rapid evolution of agent technology, Flink Agents plans to increase its release cadence after 1.0. This proposal combines release intervals and elapsed time to set a default promotion deadline for `Experimental` interfaces and a minimum retirement window for `Deprecated` interfaces. | Classification or status | Meaning | Rules | | --- | --- | --- | | `Stable` | APIs formally supported for users | Maintain source compatibility and YAML/configuration compatibility. Changes that require breaking compatibility must follow the deprecation and retirement rules in §5.3. | | `Experimental` | Public interfaces that are not yet stable; incomplete features additionally carry `in_progress` | Compatibility is not guaranteed across minor/major upgrades. Patch upgrades within the same minor series must remain compatible. New APIs use this classification by default; promotion follows §5.2. | | `Internal` | Internal implementations, not public interfaces | These are not supported user interfaces and carry no compatibility guarantee. Users should not depend on them, even when they reside in the API module. | | `Deprecated` | A lifecycle status for a `Stable` API scheduled for retirement | The original stability classification and its compatibility obligations remain in effect. Removal is allowed only after at least two subsequent minor or major releases and at least six months from the first official minor or major release carrying the `Deprecated` status. | Java, Python, YAML APIs, and configuration use the same stability semantics. `Deprecated` is a lifecycle status, not another stability classification. For example, a `Stable` API marked `Deprecated` continues to follow the `Stable` rules until it is removed. Java source compatibility means that users can recompile their existing application source code after upgrading dependencies. Python source compatibility means that existing imports, public names, and calling conventions remain valid. The protected surface includes parameters, return values, public contracts, and extension points that users subclass or implement. For example, adding a method that users must implement to a `Stable` interface, or removing an existing default implementation and requiring users to provide their own, is a breaking change. Such changes must follow the default implementation retirement process in §5.3, including a compatible transition and a migration window. This proposal does not guarantee Java binary compatibility; users may be required to recompile after an upgrade. For `Stable` YAML fields and configuration options, existing valid configurations must remain accepted and retain their documented meaning. Removing or renaming a field, adding a required field, narrowing accepted values, changing a default, or changing the meaning of an existing configuration is a breaking change. Such changes must provide replacement fields or options under §5.3 and retire the old ones through the `Deprecated` process. When a capability is withdrawn entirely without a replacement, the corresponding rules in §5.3 apply. `Experimental` fields and options may change incompatibly in minor/major upgrades without a `Deprecated` window, but patch upgrades within the same minor series must remain compatible. The `Stable` compatibility guarantee is subject to these retirement rules: once the `Deprecated` window has been satisfied, an old API may be removed in a minor or major release without waiting for a major release. `Experimental` APIs do not require a `Deprecated` window. ## 5. Stability Markers and Lifecycle <img width="2280" height="2820" alt="image" src="https://github.com/user-attachments/assets/feb00a0b-98aa-4344-8530-6df8bbdf72c7" /> On feature completion, remove `in_progress` and set `since` to that release. Promotion is expected once both one subsequent minor/major release and three months have elapsed from `since`; retaining `Experimental` after that deadline requires an explicit reason. Deprecation must be accompanied by migration or mitigation guidance, and `Stable` compatibility obligations remain in effect until removal. Lifecycle changes for user-facing APIs in this diagram occur only in minor/major releases; patch releases do not change lifecycle status. `Deprecated` is applied on top of `Stable`. Downgrading an API to `Experimental` or `Internal` must not be used to bypass the retirement window. ### 5.1 Stability Markers #### Classification and Defaults Interfaces within the scope of this proposal must have a stability classification, either explicitly declared or inherited according to the defined rules. New user-facing interfaces, as well as new members, YAML fields, configuration options, and initialization parameters added to published types, objects, or Resources, must be explicitly marked `Experimental`. Set `in_progress` and `since` according to the rules below. Public interfaces for incomplete features are marked `Experimental` with `in_progress`, and omit `since`. Once the feature is complete and the applicable Java/Python/YAML interfaces are consistent, remove `in_progress` and set `since` to the release that formally makes the interface available to users. Capabilities that apply only to a specific language or do not apply to YAML must be explained and agreed upon during design review. #### Markers for Each Interface Type For `Stable` and `Experimental`, `since` records the first release that formally makes the interface available to users under its current classification. The optional `in_progress` parameter on `Experimental` indicates an incomplete feature, in which case `since` is omitted. `Internal` does not require `since`. The deprecation version is recorded separately and does not replace the original stability metadata. Review and retirement periods are calculated from the official release dates in a shared release record. Calendar periods are calculated by adding the specified number of months to the release date; if the target month has no corresponding day, use its last day. Dates are not duplicated in interface markers. Java uses annotations, Python uses decorators, YAML records metadata in schema definitions, and configuration records metadata in option declarations. These forms share stability and lifecycle semantics without requiring identical syntax. Where they represent the same user-facing capability, their classifications and lifecycles should be consistent and displayed in the API, YAML, and configuration reference documentation. Built-in integration initialization parameters are declared through `ResourceOption` and use the same marking approach as configuration options. The examples below illustrate the proposed marking mechanisms. Classifications, version numbers, and placeholder method names are illustrative, and unrelated implementation details are omitted. New markers, configuration classes, metadata, and the associated checking and documentation tools will be implemented later. ##### Java API Use `@Stable(since = "...")`, `@Experimental(since = "...")`, or `@Internal` on classes, interfaces, or members. For incomplete interfaces, use `@Experimental(inProgress = true)` without `since`. For example, in `api/.../resource/ResourceContext.java`: ```java @Stable(since = "1.0.0") public interface ResourceContext { Resource getResource(String name, ResourceType type) throws Exception; // Other methods omitted. } ``` Members may inherit the classification of their enclosing type; exceptions are marked explicitly. On deprecation, retain the original classification, add Java's standard `@Deprecated(since = "...")`, and describe the migration path in Javadoc: ```java /** @deprecated Since 1.2.0. Use newMethod() instead. */ @Stable(since = "1.0.0") @Deprecated(since = "1.2.0") public void oldMethod() { // Retain the existing implementation. } ``` ##### Python API Provide `@stable(since="...")`, `@experimental(since="...")`, and `@internal` for classes, functions, and methods. For incomplete interfaces, use `@experimental(in_progress=True)` without `since`. Stability decorators record metadata without changing invocation behavior. Member classification inheritance and explicit overrides follow the same rules as Java. For example, in `python/flink_agents/api/resource_context.py`: ```python @stable(since="1.0.0") class ResourceContext(ABC): @abstractmethod def get_resource( self, name: str, resource_type: "ResourceType" ) -> "Resource": """Get another resource declared in the same Agent.""" ``` Deprecation is marked separately, with the first deprecation version and the replacement path documented: ```python @deprecated(since="1.2.0") @stable(since="1.0.0") def old_method(self): ... ``` ##### YAML API `docs/yaml-schema.json` must be generated automatically from the YAML API definitions in `python/flink_agents/api/yaml/specs.py` and must not be edited manually. Changes to the YAML API must update the source definitions and regenerate the schema. The generator writes an automatically generated file notice in the top-level `$comment`, and the repository documentation identifies the source definitions and generation command. YAML lifecycle metadata is maintained in the Python definitions and exported to JSON Schema. Java Spec classes do not duplicate YAML lifecycle markers. Add stability metadata to `json_schema_extra` on models or fields, for example, the existing `AgentSpec.subagents` field: ```python class AgentSpec(BaseModel): # Other fields omitted. subagents: List[SubagentSpec] = Field( default_factory=list, json_schema_extra={ "x-stability": "experimental", "x-since": "1.1.0", }, ) ``` Field types, requiredness, and defaults are defined by the model. `json_schema_extra` records stability and lifecycle metadata, which is included in the generated JSON Schema. For incomplete fields, use `"x-stability": "experimental"` and `"x-in-progress": true`, omitting `x-since`. YAML fields and the code APIs of their corresponding Java/Python model classes maintain their stability classifications separately. The `x-` prefix distinguishes custom metadata from standard keywords. Users do not need to include these markers in their own YAML files. When deprecating a field, retain its original classification and add separate deprecation information. For example, schema metadata for an old field could be: ```json { "x-stability": "stable", "x-since": "1.0.0", "deprecated": true, "x-deprecated-since": "1.2.0", "x-replacement": "new_field" } ``` Fields may inherit the classification of their containing object; exceptions are marked explicitly. `deprecated` marks a field as deprecated, but the old field remains usable. ##### Configuration Java and Python use Flink Agents' own `ConfigOption`; the Python implementation does not depend on a Java Gateway. Both implementations add `description` to describe an option's meaning, units, and usage notes for automatically generated configuration reference documentation. Types, defaults, and similar information are read directly from structured declarations and do not need to be repeated in descriptions. Framework configuration options are declared through `ConfigOption`. Tools distinguish them from `ResourceOption` initialization parameters by type. Stability markers apply to individual option declarations. Using the existing `trace-log.pretty-print` option as an example, Java marks the configuration constant: ```java @Stable(since = "1.0.0") public static final ConfigOption<Boolean> TRACE_LOG_OUTPUT_PRETTY_PRINT = new ConfigOption<>("trace-log.pretty-print", Boolean.class, false); ``` Python assignment statements cannot use decorators directly, so optional metadata keyword arguments are proposed for the existing `ConfigOption`. For incomplete options, use `stability="experimental", in_progress=True` without `since`; Java uses `@Experimental(inProgress = true)`. An example of a complete option is: ```python TRACE_LOG_OUTPUT_PRETTY_PRINT = ConfigOption( key="trace-log.pretty-print", config_type=bool, default=False, stability="stable", since="1.0.0", ) ``` When deprecating an option, Java adds `@Deprecated(since = "...")` to the constant and documents the replacement. Python adds `deprecated_since` and `replacement` metadata while retaining the original `stability` and `since`. If there is no replacement, omit `replacement` and describe the reason for withdrawal and available alternatives or mitigations under §5.3. Options may inherit the classification of their containing object; exceptions are marked explicitly. The same configuration key has the same contract whether set through Java, Python, or a configuration file. Metadata must remain consistent across the two languages and be shown in the configuration reference documentation. Users do not provide stability metadata themselves. ##### Built-in Integrations Java and Python integration initialization parameters are declared through `ResourceOption`. `ResourceOption` extends `ConfigOption`, reusing types, defaults, constraints, descriptions, and lifecycle metadata. Tools discover parameter declarations by type in integration production code, and each declaration must identify its owning Resource. Parameters may be grouped by Resource in configuration classes, such as `OllamaConnectionConfiguration` and `OllamaSetupConfiguration`. When configuration classes are used, Java Resources create configuration objects from `ResourceDescriptor.getInitialArguments()`, while Python creates them from constructor arguments. Parameter parsing consistently applies defaults, converts types, and validates values according to `ResourceOption` declarations. The existing `ConfigOption` contains only a key, type, and default value. It needs to be extended with requiredness, applicable value constraints, and stability and lifecycle metadata. Changing a default or narrowing the accepted value range is also a breaking change. Dynamic defaults and complex constraints are implemented in configuration parsing logic and described in user documentation; they remain subject to the compatibility rules. The following Java Ollama Connection example omits parsing implementation details and declarations of requiredness and value ranges. Python follows the same organization, with option metadata as illustrated in the Python example above. ```java public final class OllamaConnectionConfiguration { @Stable(since = "1.0.0") public static final ResourceOption<String> ENDPOINT = new ResourceOption<>("endpoint", String.class, null); @Experimental(since = "1.1.0") public static final ResourceOption<Long> REQUEST_TIMEOUT = new ResourceOption<>("requestTimeout", Long.class, 60L); // fromArguments parses parameters using these declarations and checks // constraints such as a required endpoint and a positive integer timeout. // Configuration values and accessors omitted. } // In the OllamaChatModelConnection constructor: OllamaConnectionConfiguration config = OllamaConnectionConfiguration.fromArguments( descriptor.getInitialArguments()); this.caller = new OllamaChatEndpointCaller( config.getEndpoint(), null, config.getRequestTimeout()); ``` A configuration class declares the default stability and lifecycle metadata for its Resource's parameters. Parameters may inherit these unless explicitly marked otherwise. New parameters must be explicitly marked `Experimental`, with `in_progress` and `since` set according to the rules above. Deprecation markers follow the configuration rules. Aliases used to reference integrations in YAML and `ResourceName` constants in Java/Python APIs maintain their stability under the YAML API and code API rules, respectively. They do not inherit the stability classification of the parameters. When adding or changing integration parameters, developers must update the `ResourceOption` declarations and parsing logic together. Code reviews and release checks verify that declarations are complete and consistent with actual behavior. ### 5.2 Promotion from `Experimental` to `Stable` For each minor/major release, the Release Manager (RM) reviews `Experimental` interfaces without `in_progress` and records the decisions. Interfaces may be promoted as soon as they are ready, without waiting for the deadline. - Once one subsequent minor/major release and three months have both elapsed from the release and date identified by `since`, promotion to `Stable` is expected. Retaining `Experimental` before the deadline does not require a justification. Retaining it after the deadline requires an explicit reason and reassessment at each subsequent release, without resetting `since`. - On promotion, record the version in which the interface becomes `Stable`. Interfaces that will no longer be developed may be removed directly without a `Deprecated` window. ### 5.3 Deprecation and Removal #### Conditions for Deprecation When replacing an existing `Stable` API, the replacement must reach `Stable` before the old API can be marked `Deprecated`. An `Experimental` replacement does not start the old API's deprecation clock. If a capability is to be withdrawn entirely without a replacement API, this must be agreed upon through community review, with the reason, user impact, and available alternatives or mitigations clearly documented. In either case, the `Deprecated` marker must first be officially published in a minor or major release. Record the first deprecation version, migration or mitigation guidance, and the earliest removal version and date, and publish them in API documentation and release notes. Patch releases do not introduce new `Deprecated` markers or start a new deprecation clock. #### Retirement Window and Removal Removal is allowed in a minor/major release only after both two subsequent minor/major releases and six months have elapsed since the first official release of the `Deprecated` marker. Once the window has elapsed, evaluate whether to remove or retain the interface. Until removal, the original compatibility obligations remain in effect. Existing APIs, YAML fields, and configuration options must remain usable, with deprecation notices where practical. Downgrading `Stable` to `Experimental` or `Internal` must not be used to bypass the window. `Experimental` APIs are not subject to this retirement window. #### Retiring Default Implementations When adding a method to a `Stable` interface that users subclass or implement, first provide a default implementation that preserves existing behavior. To later require users to implement that method themselves, the method must first be `Stable`. In a minor/major release, announce the default implementation's deprecation version, earliest retirement version and date, and migration requirements in the method documentation and release notes. **At the start of the window:** From the first official release of the retirement announcement, the Validator reports an error by default for user types that still rely on the default implementation. Users must either provide an implementation or explicitly enable compatibility mode through an environment variable or configuration option to continue using the old default. Each compatibility switch must apply to a single interface; no global switch is provided. When enabled, a warning still reports that interface's migration requirements and retirement deadline. **Validation entry point:** During `AgentPlan` construction, the Validator checks the concrete types declared by users and their method inheritance against the list of default implementations being retired, without executing user methods. Inheriting a valid implementation from an intermediate superclass also passes validation. Cross-language types that cannot be loaded on the submission side are checked when their respective execution environment starts. Framework maintainers adapt built-in implementations, which are checked in framework CI. **At the end of the window:** Once both two subsequent minor/major releases and six months have elapsed since the first official retirement announcement, the default implementation may be removed and the method made `abstract` in a minor/major release, without an additional transition period. Compatibility switches no longer take effect. Java concrete subclasses that do not implement the method fail to recompile, and Python subclasses that remain abstract cannot be instantiated. The default implementation is being retired; the method itself remains supported and is not marked `Deprecated`. ## 6. Enforcement and Checks CI and human review jointly enforce the policy. CI checks interface declarations and generated files; developers, reviewers, and the RM assess behavioral compatibility and lifecycle decisions. For version comparisons, a patch release is compared with the latest preceding official release in the same minor series. A minor/major release is compared with the latest official release in the preceding minor/major series. Lifecycle deadlines are calculated from historical release records. Breaking changes and migration instructions are maintained in `migration/<target-version>.md` in the repository, for example, `migration/1.2.0.md`. This includes breaking changes to `Experimental` APIs. The record format and migration Skill will be designed separately. ### 6.1 PR Stage Relevant checks are triggered based on changed paths. Changes to API identification rules, shared dependencies, or checking tools trigger a full check of the affected scope. | Check | Developer | Automated CI | Reviewer | | --- | --- | --- | --- | | New interfaces and markers | Add stability and lifecycle markers. | Identify interfaces according to `API.md` and check that markers and required information are complete. | Confirm the classification and feature completeness. | | Compatibility and lifecycle | Explain compatibility impacts and the proposed changes, adapt affected implementations, and add tests. | Compare against the published version and check whether interface declaration changes comply with the compatibility rules. | Review the compatibility of behavioral changes and the suitability of replacement or retirement plans. | | YAML Schema and configuration documentation | After changing declarations, regenerate and commit `docs/yaml-schema.json` or the corresponding configuration and integration parameter reference documentation. | Regenerate these files and check that they match the committed versions. | Review fields, options, and descriptions for correctness. | | Breaking changes and migration instructions | Update `migration/<target-version>.md` in the same PR, documenting user impact and migration or mitigation steps. | Summarize detected deprecations, removals, and breaking changes. | Confirm that the record is complete and the migration plan is viable. | The PR must be corrected if CI checks or relevant tests fail. Failure conditions include missing markers or required information, declaration changes that violate the rules in Chapters 4 and 5, generation failures, and mismatches between generated and committed files. ### 6.2 Release Stage Before release, run all checks on the release candidate without skipping checks based on PR paths. The RM coordinates the release assessment with the relevant developers and reviewers. | Check | Automated CI | Human confirmation coordinated by the RM | | --- | --- | --- | | Full release checks | Run all checks from §6.1 on the release's cumulative changes and verify retirement windows using the final version and release date. | Confirm that checks pass and review issues have been resolved. | | Lifecycle assessment | List `in_progress` and `Experimental` interfaces, and `Deprecated` interfaces whose retirement windows have elapsed, with applicable deadlines. | Follow Chapter 5 to decide whether features are complete, whether interfaces should be promoted, and whether to remove or retain them. Record the decisions. | | Release and migration information | List interfaces added, deprecated, or removed in the release, along with detected breaking changes. | Check the completeness of `migration/<target-version>.md`; summarize upgrade impacts and link to that file in release notes, and record the release date. | Lifecycle changes occur only in minor/major releases. Patch releases maintain compatibility under Chapter 4 and do not change lifecycle status. Rerun relevant checks whenever the candidate code, target version, or release date changes. ## 7. Comparison with Other Frameworks | Framework | Official policy or observed migration practice | Relevance to this proposal | | --- | --- | --- | | Apache Flink | Uses `Public`, `PublicEvolving`, and `Experimental` classifications. `Public` preserves source compatibility between minor releases within a major version; removal requires satisfying a deprecation window and waiting for a major release. `PublicEvolving` may change in minor releases. [Official policy](https://nightlies.apache.org/flink/flink-docs-stable/docs/ops/upgrading/) | We adopt interface classifications and deprecation windows, without introducing `PublicEvolving`. This proposal allows removal of `Stable` APIs once both two subsequent minor or major releases and six months have elapsed, making its commitment less restrictive than Flink's `Public` policy. | | LangChain / LangGraph | The versioning policy distinguishes stable, beta, alpha, deprecated, and internal APIs. Breaking changes to stable APIs and removal of deprecated APIs are reserved for major releases. Migration guides and, where available, automated migration tools are provided. [Versioning policy](https://docs.langchain.com/oss/python/versioning) | Both approaches distinguish maturity levels and provide migration support. This proposal allows API removal in a minor release once the retirement window is satisfied, making its stable API commitment less restrictive. | | CrewAI | Official release notes list features, fixes, and documentation changes by version. The release records reviewed are insufficient to establish whether CrewAI has a corresponding per-API classification scheme and a uniform retirement policy combining release intervals and elapsed time. [Release history](https://github.com/crewAIInc/crewAI/releases) | Centralizing changes by version helps users understand upgrade impacts. | | AutoGen | The official documentation describes 0.2 → 0.4 as a rewrite with breaking changes and provides code migration guidance organized around capabilities such as model clients, agents, and teams. [Migration guide](https://microsoft.github.io/autogen/0.4.4/user-guide/agentchat-user-guide/migration-guide.html) | Migration examples organized by capability can help users adapt to breaking changes. | | AgentScope Python | The 2.0 migration work reorganizes existing capabilities and interfaces. For example, an official migration issue consolidates RAG and long-term memory into a unified abstraction. [Migration issue](https://github.com/agentscope-ai/agentscope/issues/1663) | Agent frameworks need room to restructure interfaces. `Experimental` reviews and `Deprecated` windows are intended to make such evolution more predictable. | | AgentScope Java | The 2.0 documentation explicitly identifies breaking API changes and provides a V1 Migration Guide, distinguishing required migrations from recommended changes. [Official documentation](https://github.com/agentscope-ai/agentscope-java/blob/main/docs/v2/en/docs/change-log.md) | Distinguishing required migration steps from recommended adjustments helps users prioritize their work. | GitHub link: https://github.com/apache/flink-agents/discussions/1449 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
