Compose Agents
Learn how to create and run multi-agent compositions
This documentation is outdated. The platform is currently being upgraded to the latest version of ACP with major changes. Updated docs are expected in ~2 weeks. Apologies for the inconvenience.
Agent composition allows you to chain multiple specialized agents together into powerful workflows, enhancing their capabilities and enabling complex task execution.
By default, each agent receives the output from the previous agent as input. You can customize this behavior in the instructions by specifying how each agent should use the previous outputs.
GUI
The compose playground provides a visual interface for creating and running multi-agent compositions. Today, we have sequential composition which is powered by the sequential-workflow
agent.
Launch the web interface
Navigate to the compose playground
Compose agents
- Add agents to your workflow by selecting them from the available list.
- Arrange them in the desired execution order.
- For each agent, specify the instructions that describe what it should do.
Run your workflow
Click the Run button to execute the composition.
CLI
You can also compose agents directly from your terminal using the sequential-workflow
agent, which orchestrates the execution of multiple agents in sequence.
There are two ways to work within the CLI:
Interactive mode
Interactive mode walks you through the process of creating a composition step by step:
The CLI will guide you through:
- Selecting the first agent to run
- Providing instructions for that agent
- Choosing whether to add another agent to the sequence
- Repeating steps 1-3 until your workflow is complete
Direct JSON input
For repeatable workflows, you can define your composition as a JSON structure:
Replace first-agent
and second-agent
with available agents from the platform, and define instructions for each. You may add additional steps as needed.
beeai list
.