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
- Host: GitHub
- URL: https://github.com/john-adeojo/agency_swarm_tutorial
- Owner: john-adeojo
- Created: 2024-05-16T13:05:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-17T20:30:25.000Z (about 1 year ago)
- Last Synced: 2024-08-13T07:07:29.551Z (10 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 63
- Watchers: 2
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - john-adeojo/agency_swarm_tutorial - quick tutorial with agency swarm for websearch use case (Python)
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.