Sub Project flow Agent
Sub Project flow Agent brings into your flow an agent you have already built in another flow of your account. You pick the flow and the agent, and the component makes it available as one more agent, with its model, tools and instructions exactly as they are set up in the original flow.
This way you can keep a specialised agent in one place, for example the billing one, and use it from several flows. When you improve it in its own flow and publish a new version, every flow that uses it moves to that version.
When to use it
- You have a technical support agent in one flow and want a coordinating agent to pass technical queries to it.
- Several teams build different flows that need the same order lookup agent.
- You want to split a large system of agents into smaller flows that are easier to maintain.
Configuration
| Field | What it does |
|---|---|
| Flow Name | The flow of your account that contains the agent. Press the refresh button to load the list of flows. |
| Agent Node | The agent of that flow you want to use. The list shows the agents in the published version of the chosen flow. |
| Stream | Shows the agent’s answer as it is generated. Default: on. |
Output
- Agent Graph: the chosen agent, ready to connect to a component that works with agents, such as the Worker Agents input of Supervisor Agent or the Agent input of Reflection Agent.
Example
An online shop has one flow with an agent that looks up order status and another with an agent that handles returns. It wants a single assistant that serves customers and shares out the work.
- In a new flow, add a Supervisor Agent.
- Add a Sub Project flow Agent, choose the orders flow in Flow Name and its agent in Agent Node. Connect Agent Graph to Worker Agents.
- Repeat the previous step with the returns flow.
The supervisor decides with each message which agent to pass the query to.
Good practices
- Give each source agent a clear name: it is the one you will see in Agent Node.
- Publish the source flow before using it here; if it has no published version, the agent list stays empty.
Related components
- Supervisor Agent: coordinates several agents and shares the work out between them.
- Agent: NappAI’s general agent.