shipfeedAI news, curated daily

00:32:25 CET
21 MAY00:32:25shipfeed
pull to refreshlast sync
Just in — 30 new
§ agents · storyline

AutoGen — python v0.5.4

AutoGen releases Python v0.5.4 with AgentTool and TeamTool for nesting agents as tools, an Azure AI Agent adapter, and a Docker Jupyter code executor.

Apr 22 · · primary fetch1 sourceupdated Apr 22 ·

What's New Agent and Team as Tools You can use `AgentTool` and `TeamTool` to wrap agent and team into tools to be used by other agents. ```python import asyncio from autogen_agentchat.agents import AssistantAgent from autogen_agentchat.tools import AgentTool from autogen_agentchat.ui import Console from autogen_ext.models.openai import OpenAIChatCompletionClient async def main() -> None: model_client = OpenAIChatCompletionClient(model="gpt-4") writer = AssistantAgent( name="writer", description="A writer agent for generating text.", model_client=model_client, system_message="Write well.", ) writer_tool = AgentTool(agent=writer) assistant = AssistantAgent( name="assistant", model_client=model_client, tools=[writer_tool], system_message="You are a helpful assistant.", ) await Console(assistant.run_stream(task="Write a poem about the sea.")) asyncio.run(main()) ``` See AgentChat Tools API for more information.

[AgentChat] Nested Agents by @EItanya in https://github.com/microsoft/autogen/pull/5924 Azure AI Agent Introducing adapter for Azure AI Agent, with support for file search, code interpreter, and more. See our Azure AI Agent Extension API. Add azure ai agent by @abdomohamed in…

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