firecrawl/examples/openai_swarm_firecrawl_web_extractor
2024-10-17 15:47:28 -04:00
..
.env.example Swarm Extractor Example 2024-10-17 15:47:28 -04:00
main.py Swarm Extractor Example 2024-10-17 15:47:28 -04:00
README.md Swarm Extractor Example 2024-10-17 15:47:28 -04:00
requirements.txt Swarm Extractor Example 2024-10-17 15:47:28 -04:00

Swarm Firecrawl Marketing Agent

A multi-agent system using OpenAI Swarm for AI-powered marketing strategies using Firecrawl 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

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