Tool object with a common interface that the agent understands. Agents become aware of tools through tool registration, where the agent is provided a list of available tools typically at agent initialization. The Tool object’s description tells the agent what the tool can do.
The agent then uses a connected LLM to reason through the problem to decide which tool is best for the job.
Use an agent in a flow
The simple agent starter project uses an agent component connected to a ,URL and Calculator tools to answer a user’s questions. The OpenAI LLM acts as a brain for the agent to decide which tool to use. Tools are connected to agent components at the Tools port.
Agent component
This component creates an agent that can use tools to answer questions and perform tasks based on given instructions. The component includes an LLM model integration, a system message prompt, and a Tools port to connect tools to extend its capabilities. For more information on this component,Parameters
Parameters
Outputs
JSON Agent
This component creates a JSON agent from a JSON or YAML file and an LLM.Parameters
Parameters
Outputs
Vector Store Agent
This component creates a Vector Store Agent using LangChain.Parameters
Parameters
Inputs
Outputs
Vector Store Router Agent
This component creates a Vector Store Router Agent using LangChain.Parameters
Parameters
Inputs
Outputs