|
1 jaar geleden | |
---|---|---|
.. | ||
README.md | 1 jaar geleden | |
langgraph-agent.ipynb | 1 jaar geleden | |
langgraph-rag-agent-local.ipynb | 1 jaar geleden | |
langgraph-rag-agent.ipynb | 1 jaar geleden | |
tool-calling-agent.ipynb | 1 jaar geleden |
LLM agents use planning, memory, and tools to accomplish tasks.
LangChain offers several different ways to implement agents.
(1) Use agent executor with tool-calling versions of llama3.
(2) Use LangGraph, a library from LangChain that can be used to build reliable agents.
Our first notebook, tool-calling-agent
, shows how to build a tool calling agent with agent executor.
This show how to build an agent that uses web search and retrieval tools.
LangGraph is a library from LangChain that can be used to build reliable agents.
LangGraph can be used to build agents with a few pieces:
Our second notebook, langgraph-agent
, shows how to build an agent that uses web search and retrieval tool in LangGraph.
It discusses some of the trade-offs between agent executor and LangGraph.
Our third notebook, langgraph-rag-agent
, shows how to apply LangGraph to build advanced RAG agents that use ideas from 3 papers:
We implement each approach as a control flow in LangGraph:
We will build from CRAG (blue, below) to Self-RAG (green) and finally to Adaptive RAG (red):
Our fouth notebook, langgraph-rag-agent-local
, shows how to apply LangGraph to build advanced RAG agents that run locally and reliable.
See this video overview for more detail.