Feature Request: Reuse existing LangGraph agents as SubAgents #13

Closed
opened 2026-02-16 08:19:25 -05:00 by yindo · 2 comments
Owner

Originally created by @shaunaa126 on GitHub (Aug 15, 2025).

I would like to use the deepagent module in our existing langgraph agentic platform, we have existing langgraph agents that are compiled, are we able to provide the list of these agents to the subagents list? The schema do not match currently so it is not compatible.

Originally created by @shaunaa126 on GitHub (Aug 15, 2025). I would like to use the deepagent module in our existing langgraph agentic platform, we have existing langgraph agents that are compiled, are we able to provide the list of these agents to the subagents list? The schema do not match currently so it is not compatible.
yindo closed this issue 2026-02-16 08:19:25 -05:00
Author
Owner

@amirkeiser commented on GitHub (Aug 17, 2025):

if you dont want to wait for this feature, you can implement this your self by wrapping a RemoteGraph

Look at the supervisor implementation which delegates with RemoteGraph. You can repurpose that implementation.

@amirkeiser commented on GitHub (Aug 17, 2025): if you dont want to wait for this feature, you can implement this your self by wrapping a RemoteGraph Look at the supervisor implementation which delegates with RemoteGraph. You can repurpose that implementation.
Author
Owner

@nhuang-lc commented on GitHub (Sep 18, 2025):

The sub-agents schema list is converted into ReAct agents, and the task tool is just used to invoke these!

I would recommend doing what @amirkeiser suggested and wrapping a remote agent in a tool, and then just adding instructions to use that tool! We may make this more ergonomic in the future (a nice way to add remote graphs)

@nhuang-lc commented on GitHub (Sep 18, 2025): The sub-agents schema list is converted into ReAct agents, and the `task` tool is just used to invoke these! I would recommend doing what @amirkeiser suggested and wrapping a remote agent in a tool, and then just adding instructions to use that tool! We may make this more ergonomic in the future (a nice way to add remote graphs)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#13