text: Skip to main contentğŸ¦œï¸�ğŸ”— LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKUse casesQA and Chat over DocumentsAnalyzing structured dataExtractionInteracting with APIsChatbotsSummarizationCode UnderstandingAgent simulationsAgentsBabyAGI User GuideBabyAGI with ToolsCAMEL Role-Playing Autonomous Cooperative AgentsCustom Agent with PlugIn RetrievalPlug-and-Plaimulti_modal_output_agentSalesGPT - Your Context-Aware AI Sales Assistant With Knowledge BaseWikibase AgentAutonomous (long-running) agentsMulti-modalUse casesAgentsPlug-and-PlaiOn this pagePlug-and-PlaiThis notebook builds upon the idea of plugin retrieval, but pulls all tools from plugnplai - a directory of AI Plugins.Set up environmentâ€‹Do necessary imports, etc.Install plugnplai lib to get a list of active plugins from https://plugplai.com directorypip install plugnplai -q        [notice] A new release of pip available: 22.3.1 -> 23.1.1    [notice] To update, run: pip install --upgrade pip    Note: you may need to restart the kernel to use updated packages.from langchain.agents import (    Tool,    AgentExecutor,    LLMSingleActionAgent,    AgentOutputParser,)from langchain.prompts import StringPromptTemplatefrom langchain import OpenAI, SerpAPIWrapper, LLMChainfrom typing import List, Unionfrom langchain.schema import AgentAction, AgentFinishfrom langchain.agents.agent_toolkits import NLAToolkitfrom langchain.tools.plugin import AIPluginimport reimport plugnplaiSetup LLMâ€‹llm = OpenAI(temperature=0)Set up pluginsâ€‹Load and index plugins#