Skip to main content
AG2 (formerly AutoGen) is an open-source framework for building multi-agent conversational systems. It enables LLM-driven agents to converse with one another, execute code, and complete complex software engineering tasks collaboratively.

Setup

Install the autogen package:

LLM Configuration

AutoGen uses a config_list dictionary array to define provider endpoints. Point base_url to Neosantara and set api_type: "openai".

Two-Agent Collaboration Example

The following example configures an AssistantAgent acting as a backend architect and a UserProxyAgent acting as an engineering lead verifying the plan:

AutoGen Collaboration Patterns

Next Steps