-
Notifications
You must be signed in to change notification settings - Fork 2.7k
docs(agents): create extensive docs for various createReactAgent features #8628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
1c5067c
to
533f44f
Compare
cb22abf
to
4e6732a
Compare
* - Intelligent Workflow Management: | ||
* Enables tools to coordinate with each other and avoid redundant actions | ||
* | ||
* Example Scenario: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe better example: using a sub agent as a tool. you want to pass all message to sub agent which is inside tool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to:
A supervisor agent has a
delegate_to_subagent
tool. When the user asks for a conversation-wide summary or action items, the supervisor calls the tool, which passes the full message history plus a task to the sub-agent. The sub-agent returns a polished result back to the supervisor.
* - Specialized Routing: Directs different types of queries to models that excel in those particular domains | ||
* | ||
* Example Scenario: | ||
* You're building a coding assistant that handles both simple syntax questions and complex algorithm design. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: we can access state, long term memory, and context before we update the model to use, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is correct!
@hwchase17 thanks for the feedback, I've update the examples accordingly. |
This patch aims to create examples for the following features characterizing
createReactAgent
:Note:
langchain
dependency tests are failing due to the fact that we haven't published any version for@langchain/agents
. We still may move the code intolangchain
directly.