Skip to main content
AutoGen is a framework for building LLM applications with multiple agents that converse to solve tasks. It works with DeepInfra via the OpenAI-compatible API.

Installation

Configuration

Point AutoGen at the DeepInfra endpoint using base_url:
You can use any OpenAI-compatible LLM from DeepInfra.

How it works

In the example above, two agents converse to solve the task:
  1. The assistant agent generates a Python code snippet to get the current time
  2. The user_proxy agent automatically detects and executes the code block
  3. The result is sent back to the assistant, which summarizes it
Example output: