- Step1: Install via pip (pip install swarms-sdk)
- Step2: Import Swarm and Agent classes in your Python script
- Step3: Configure your LLM provider API keys
- Step4: Define agents with roles and prompts
- Step5: Create a Swarm instance and add defined agents
- Step6: Call swarm.run(input) to execute the multi-agent workflow
- Step7: Collect and process the aggregated output from agents