autogen
or ag2
, all you need to do is upgrade it using:autogen
and ag2
are aliases for the same PyPI package.AssistantAgent
and UserProxyAgent
are the agents for interaction within AG2.Interoperability
is what helps connect LangChain tools with AG2.config_list
is where you define the LLM configuration, like the model and API key.UserProxyAgent
simulates user inputs without requiring actual human interaction (set to NEVER
).AssistantAgent
represents the AI agent, configured with the LLM settings.Interoperability
helps convert the LangChain tool to AG2’s format.user_proxy
and chatbot
.