Skip to main content

AI Integrations

SDK 2.0 AI libraries are deprecated

For .NET, AI-specific libraries and older patterns from SDK 2.0 are deprecated. In SDK 2.1, use Microsoft.Teams.Apps as the Teams transport/runtime layer and integrate your preferred AI stack (for example Microsoft Agent Framework, OpenAI SDK, MCP, and A2A) in your handlers.

Microsoft Teams SDK provides the platform and conversational interface for your app while remaining agnostic to the underlying intelligence. You can choose any AI framework, model, or protocol that suits your scenario and integrate it into your message handlers. The samples below walk through a few common ways to do that, from a single bot reasoning with an agent to multiple bots collaborating with each other.