Information
Search Search ⌘K Components Agents Agent components define the behavior and capabilities of AI agents in your flow. Agents use LLMs as a reasoning engine to decide which of the connected tool components to use to solve a problem. Tools in agentic functions are, essentially, functions that the agent can call to perform tasks or access external resources.A function is wrapped as a Tool object, with a common interface 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. The simple agent starter project uses an agent component connected to 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. For a multi-agent example, see Create a problem-solving agent. 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, see the tool calling agent documentation. This component creates a CSV agent from a CSV file and LLM. This component represents an Agent of CrewAI, allowing for the creation of specialized AI agents with defined roles, goals, and capabilities within a crew. For more information, see the CrewAI documentation. This component represents a group of agents, managing how they should collaborate and the tasks they should perform in a hierarchical structure. This component allows for the creation of a crew with a manager overseeing the task execution. For more information, see the CrewAI documentation. This component creates a JSON agent from a JSON or YAML file and an LLM. This component creates an OpenAI Tools Agent using LangChain. For more information, see the LangChain documentation. This component creates an OpenAPI Agent to interact with APIs defined by OpenAPI specifications. For more information, see the LangChain documentation on OpenAPI Agents. This component creates a SQL Agent to interact with SQL databases. This component represents a group of agents with tasks that are executed sequentially. This component allows for the creation of a crew that performs tasks in a specific order. For more information, see the CrewAI documentation. This component creates a CrewAI Task and its associated Agent, allowing for the definition of sequential tasks with specific agent roles and capabilities. For more information, see the CrewAI documentation. This component creates a Tool Calling Agent using LangChain. This component creates a Vector Store Agent using LangChain. This component creates a Vector Store Router Agent using LangChain. This component creates an XML Agent using LangChain. The agent uses XML formatting for tool instructions to the Language Model.