Feature Request: Intelligent Agent Routing in Agent Chains #8488
Replies: 5 comments 7 replies
-
Agreed. The web search use-case is particularly relevant. Right now, I have to manually choose which model I want to query based on the query characteristics, which is annoying. Ideally, I would create my agent choice workflow, and then use just one point for all queries. No more wondering if I should use Perplexity Sonar because it's a web search. The model should be able to detect that a web search is necessary and call it appropriately. Another use case is when I want to rope in a more advanced model for some queries. Ideally, the main agent should be able to detect that this is a complicated question, and bring in a more powerful model for that query. If we can give the main agent its rules, that would automate all future choices. |
Beta Was this translation helpful? Give feedback.
-
Hi @danny-avila Could this be an option for you? Here's an example of how this could look:
demo.mp4 |
Beta Was this translation helpful? Give feedback.
-
See this discussion: #8372 |
Beta Was this translation helpful? Give feedback.
-
Hi @danny-avila We have now implemented intelligent agent chaining in our fork.
Key modular advantages:
First, we want to express our gratitude for LibreChat - the work done is truly amazing and has been an excellent foundation to build upon. Looking forward to seeing your approach to implementing similar functionality in upstream. demo-modular-agents.mp4 |
Beta Was this translation helpful? Give feedback.
-
I'm prototyping multi-agent architecture here for LibreChat: danny-avila/agents#18 This is working really well so far, and is highly composable, allowing for almost any multi-agent pattern you can think of. The challenge is how to develop a UI for this. Maybe just "handoffs" via simple form to start, to allow for "intelligent routing" but we can do much more like parallel execution, message transformation between agents, etc. I'm thinking a simple node-based interface makes sense longer term. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Updated - 19.07.2025
Updated Feature Request: Agent Modularization with Tool-Based Architecture
Current Situation
We currently have a monolithic approach with one large prompt containing many endpoints (code search, web search, dev docs, confluence, etc.), making it difficult to maintain and extend.
Problem Statement
Proposed Solution
Implement a modular agent architecture where:
Key Requirements
Example Implementation
Our fork demonstrates one approach with:
This tool-based architecture maintains modularity while providing a seamless user experience.
Beta Was this translation helpful? Give feedback.
All reactions