What is the Microsoft 365 Agents SDK (original) (raw)

The Microsoft 365 Agents SDK is a development framework for building conversational agents. Conversational agents are software that can receive messages from users, process them, and respond. Think of it as the plumbing layer between a user sending a message (whether in Teams, a website, Slack, or elsewhere) and whatever logic you built to respond to that message.

The SDK handles the mechanics of receiving and sending messages across different surfaces, so developers can focus on what the agent actually does rather than on low-level communication protocols.

Supported languages

The Agents SDK supports:

Three problems the Agents SDK solves

How it fits together

At its core, the SDK does three things when a message arrives:

  1. Receives the message from whatever channel sent it (Teams, web chat, Slack, and so on) and normalizes it into a common format called an Activity.
  2. Routes the activity to the appropriate handler in your agent code. For example, a message activity triggers one handler, a user joining a conversation triggers another.
  3. Sends the response back through the same channel, translating your response back into the format that channel expects.

Developers write handlers for the activity types they care about. The SDK handles everything else, including authentication, message format translation, and channel connectivity.

What the Agents SDK is not

The Agents SDK isn't an AI model, an orchestration engine, or a no-code builder. The Agents SDK doesn't decide what an agent says. These elements are the job of whatever AI service or business logic the developer wires into the agent. The Agents SDK is the framework that gets messages to and from that logic reliably, across channels, with conversation state intact.

Next steps