[PR #3601] [MERGED] fix: correct subagent tools inheritance docs #3641

Closed
opened 2026-06-05 18:23:46 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3601
Author: @open-swe[bot]
Created: 4/16/2026
Status: Merged
Merged: 4/17/2026
Merged by: @npentrel

Base: mainHead: open-swe/63813197-8e57-9bf9-2cd9-871cf8dd6313


📝 Commits (1)

  • 675f1c9 fix: correct subagent tools inheritance docs [closes DOC-999]

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/oss/deepagents/subagents.mdx (+2 -2)

📄 Description

Description

The subagents docs incorrectly stated that custom subagents do not inherit tools from the main agent. After cross-referencing the deepagents source code (both Python graph.py and JS subagents.ts), tools DO inherit from the main agent by default when the tools key is omitted. Updated both Python and JS configuration tables to reflect the correct behavior.

Resolves DOC-999

Test Plan

  • Verify the subagents page renders correctly in preview deployment

Opened collaboratively by Naomi Pentrel and open-swe.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3601 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 4/16/2026 **Status:** ✅ Merged **Merged:** 4/17/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `open-swe/63813197-8e57-9bf9-2cd9-871cf8dd6313` --- ### 📝 Commits (1) - [`675f1c9`](https://github.com/langchain-ai/docs/commit/675f1c943c55eadd76796c3e1a6cc04855675724) fix: correct subagent tools inheritance docs [closes DOC-999] ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/deepagents/subagents.mdx` (+2 -2) </details> ### 📄 Description ## Description The subagents docs incorrectly stated that custom subagents do not inherit tools from the main agent. After cross-referencing the deepagents source code (both Python `graph.py` and JS `subagents.ts`), tools DO inherit from the main agent by default when the `tools` key is omitted. Updated both Python and JS configuration tables to reflect the correct behavior. Resolves DOC-999 ## Test Plan - [ ] Verify the subagents page renders correctly in preview deployment _Opened collaboratively by Naomi Pentrel and open-swe._ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:46 -04:00
yindo closed this issue 2026-06-05 18:23:46 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3641