Autogen

Latest version: v0.7.3

Safety actively analyzes 702026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 12

0.4.0.dev13

What's new

- An initial version of the migration guide is ready. [Find it here!](https://microsoft.github.io/autogen/0.4.0.dev13/user-guide/agentchat-user-guide/migration-guide.html) (https://github.com/microsoft/autogen/pull/4765)
- Model family is now available in the model client (https://github.com/microsoft/autogen/pull/4856)

Breaking changes

- Previously deprecated module paths have been removed (https://github.com/microsoft/autogen/pull/4853)
- `SingleThreadedAgentRuntime.process_next` is now blocking and has moved to be an internal API (https://github.com/microsoft/autogen/pull/4855)

Fixes

* Fix SingleThreadedAgentRuntime busy loop by jackgerrits in https://github.com/microsoft/autogen/pull/4855
* Fix BaseOpenAIChatCompletionClient token usage by gziz in https://github.com/microsoft/autogen/pull/4770

Doc changes

* Migration guide for 0.4 by ekzhu in https://github.com/microsoft/autogen/pull/4765
* Clarify tool use in agent tutorial by ekzhu in https://github.com/microsoft/autogen/pull/4860
* AgentChat tutorial update to include model context usage and langchain tool by ekzhu in https://github.com/microsoft/autogen/pull/4843
* Add missing model context attribute by Leon0402 in https://github.com/microsoft/autogen/pull/4848

Other

* Replace Tuple[type[ChatMessage], ...] with Sequence[type[ChatMessage]] by ekzhu in https://github.com/microsoft/autogen/pull/4857
* Make `register_factory` a user facing API by jackgerrits in https://github.com/microsoft/autogen/pull/4854
* Move intervention objects to root module by jackgerrits in https://github.com/microsoft/autogen/pull/4859


New Contributors
* Leon0402 made their first contribution in https://github.com/microsoft/autogen/pull/4848

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.4.0.dev12...v0.4.0.dev13

0.4.0.dev12

Important Changes
* `run` and `run_stream` now support a list of messages as `task` input.
* Introduces `AgentEvent` union type in AgentChat, for all messages that are not meant to be consumed by other agents. Replace `AgentMessage` with `AgentEvent | ChatMessage` union type in your code, e.g., in your custom selector function for `SelectorGroupChat` and processing code for `TaskResult.messages`.
* Introduce `ToolCallSummaryMessage` to `ChatMessage` for tool call results from agents. Read [AssistantAgent Doc](https://microsoft.github.io/autogen/0.4.0.dev12/reference/python/autogen_agentchat.agents.html#autogen_agentchat.agents.AssistantAgent)
* Introduce `ModelContext` parameter for `AssistantAgent`, allow usage of [`BufferedChatCompletionContext`](https://microsoft.github.io/autogen/0.4.0.dev12/reference/python/autogen_core.model_context.html#autogen_core.model_context.BufferedChatCompletionContext) to limit context window size sent to model.
* Introduce `ComponentConfig` and add configuration loader for `ChatCompletionClient`. See [Component Config](https://microsoft.github.io/autogen/0.4.0.dev12/user-guide/core-user-guide/framework/component-config.html)
* Moved `autogen_core.tools.PythonCodeExecutorTool` to `autogen_ext.tools.code_execution.PythonCodeExecutionTool`.
* Documentation updates.

Upcoming Changes
* Deprecating `message_handler`. Use `event` or `rpc` to annotate handlers instead. `message_handler` will be kept with a deprecation warning until further notice. 4828
* Token counting mechanism bug fixes 4719

New Contributors
* hsm207 made their first contribution in https://github.com/microsoft/autogen/pull/4655
* iamarunbrahma made their first contribution in https://github.com/microsoft/autogen/pull/4500
* inbal2l made their first contribution in https://github.com/microsoft/autogen/pull/4717
* r-bit-rry made their first contribution in https://github.com/microsoft/autogen/pull/4759
* jspv made their first contribution in https://github.com/microsoft/autogen/pull/4755
* akurniawan made their first contribution in https://github.com/microsoft/autogen/pull/4681
* lanbaoshen made their first contribution in https://github.com/microsoft/autogen/pull/4767
* srjoglekar246 made their first contribution in https://github.com/microsoft/autogen/pull/4801
* richard-gyiko made their first contribution in https://github.com/microsoft/autogen/pull/4826
* kimmywork made their first contribution in https://github.com/microsoft/autogen/pull/4732

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.4.0.dev11...v0.4.0.dev12

0.4.0.dev11

Important Changes:

1. `autogen_agentchat.agents.AssistantAgent` behavior has been updated in dev10. It will not perform multiple rounds of tool calls -- only 1 round of tool call, followed by an optional reflection step to provide a natural language response. Please see the [API doc for `AssistantAgent`](https://microsoft.github.io/autogen/dev/reference/python/autogen_agentchat.agents.html#autogen_agentchat.agents.AssistantAgent).
2. Module renamings:
- `autogen_core.base` --> `autogen_core`
- `autogen_core.application.SingleThreadedAgentRuntime` --> `autogen_core.SingleThreadedAgentRuntime`.
- `autogen_core.application.logging` --> `autogen_core.logging`.
- `autogen_core.components.*` --> `autogen_core.*`, for `models`, `model_context`, `tools`, `tool_agent` and `code_executor`.
- `autogen_core.components.code_executor.LocalCommandLineCodeExecutor` --> `autogen_ext.code_executors.local.LocalCommandLineCodeExecutor`
- `autogen_agentchat.task.Console` --> `autogen_agentchat.ui.Console`.
- `autogen_agentchat.task.<termination conditions>` --> `autogen_agentchat.conditions.<termination_conditions>`.
- `autogen_ext.models` gets divided into `autogen_ext.models.openai`, `autogen_ext.models.replay`.
- `autogen_ext.agents` gets divided into separate submodules for each extension agent class.
- `autogen_ext.code_executors` gets divided into separate submodules for each executor class.

New Contributors
* eranco74 made their first contribution in https://github.com/microsoft/autogen/pull/4639

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.4.0.dev9...v0.4.0.dev11

0.2.40

What's Changed
* Add warning message when NoEligibleSpeaker by thinkall in https://github.com/microsoft/autogen/pull/4535
* [Bug]: Bedrock client uses incorrect environment variables for authentication by vaisakh-prod in https://github.com/microsoft/autogen/pull/4657
* fix "keep_first_message" to make sure messages are in correct order, by milkmeat in https://github.com/microsoft/autogen/pull/4653
* fix: No context vars for async agents replies by violonistahiles in https://github.com/microsoft/autogen/pull/4640
* update version by ekzhu in https://github.com/microsoft/autogen/pull/4713

New Contributors
* vaisakh-prod made their first contribution in https://github.com/microsoft/autogen/pull/4657
* milkmeat made their first contribution in https://github.com/microsoft/autogen/pull/4653
* violonistahiles made their first contribution in https://github.com/microsoft/autogen/pull/4640

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.2.39...v0.2.40

0.2.39

What's Changed
* fix: GroupChatManager async run throws an exception if no eligible speaker by leryor in https://github.com/microsoft/autogen/pull/4283
* Bugfix: Web surfer creating incomplete copy of messages by Hedrekao in https://github.com/microsoft/autogen/pull/4050

New Contributors
* leryor made their first contribution in https://github.com/microsoft/autogen/pull/4283
* Hedrekao made their first contribution in https://github.com/microsoft/autogen/pull/4050

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.2.38...v0.2.39

0.2.38

What's Changed
* docs: fix bullet formatting for kubernetes pod executor by lukehsiao in https://github.com/microsoft/autogen/pull/3911
* Fix 0.2 Quickstart example llm_config issue by victordibia in https://github.com/microsoft/autogen/pull/4060
* Bugfix: Optional rate limiting by kampernet in https://github.com/microsoft/autogen/pull/4066

New Contributors
* lukehsiao made their first contribution in https://github.com/microsoft/autogen/pull/3911
* kampernet made their first contribution in https://github.com/microsoft/autogen/pull/4066

**Full Changelog**: https://github.com/microsoft/autogen/compare/v0.2.37...v0.2.38

Page 2 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.