[PR #207] [MERGED] chore(deepagents): support nested deepagents #207

Closed
opened 2026-02-16 06:17:26 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/207
Author: @christian-bromann
Created: 2/9/2026
Status: Merged
Merged: 2/10/2026
Merged by: @christian-bromann

Base: mainHead: cb/deepagent-subagents


📝 Commits (2)

  • 98eda2b chore(deepagents): verify we can run nested deepagents
  • ef75e04 Merge branch 'main' into cb/deepagent-subagents

📊 Changes

5 files changed (+496 additions, -12 deletions)

View changed files

examples/hierarchical/hierarchical-agent.ts (+189 -0)
📝 libs/deepagents/src/agent.int.test.ts (+117 -0)
📝 libs/deepagents/src/middleware/subagents.int.test.ts (+176 -0)
📝 libs/deepagents/src/middleware/subagents.ts (+4 -2)
📝 libs/deepagents/src/testing/utils.ts (+10 -10)

📄 Description

This is a small patch that enables us to nest multiple deepagents if desired. It:

  • adds an example showcasing the functionality
  • adds tests to verify
  • loosens type strictness in libs/deepagents/src/middleware/subagents.ts to enable it

fixes #206


🔄 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/deepagentsjs/pull/207 **Author:** [@christian-bromann](https://github.com/christian-bromann) **Created:** 2/9/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@christian-bromann](https://github.com/christian-bromann) **Base:** `main` ← **Head:** `cb/deepagent-subagents` --- ### 📝 Commits (2) - [`98eda2b`](https://github.com/langchain-ai/deepagentsjs/commit/98eda2b14162b28ec1a9b328ab1fef54cbead6a0) chore(deepagents): verify we can run nested deepagents - [`ef75e04`](https://github.com/langchain-ai/deepagentsjs/commit/ef75e0456bc164e9f2e952a68cf6497e906754d8) Merge branch 'main' into cb/deepagent-subagents ### 📊 Changes **5 files changed** (+496 additions, -12 deletions) <details> <summary>View changed files</summary> ➕ `examples/hierarchical/hierarchical-agent.ts` (+189 -0) 📝 `libs/deepagents/src/agent.int.test.ts` (+117 -0) 📝 `libs/deepagents/src/middleware/subagents.int.test.ts` (+176 -0) 📝 `libs/deepagents/src/middleware/subagents.ts` (+4 -2) 📝 `libs/deepagents/src/testing/utils.ts` (+10 -10) </details> ### 📄 Description This is a small patch that enables us to nest multiple deepagents if desired. It: - adds an example showcasing the functionality - adds tests to verify - loosens type strictness in `libs/deepagents/src/middleware/subagents.ts` to enable it fixes #206 --- <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-02-16 06:17:26 -05:00
yindo closed this issue 2026-02-16 06:17:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#207