-
Notifications
You must be signed in to change notification settings - Fork 1.4k
docs: handoffs conceptual part #1037
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
|
Preview ID generated: preview-eugene-1760992295-3339f36 |
| 2. It passes control (and state) to the **next agent**. | ||
| 3. The **new agent** interacts directly with the user until it decides to hand off again or finish. | ||
| 1. The **current agent** decides it needs to transfer control to another agent. | ||
| 2. It updates a state variable (e.g., `active_agent`) using a tool that modifies the graph state. |
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.
Shouldn't mention graph state potentially
|
Mintlify preview ID generated: preview-eugene-1763415532-08e3889 |
|
Mintlify preview ID generated: preview-eugene-1763491147-89abda6 |
|
Mintlify preview ID generated: preview-eugene-1763492502-3bab9b3 |
|
Mintlify preview ID generated: preview-eugene-1763575958-88c8cd6 |
|
Mintlify preview ID generated: preview-eugene-1763577327-bfe51c2 |
❌ Import check failedThis PR contains imports from Detailed issuesWhy this is a problemThe
How to fixReplace the imports as suggested above. For example:
🤖 Automated checkThis check is based on the latest analysis of |
|
Mintlify preview ID generated: preview-eugene-1765307828-644c1d7 |
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.
Pull request overview
This pull request adds conceptual documentation for handoffs in multi-agent systems to the LangChain documentation. The changes significantly expand the multi-agent documentation by:
- Restructuring the multi-agent patterns section with better organization
- Adding detailed explanations of tool calling and handoffs patterns
- Including new examples, use cases, and best practices
- Adding internal links to related documentation
- Updating dependencies (lock file changes)
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/oss/langchain/multi-agent.mdx |
Major expansion of multi-agent documentation with detailed handoffs section, examples, and best practices |
uv.lock |
Dependency updates including new packages (langchain, anthropic, etc.) and version bumps |
|
Closing, we've consolidated content into #1866 |
Add conceptual docs for handoffs
11/19/25 Preview link: https://langchain-5e9cc07a-preview-eugene-1763577327-bfe51c2.mintlify.app/oss/python/langchain/multi-agent