Skip to content

[Feature]: Add AG2 provider support #2841

@VasiliyRad

Description

@VasiliyRad

Area of Improvement

Python SDK

Feature Name

Add AG2 (AutoGen) provider support

Describe the Feature

Summary

This issue proposes adding native support for AG2 as a Composio provider, similar to the existing Autogen integration.
AG2 is one of the most widely adopted AI agent frameworks, with 20,000+ developers and ~400,000 monthly downloads. While AG2 and Autogen share the same PyPI package (ag2/autogen are aliases), AG2 has its own distinct identity, community, and branding. Developers building with AG2 would benefit from a first-class Composio integration under the composio-ag2 package name.

Use Case / Motivation

AG2 users currently have no dedicated Composio provider — they would need to use composio-autogen and know it's compatible, which is not obvious.
A dedicated composio-ag2 package improves discoverability and the developer experience for the AG2 community.
This mirrors how other frameworks (e.g. LangChain, CrewAI) have their own provider packages.

Proposed Solution or API Design (Optional)

Add a composio_ag2 provider package under python/providers/ag2/
The provider wraps Composio tools as FunctionTool objects compatible with AG2's ConversableAgent
Include a working demo (ag2_demo.py) and documentation page
The implementation can delegate to or extend AutogenProvider to avoid code duplication

Who does this impact?

  • Developers using the SDK
  • AI Agent frameworks (LangChain, OpenAI, etc.)
  • Dashboard users
  • End users of connected apps

Related Issues / References

No response

Would you like to contribute to this feature?

  • Yes, I can help implement it
  • Maybe, I can help test or review
  • No, just sharing the idea

Additional Context

#2615

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions