Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build multi-agent conversational systems using AutoGen with Composio Tool Router.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 66% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 2% | 0% |
Build multi-agent conversational systems using AutoGen with Composio Tool Router.
bash# For AgentChat (conversational agents) pip install composio-autogen autogen-agentchat autogen-ext[openai] # For AutoGen Studio (UI-based) pip install autogenstudio
Find Latest Versions:
bashpip index versions autogen-agentchat | grep "Available versions" | head -1 pip index versions composio-autogen | grep "Available versions" | head -1
AutoGen is an agentic provider - use Tool Router for user isolation.
pythonimport asyncio from autogen_agentchat.agents import AssistantAgent from autogen_ext.models.openai import OpenAIChatCompletionClient from composio_autogen import ComposioToolSet, App toolset = ComposioToolSet() async def create_agent(user_id: str): # Create session session = toolset.create( user_id=user_id, toolkits=["github"], manage_connections=True ) tools = session.tools() # Create agent with tools agent = AssistantAgent( name="github_agent", model_client=OpenAIChatCompletionClient(model="gpt-4o"), tools=tools, system_message="You manage GitHub repositories" ) return agent async def main(): agent = await create_agent("user_123") result = await agent.run(task="Create a GitHub issue titled 'Bug Report'") print(result) asyncio.run(main())
pythonimport asyncio from autogen_agentchat.agents import AssistantAgent from autogen_agentchat.teams import RoundRobinGroupChat from autogen_ext.models.openai import OpenAIChatCompletionClient from composio_autogen import ComposioToolSet, App toolset = ComposioToolSet() async def create_team(user_id: str): # Create session session = toolset.create( user_id=user_id, toolkits=["github", "slack"], manage_connections=True ) tools = session.tools() # Create specialized agents github_agent = AssistantAgent( name="github_agent", model_client=OpenAIChatCompletionClient(model="gpt-4o"), tools=tools, system_message="You manage GitHub" ) slack_agent = AssistantAgent( name="slack_agent", model_client=OpenAIChatCompletionClient(model="gpt-4o"), tools=tools, system_message="You manage Slack" ) # Create team team = RoundRobinGroupChat( [github_agent, slack_agent], max_turns=10 ) return team async def main(): team = await create_team("user_123") result = await team.run( task="Create a GitHub issue and notify team on Slack" ) print(result) asyncio.run(main())
/building-agentsbashOPENAI_API_KEY=sk-... # Or other LLM provider COMPOSIO_API_KEY=...
/building-agents for comprehensive guidepython/providers/autogen/ for complete examplesOther measured skills in the registry, with their headline benchmark lift.