Unified method for loading an agent from LangChainHub or local fs.
Load an agent executor given tools and LLM.
This function is no deprecated in favor of
create_agent from the langchain
package, which provides a more flexible agent factory with middleware
support, structured output, and integration with LangGraph.
For migration guidance, see Migrating to langchain v1 and Migrating from AgentExecutor.
Agent that is using tools.
An enum for agent types.