Skip to content

Commit ce4e5fb

Browse files
authored
Modify langgraph agent to use same tools as tool-use-agent (meta-llama#493)
2 parents c1f8de2 + 6d7f6ff commit ce4e5fb

File tree

3 files changed

+1239
-450
lines changed

3 files changed

+1239
-450
lines changed

recipes/use_cases/agents/langchain/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ AgentExecutor is the runtime for an agent. AgentExecutor calls the agent, execut
1616

1717
Our first notebook, `tool-calling-agent`, shows how to build a [tool calling agent](https://python.langchain.com/docs/modules/agents/agent_types/tool_calling/) with AgentExecutor and Llama 3.
1818

19-
This shows how to build an agent that uses web search and retrieval tools.
19+
This shows how to build an agent that uses web search, text2image, image2text, and text2speech tools.
2020

2121
---
2222

@@ -29,9 +29,9 @@ LangGraph can be used to build agents with a few pieces:
2929
- **Memory:** Persist information (graph state) across these steps
3030
- **Tool use:** Modify state at any step
3131

32-
Our second notebook, `langgraph-agent`, shows how to build a Llama 3 powered agent that uses web search and retrieval tool in LangGraph.
32+
Our second notebook, `langgraph-agent`, shows an alternative way to AgentExecutor to build a Llama 3 powered agent in LangGraph.
3333

34-
It discusses some of the trade-offs between AgentExecutor and LangGraph.
34+
It discusses some of the trade-offs between AgentExecutor and LangGraph.
3535

3636
---
3737

recipes/use_cases/agents/langchain/langgraph-agent.ipynb

Lines changed: 589 additions & 367 deletions
Large diffs are not rendered by default.

recipes/use_cases/agents/langchain/tool-calling-agent.ipynb

Lines changed: 647 additions & 80 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)