All skills
Agents & Frameworks
🏭

AutoGen

Multi-turn agents from Microsoft Research

What it is

Microsoft open-source framework for building multi-agent conversations where models talk to each other to solve problems. Supports agents with code execution, web browsing, and API calls. AutoGen Studio offers a visual interface for building agent teams without writing Python code.

How to use it, step by step

  1. 1

    Install: pip install -U autogen-agentchat autogen-ext (Python 3.10+).

  2. 2

    Configure the model client (e.g. OpenAI) with your API key.

  3. 3

    Create two or more AssistantAgents with different roles and define how they should interact.

  4. 4

    Start a conversation between the agents: they exchange messages until they reach the result.

  5. 5

    Alternatively, launch AutoGen Studio to build and test teams from a graphical interface.

💡Practical tips

  • Try AutoGen Studio first to grasp the concepts without writing code.
  • Add a 'code executor' agent to have solutions automatically tested and fixed.
  • Define a clear stop condition, otherwise agents can talk to each other forever.

💰Pricing

Open-source and free. You only pay for the models you connect.

Go to AutoGen

The official site opens in a new tab.