One agent doing everything gets long instructions and confused tool choices. Splitting the job helps: a specialist agent handles one part, and a manager agent calls it as a tool when that part comes up. The Langflow documentation points to using an agent as a tool for multi-agent examples.
Before you start
You need two Langflow agent flows: a specialist that does one job well, and a manager that will call it. Test the specialist on its own first, with five questions, so the manager is not debugging a broken tool.
Expose the specialist agent as a tool
In the manager flow, add the specialist agent as a tool component and connect it to the manager Agent component. Write the tool description with the one job the specialist does and the input it needs, because the manager model only reads that description when it decides to call it.
Test the manager with a question that needs the specialist
Ask the manager a question that needs the specialist job, and check the run uses the specialist tool once. Then ask a question that does not need it, and check the tool is not called. If the manager calls the specialist for everything, the description is too broad.
Worked example: Two agents for a fictional research desk
Maple Research is a fictional research desk. A manager agent handles research questions and calls a summariser agent as a tool. The table shows the split.
| Agent | Job | Calls |
|---|---|---|
| Manager | Reads the question and plans the answer | Summariser, when a long text needs shortening |
| Summariser | Shortens a long text to three bullets | None |
Expected result (UNTESTED): the long-text question produces one summariser call and a three-bullet reply, while a short question gets no tool call. We checked the Langflow agents documentation, which points to using an agent as a tool for multi-agent flows, but we did not run the two agents on a live Langflow instance.
Limits
Two agents cost two model calls per question, and a specialist that fails looks like a tool failure to the manager. Keep the specialist job narrow and its output short, so the manager has little to misread.
