Changing tools depending on state in create_react_agent #4838
maxfriedrich
started this conversation in
Ideas
Replies: 1 comment
-
Perhaps this would be of some help, tools are dynamically selected at runtime: https://github.com/langchain-ai/langgraph-bigtool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, in our agent, we would like to change the available tools depending on the state, e.g.
We can of course build our own ReAct-style agent that has this feature but I was wondering if this would this make sense to add to
create_react_agent
. I imagine something like passing aCallable[[StateSchema], Tools]
to thetools=...
parameter that is evaluated before each turn.Curious what you think!
Beta Was this translation helpful? Give feedback.
All reactions