[](https://js.langchain.com/docs/how_to/chatbots_tools/): LLM should read this page when: (1) building a conversational chatbot with tool integration, (2) adding retrieval capabilities to a chatbot, (3) learning how to manage conversation history in chatbots. This page explains how to create a conversational agent (chatbot) that can interact with other systems and APIs using tools. It provides step-by-step instructions on setting up the required dependencies, instantiating chat models, creating an agent with tools, running the agent, handling conversational responses, and managing chat history.

