mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 19:58:08 +08:00
37 lines
929 B
Markdown
37 lines
929 B
Markdown
# Swarm Firecrawl Marketing Agent
|
|
|
|
A multi-agent system using [OpenAI Swarm](https://github.com/openai/swarm) for AI-powered marketing strategies using [Firecrawl](https://firecrawl.dev) for web scraping.
|
|
|
|
## Agents
|
|
|
|
1. User Interface: Manages user interactions
|
|
2. Website Scraper: Extracts clean LLM-ready content via Firecrawl API
|
|
3. Analyst: Provides marketing insights
|
|
4. Campaign Idea: Generates marketing campaign concepts
|
|
5. Copywriter: Creates compelling marketing copy
|
|
|
|
## Requirements
|
|
|
|
- [Firecrawl](https://firecrawl.dev) API key
|
|
- [OpenAI](https://platform.openai.com/api-keys) API key
|
|
|
|
## Setup
|
|
|
|
1. Install the required packages:
|
|
```
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
2. Set up your environment variables in a `.env` file:
|
|
```
|
|
OPENAI_API_KEY=your_openai_api_key
|
|
FIRECRAWL_API_KEY=your_firecrawl_api_key
|
|
```
|
|
|
|
## Usage
|
|
|
|
Run the main script to start the interactive demo:
|
|
|
|
```
|
|
python main.py
|
|
``` |