Build

Auto Agent Builder

Describe a task and a builder agent designs the team for you — complete configurations with names, prompts, and models, ready to run in the Playground or against the swarm endpoints. Nothing is executed here; you only pay for the single builder call.

0
A ceiling — the builder prefers the smallest team that covers the task.
Any model name the API accepts — pick a suggestion or type your own. Leave empty for the API default. This is the model that designs the team; the builder picks models for the generated agents itself.
Add a task to generate a team.

No team yet

Describe a task on the left, then click Generate agents to get a ready-to-run roster.

Request preview

curl -X POST 'https://api.swarms.world/v1/auto-agent-builder/completions' \
  -H 'x-api-key: '"$SWARMS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "max_agents": 5
}'