Cross-Framework LLM Tool for CaptainAgent
Note: If you have been usingAdditionally, this notebook uses LangChain’s DuckDuckGo Search Tool, which requires theautogen
orag2
, all you need to do is upgrade it using:orasautogen
, andag2
are aliases for the same PyPI package.
duckduckgo-search
package. Install it with:
Interoperability
: This module acts as
a bridge, making it easier to integrate LangChain tools with AG2’s
architecture.
Interoperability
to convert the LangChain tool into a format
compatible with the AG2 framework.
tool_lib
argument. This will let the agents within the nested chat
created by CaptainAgent all equipped with the tools. THey can write
python code to call the tools and observe the results.
Note: If you have been usingautogen
orag2
, all you need to do is upgrade it using:orasautogen
, andag2
are aliases for the same PyPI package.
tool_lib
argument, and all the agents created by CaptainAgent gets
access to the tools.