shipfeedAI news, curated daily

01:14:41 CET
21 MAY01:14:41shipfeed
pull to refreshlast sync
Just in — 30 new
§ agents · storyline

AutoGen — python v0.6.0

AutoGen releases Python v0.6.0 with concurrent agent support in GraphFlow, updating the select_speaker method signature to return a list of agent names for fan-out-fan-in patterns.

Jun 5 · · primary fetch1 sourceupdated Jun 5 ·

What's New Change to `BaseGroupChatManager.select_speaker` and support for concurrent agents in `GraphFlow` We made a type hint change to the `select_speaker` method of `BaseGroupChatManager` to allow for a list of agent names as a return value. This makes it possible to support concurrent agents in `GraphFlow`, such as in a fan-out-fan-in pattern. ```python Original signature: async def select_speaker(self, thread: Sequence[BaseAgentEvent | BaseChatMessage]) -> str: ... New signature: async def select_speaker(self, thread: Sequence[BaseAgentEvent | BaseChatMessage]) -> List[str] | str: ... ``` Now you can run `GraphFlow` with concurrent agents as follows: ```python import asyncio from autogen_agentchat.agents import AssistantAgent from autogen_agentchat.conditions import MaxMessageTermination from autogen_agentchat.teams import DiGraphBuilder, GraphFlow from autogen_ext.models.openai import OpenAIChatCompletionClient async def main(): # Initialize agents with OpenAI model clients.

model_client = OpenAIChatCompletionClient(model="gpt-4.1-nano") agent_a = AssistantAgent("A", model_client=model_client, system_message="You are a helpful assistant.") agent_b = AssistantAgent("B"…

read full article on github.com
§ sources1 publication · timeline below
  1. github.comautogen python-v0.6.0primary