[PR #471] [CLOSED] feat(sdk): implement swarm middleware for parallel subagent fan-out #494

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/471
Author: @colifran
Created: 4/17/2026
Status: Closed

Base: mainHead: colifran/swarm-tool


📝 Commits (6)

  • 09ec316 swarm types and parsing
  • 6b324ad implement virtual table resolver logic
  • 1c4ae49 implement swarm executor
  • f3b42d5 implement swarm middleware and swarm tool
  • 5f3057b wire swarm into create deep agent
  • c242adb prompt tuning

📊 Changes

14 files changed (+2573 additions, -1 deletions)

View changed files

📝 libs/deepagents/src/agent.ts (+22 -0)
📝 libs/deepagents/src/index.ts (+29 -0)
📝 libs/deepagents/src/middleware/index.ts (+10 -0)
📝 libs/deepagents/src/middleware/subagents.ts (+17 -1)
libs/deepagents/src/middleware/swarm.test.ts (+516 -0)
libs/deepagents/src/middleware/swarm.ts (+452 -0)
libs/deepagents/src/swarm/executor.test.ts (+426 -0)
libs/deepagents/src/swarm/executor.ts (+290 -0)
libs/deepagents/src/swarm/index.ts (+32 -0)
libs/deepagents/src/swarm/parse.test.ts (+175 -0)
libs/deepagents/src/swarm/parse.ts (+86 -0)
libs/deepagents/src/swarm/types.ts (+113 -0)
libs/deepagents/src/swarm/virtual-table.test.ts (+281 -0)
libs/deepagents/src/swarm/virtual-table.ts (+124 -0)

📄 Description

No description provided


🔄 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/471 **Author:** [@colifran](https://github.com/colifran) **Created:** 4/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `colifran/swarm-tool` --- ### 📝 Commits (6) - [`09ec316`](https://github.com/langchain-ai/deepagentsjs/commit/09ec316f50db35388aacf590d214d79a8818f321) swarm types and parsing - [`6b324ad`](https://github.com/langchain-ai/deepagentsjs/commit/6b324ad2373cc4e117af35f8f8b87c7d2b146e76) implement virtual table resolver logic - [`1c4ae49`](https://github.com/langchain-ai/deepagentsjs/commit/1c4ae4945b893fafae390c65ee407042771c5401) implement swarm executor - [`f3b42d5`](https://github.com/langchain-ai/deepagentsjs/commit/f3b42d5d146e8ea2ea6f058891b22bcfbe8b2412) implement swarm middleware and swarm tool - [`5f3057b`](https://github.com/langchain-ai/deepagentsjs/commit/5f3057b8df5cbd39358ba987491db0128a52276d) wire swarm into create deep agent - [`c242adb`](https://github.com/langchain-ai/deepagentsjs/commit/c242adb3e36310d5f5460da3500de2b6994654bc) prompt tuning ### 📊 Changes **14 files changed** (+2573 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `libs/deepagents/src/agent.ts` (+22 -0) 📝 `libs/deepagents/src/index.ts` (+29 -0) 📝 `libs/deepagents/src/middleware/index.ts` (+10 -0) 📝 `libs/deepagents/src/middleware/subagents.ts` (+17 -1) ➕ `libs/deepagents/src/middleware/swarm.test.ts` (+516 -0) ➕ `libs/deepagents/src/middleware/swarm.ts` (+452 -0) ➕ `libs/deepagents/src/swarm/executor.test.ts` (+426 -0) ➕ `libs/deepagents/src/swarm/executor.ts` (+290 -0) ➕ `libs/deepagents/src/swarm/index.ts` (+32 -0) ➕ `libs/deepagents/src/swarm/parse.test.ts` (+175 -0) ➕ `libs/deepagents/src/swarm/parse.ts` (+86 -0) ➕ `libs/deepagents/src/swarm/types.ts` (+113 -0) ➕ `libs/deepagents/src/swarm/virtual-table.test.ts` (+281 -0) ➕ `libs/deepagents/src/swarm/virtual-table.ts` (+124 -0) </details> ### 📄 Description _No description provided_ --- <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 17:23:27 -04:00
yindo closed this issue 2026-06-05 17:23:27 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#494