Build
Playground
Run a reasoning agent: it samples, critiques or judges before it answers.
Reasoning agents need a Pro or Premium plan. Requests from a free-tier key return 403. See plans
Reasoning agent
Sample several answers in parallel and keep the one they agree on. How it works
122
Ready: Self-Consistency · gpt-5.5
Nothing yet
Pick a reasoning agent, write a task, then click Run agent.
Request preview
curl -X POST 'https://api.swarms.world/v1/reasoning-agent/completions' \ -H 'x-api-key: '"$SWARMS_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "agent_name": "consistency-solver", "description": "Answers by majority vote over independent samples.", "swarm_type": "self-consistency", "model_name": "gpt-5.5", "max_loops": 1, "task": "If 5 machines take 5 minutes to make 5 widgets, how long would 100 machines take to make 100 widgets? Show your reasoning.", "num_samples": 5}'