Overview
| Feature | Description |
|---|---|
| LLM Council CLI | Run collaborative decision-making from terminal |
| Heavy Swarm CLI | Execute comprehensive research swarms |
| DevOps Ready | Integrate into CI/CD pipelines and scripts |
| Configurable | Full parameter control from command line |
Step 1: Install and Verify
Ensure Swarms is installed and verify CLI access:Step 2: Set Environment Variables
Configure your API keys:.env file:
Step 3: Run Multi-Agent Commands
LLM Council
Run a collaborative council of AI agents:Heavy Swarm
Run comprehensive research and analysis:Complete CLI Reference
LLM Council Command
| Option | Description |
|---|---|
--task | Required. The query or question for the council |
--verbose | Enable detailed output logging |
Heavy Swarm Command
| Option | Default | Description |
|---|---|---|
--task | - | Required. The research task |
--loops-per-agent | 1 | Number of loops per agent |
--question-agent-model-name | gpt-4o-mini | Model for question agent |
--worker-model-name | gpt-4o-mini | Model for worker agents |
--random-loops-per-agent | False | Randomize loops per agent |
--verbose | False | Enable detailed output |
Other Useful CLI Commands
Setup Check
Verify your environment is properly configured:Run Single Agent
Execute a single agent task:Auto Swarm
Automatically generate and run a swarm configuration:Show All Commands
Display all available CLI features:Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| ”Command not found” | Ensure pip install swarms completed successfully |
| ”API key not set” | Export OPENAI_API_KEY environment variable |
| ”Task cannot be empty” | Always provide --task argument |
| Timeout errors | Check network connectivity and API rate limits |
Debug Mode
Run with verbose output for debugging:Next Steps
- Explore CLI Reference Documentation for all commands
- See CLI Examples for more use cases
- Learn about LLM Council Python API
- Try Heavy Swarm Documentation for advanced configuration