Download Latest Version python-v0.6.4 source code.tar.gz (22.8 MB)
Email in envelope

Get an email when there's a new version of AutoGen

Home / python-v0.6.2
Name Modified Size InfoDownloads / Week
Parent folder
python-v0.6.2 source code.tar.gz 2025-06-30 22.8 MB
python-v0.6.2 source code.zip 2025-06-30 23.8 MB
README.md 2025-06-30 6.1 kB
Totals: 3 Items   46.7 MB 0

What's New

Streaming Tools

This release introduces streaming tools and updates AgentTool and TeamTool to support run_json_stream. The new interface exposes the inner events of tools when calling run_stream of agents and teams. AssistantAgent is also updated to use run_json_stream when the tool supports streaming. So, when using AgentTool or TeamTool with AssistantAgent, you can receive the inner agent's or team's events through the main agent.

To create new streaming tools, subclass autogen_core.tools.BaseStreamTool and implement run_stream. To create new streaming workbench, subclass autogen_core.tools.StreamWorkbench and implement call_tool_stream.

tool_choice parameter for ChatCompletionClient and subclasses

Introduces a new parameter tool_choice to the ChatCompletionClients create and create_stream methods.

This is also the first PR by @copliot-swe-agent!

AssistantAgent's inner tool calling loop

Now you can enable AssistantAgent with an inner tool calling loop by setting the max_tool_iterations parameter through its constructor. The new implementation calls the model and executes tools until (1) the model stops generating tool calls, or (2) max_tool_iterations has been reached. This change simplies the usage of AssistantAgent.

OpenTelemetry GenAI Traces

This releases added new traces create_agent, invoke_agent, execute_tool from the GenAI Semantic Convention.

You can also disable agent runtime traces by setting the environment variable AUTOGEN_DISABLE_RUNTIME_TRACING=true.

output_task_messages flag for run and run_stream

You can use the new flag to customize whether the input task messages get emitted as part of run_stream of agents and teams.

Mem0 Extension

Added Mem0 memory extension so you can use it as memory for AutoGen agents.

Improvement to GraphFlow

uv update

We have removed the uv version limit so you can use the latest version to develop AutoGen.

New Contributors

Full Changelog: https://github.com/microsoft/autogen/compare/python-v0.6.1...python-v0.6.2

Source: README.md, updated 2025-06-30