An open API service indexing awesome lists of open source software.

https://github.com/john-adeojo/agency_swarm_tutorial

quick tutorial with agency swarm for websearch use case
https://github.com/john-adeojo/agency_swarm_tutorial

Last synced: 6 months ago
JSON representation

quick tutorial with agency swarm for websearch use case

Awesome Lists containing this project

README

        

# Setting Up Agency Swarm Script

### Prerequisites
1. **Install Anaconda:**
Download Anaconda from [https://www.anaconda.com/](https://www.anaconda.com/).

2. **Create a Virtual Environment:**
```bash
conda create -n swarm_env python=3.10 pip
```

3. **Activate the Virtual Environment:**
```bash
conda activate swarm_env
```

### Clone and Navigate to the Repository
1. **Clone the Repo:**
```bash
git clone https://github.com/john-adeojo/agency_swarm_tutorial.git
```

2. **Navigate to the Repo:**
```bash
cd /path/to/your-repo/agency_swarm_tutorial
```

3. **Install Requirements:**
```bash
pip install -r requirements.txt
```

### Configure API Keys
1. **Open the `config.yaml`:**
```bash
nano config.yaml
```

2. **Enter API Keys:**
- **Serper API Key:** Get it from [https://serper.dev/](https://serper.dev/)
- **OpenAI API Key:** Get it from [https://openai.com/](https://openai.com/)

### Run Your Query
```bash
python app.py "YOUR QUERY"
```
### Note!
settings.json is automatomatically created by Agency Swarm.