Yes, just think of your agent like a chain in the example here . In summary, you can do: agent = ... tools = [ Tool.from_function( func=agent.run, name="AgentXYZ", description="useful for when you need to deal with xyz" ), ] Answer from TheNano100 on reddit.com
🌐
Langchain
docs.langchain.com › oss › python › langchain › agents
Agents - Docs by LangChain
March 29, 2026 - To define an agent with static tools, pass a list of the tools to the agent. Tools can be specified as plain Python functions or coroutines.The tool decorator can be used to customize tool names, descriptions, argument schemas, and other properties. ...
🌐
Medium
medium.com › @emil.azadian › using-agents-as-tools-in-langchain-1758878792b2
Using Agents as Tools in LangChain | by Emil Azadian | Medium
June 4, 2023 - Note that as always, it’s important to give the function your tool uses detailed and verbose docstrings — this is additional info for your agent to decide whether this tool is appropriate to use at any given point · from langchain.tools import StructuredTool def inventory_value_calculator(inventory_item_prices: list) -> float: """ This function helps you calculate the sum of prices of multiple inventories given a list of prices.
Discussions

Force LangChain agent to use a tool - Stack Overflow
Is there a way to force a LangChain agent to always use a tool? (my specific use case: I need the agent to look for information in my database as opposed to generally accessible information and my ... More on stackoverflow.com
🌐 stackoverflow.com
[Project] Building Multi task AI agent with LangChain and using Aim to trace and visualize the executions

Very interesting project! Would it be fair to say that this effectively adds observability to LLM chains?

More on reddit.com
🌐 r/MachineLearning
15
73
April 14, 2023
Tool Juggler: A Customizable AI Assistant Tool Manager Built on Langchain 🛠️

Hey AI enthusiasts! 👋

I'm excited to share a little project I've been working on called Tool Juggler. As someone who couldn't wait to dive into ChatGPT plugins, I decided to create my own solution for creating custom tools for AI assistant and adding them on-the-fly.

Tool Juggler is built on top of the Langchain library, and all custom tools are instances of the langchain.agent.Tool class. The platform aims to provide an easy way to create, upload, and manage these tools, giving you the power to extend your AI assistant's capabilities with ease.

What you'll need:

  • OpenAI API key (designed for GPT-4 models, but GPT-3.5 works too)

  • Docker installed on your computer

Tool Juggler is still in its alpha stage, so it's not without its rough edges. However, I thought it would be great to share it to see what you think.

I'm eager to hear your feedback! Your opinions will help me decide whether to continue developing Tool Juggler and in which direction to take the project. So, please share your thoughts and let me know if you find it useful or interesting!

Creating tools is simple, and the Tool Uploading Documentation provides a step-by-step guide. Also, you can easily auto-generate PDF tools by just dragging and dropping a PDF into the toolbox!

For a more in-depth look at Tool Juggler and its roadmap, check out the GitHub repo.

Thank you for your time, and I'm looking forward to hearing your thoughts and feedback! 🚀

More on reddit.com
🌐 r/OpenAI
9
30
May 1, 2023
Improving GPT-3.5 Langchain Agents

Agreed. After playing around with LangChain for a different purpose, I also found that having different models, some with memory and some without, increased performance on my goal, which was more human-like responses. In general, as a rule, GPT 3.5 is an idiot. GPT 4 is better but so, so, so much slower that it doesn't pay to employ it in anything but the most dire of scenarios. So I do all the preprocessing in 3.5 and then generation of final output in 4.

What language(s) are you working with? You seem like the sort of person whose work I'd be interested in following.

More on reddit.com
🌐 r/OpenAI
8
6
April 30, 2023
🌐
Reddit
reddit.com › r/langchain › can an agent be a tool?
r/LangChain on Reddit: Can an agent be a tool?
May 2, 2023 -

My use case is this:

I will have a well formatted requirement as the initial prompt. Based on the content, I want other calls to the llm to be made, to handle smaller pieces of logic, e.g description="Useful when dealing with xyz", tool would be xyz tool, which takes the relevant information and then does more llm work.

I feel like I've been through all of the readthedocs and can't piece together how to achieve it.

Any ideas or pointers?

🌐
Medium
medium.com › data-science › building-a-simple-agent-with-tools-and-toolkits-in-langchain-77e0f9bd1fa5
Building a simple Agent with Tools and Toolkits in LangChain | by Sami Maameri | TDS Archive | Medium
July 8, 2024 - The tools are basically just methods/classes the agent has access to that can do things like interact with a Stock Market index over an API, update a Google Calendar event, or run a query against a database.
🌐
GeeksforGeeks
geeksforgeeks.org › artificial intelligence › agents-and-tools-in-langchain
Agents and Tools in LangChain - GeeksforGeeks
September 1, 2025 - Agents rely on tool descriptions to decide which tool to invoke. 1. Calculator Tool: Handles numerical calculations and simple logic. Useful for financial, scientific or mathematical tasks. ... Tool(...): Registers the function as a LangChain tool with name and description.
🌐
GitHub
github.com › openai › openai-cookbook › blob › main › examples › How_to_build_a_tool-using_agent_with_Langchain.ipynb
openai-cookbook/examples/How_to_build_a_tool-using_agent_with_Langchain.ipynb at main · openai/openai-cookbook
In particular, you'll be able to create LLM agents that use custom tools to answer user queries.\n", ... "[LangChain](https://python.langchain.com/en/latest/index.html) is a framework for developing applications powered by language models.
Author   openai
🌐
GitHub
github.com › langchain-ai › langchain
GitHub - langchain-ai/langchain: The agent engineering platform. Available in TypeScript! · GitHub
1 week ago - LangChain is a framework for building agents and LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the ...
Starred by 136K users
Forked by 22.5K users
Languages   Python 99.3% | Makefile 0.5% | Shell 0.1% | XSLT 0.1% | HTML 0.0% | Dockerfile 0.0%
Find elsewhere
🌐
LangChain
blog.langchain.com › tool-calling-with-langchain
Tool Calling with LangChain
April 11, 2024 - LangChain already has a create_openai_tools_agent() constructor that makes it easy to build an agent with tool-calling models that adhere to the OpenAI tool-calling API, but this won’t work for models like Anthropic and Gemini.
🌐
Pinecone
pinecone.io › learn › series › langchain › langchain-tools
Building Custom Tools for LLM Agents | Pinecone
We do not cover async tools in this chapter, so, for now, we initialize it with a NotImplementedError. From here, we need to initialize the LLM and conversational memory for the conversational agent. For the LLM, we will use OpenAI’s gpt-3.5-turbo model. To use this, we need an OpenAI API key. When ready, we initialize the LLM and memory like so: from langchain.chat_models import ChatOpenAI from langchain.chains.conversation.memory import ConversationBufferWindowMemory # initialize LLM (we use ChatOpenAI because we'll later define a `chat` agent) llm = ChatOpenAI( openai_api_key="OPENAI_API_KEY", temperature=0, model_name='gpt-3.5-turbo' ) # initialize conversational memory conversational_memory = ConversationBufferWindowMemory( memory_key='chat_history', k=5, return_messages=True )
🌐
LangChain Tutorials
langchain-tutorials.github.io › home
LangChain Agents with Tools Tutorial: Function Calling vs Traditional Tools | LangChain Tutorials
January 10, 2026 - The agent generates a specific text output that includes the tool name and the input for that tool. This output is then processed by LangChain, which runs the tool. After the tool runs, the agent gets the result and continues its thinking.
🌐
GitHub
github.com › langchain-ai › deepagents
GitHub - langchain-ai/deepagents: Python & TypeScript agent harness built with LangChain and LangGraph. Equipped with a planning tool, a filesystem backend, and the ability to spawn subagents - well-equipped to handle complex agentic tasks. · GitHub
2 weeks ago - Python & TypeScript agent harness built with LangChain and LangGraph. Equipped with a planning tool, a filesystem backend, and the ability to spawn subagents - well-equipped to handle complex agentic tasks. - langchain-ai/deepagents
Starred by 22.4K users
Forked by 3.1K users
Languages   Python 98.2% | TypeScript 1.1% | Makefile 0.4% | Shell 0.2% | CSS 0.1% | HTML 0.0%
🌐
Medium
medium.com › @shravankoninti › agent-tools-basic-code-using-langchain-50e13eb07d92
Agent & Tools — Basic Code using LangChain | by Shravan Kumar | Medium
August 25, 2024 - In LangChain, an “Agent” is an AI entity that interacts with various “Tools” to perform tasks or answer queries. Tools are essentially functions that extend the agent’s capabilities by allowing it to perform specific actions, like ...