> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Working with sub-agents

> Let your Superagent split complex requests into smaller tasks that sub-agents run at the same time. Keep chatting while they work, then collect your results.

Sub-agents let your Superagent handle complex requests by working on multiple tasks at the same time. While those tasks run in the background, you can continue chatting with your Superagent.

![Superagent chat showing sub-agent tasks running in parallel, each with a status badge you can expand](https://mintcdn.com/base44/lObSggP3ZdyQzNHT/images/subagents-task-panel.png?fit=max\&auto=format\&n=lObSggP3ZdyQzNHT\&q=85\&s=4b75c40058e8de0a058eba03ad016168)

Superagent delegating a request to sub-agents

***

## Using sub-agents

Your Superagent uses sub-agents when a request can be completed faster by working on independent tasks at the same time.

> [card] Common uses for sub-agents
>
> * Research multiple topics.
> * Explore a large workspace.
> * Analyze large files or datasets.
> * Complete several independent tasks at the same time.

When your Superagent delegates work, it lets you know before getting started.

While sub-agents are running, you can:

* Continue chatting with your Superagent.
* Follow each task in the task panel.
* Expand a completed task to view its results.
* Click the stop icon at the message input to stop the work. Any work the sub-agents already finished is kept.

> [!TIP]
>
> You can also ask your Superagent not to use sub-agents, and it works on your request inline instead.

> [!NOTE]
>
> Running several sub-agents at the same time can use more credits because your Superagent completes multiple parts of your request in parallel.

***

## Getting your results

When all sub-agents finish, your Superagent combines their work into a single response. You receive one answer instead of separate responses from each sub-agent.

Sub-agents don't automatically save their work. The results appear in your Superagent chat. To keep them, ask your Superagent to save or export them. For example, you can prompt your Superagent to save the results in a connected tool like Google Docs or Google Sheets.

***

## FAQs

> [accordion] Do I decide when sub-agents are used?
>
> Your Superagent decides. It uses sub-agents when splitting a request into independent tasks completes it faster. You can ask it not to use them when you send your request.

> [accordion] Can I stop sub-agents once they start?
>
> Yes. Click the stop icon at the message input. Any work the sub-agents already finished is kept and stays available in your chat.

> [accordion] Where do my results go?
>
> Your Superagent combines the work into a single response in your chat. The results stay in your conversation. To keep them, ask your Superagent to save or export them.

> [accordion] Can I keep chatting while sub-agents run?
>
> Yes. You can continue chatting with your Superagent while sub-agents work in the background, and follow each task in the task panel.

> [accordion] Who can use sub-agents?
>
> Sub-agents are available to app owners using Superagents in Base44 on the web.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.