Table of Contents

Quick Start Guide
Community Edition

Please note: we've renamed our products! SWIRL AI Connect is now SWIRL AI Search ๐Ÿ”Ž and SWIRL AI Co-Pilot is now SWIRL AI Search Assistant ๐Ÿค–


1. Prerequisites

  • To run SWIRL in Docker, you must have the latest Docker app installed for macOS, Linux, or Windows.
  • Windows users: You must first install and configure WSL 2 or Hyper-V, as outlined in the Docker Desktop system requirements.

Ensure that the Docker app is running before proceeding!

2. Download and Start SWIRL

  1. Download the Docker Compose file

     curl https://raw.githubusercontent.com/swirlai/swirl-search/main/docker-compose.yaml -o docker-compose.yaml
    
  2. Set Up Environment Variables

    To enable Real-Time Retrieval-Augmented Generation (RAG) in SWIRL, you must provide a valid OpenAI API key.

    For macOS or Linux:

     export MSAL_CB_PORT=8000
     export MSAL_HOST=localhost
     export OPENAI_API_KEY=<your-OpenAI-API-key>
    

    For Windows (PowerShell):

     $Env:MSAL_CB_PORT = "8000"
     $Env:MSAL_HOST = "localhost"
     $Env:OPENAI_API_KEY = "<your-OpenAI-API-key>"
    

    Need an OpenAI API Key? Watch OpenAIโ€™s setup guide.

  3. Start SWIRL

    For macOS or Linux:

     docker compose pull && docker compose up
    

    For Windows (PowerShell):

     docker compose up
    

    After a few minutes, you should see output similar to:

     app-1    | Start: celery-worker -> celery -A swirl_server worker ... Ok, pid: 55
     app-1    | INFO 2025-02-17 15:45:00 server Listening on TCP address 0.0.0.0:8000
    

3. Access the SWIRL Interface

SWIRL 4.0 Login

  • Login credentials:
    • Username: admin
    • Password: password
  • Enter a search query in the search box and click Search. Ranked results should appear within a few seconds:

SWIRL AI Search 4.0 Results

4. Generate AI Insights

  • Click the Generate AI Insight button to apply Retrieval-Augmented Generation (RAG) using the most relevant results.

Important: If using the Community Edition, you must set up OpenAI or Azure OpenAI before running this step.

SWIRL AI Search 4.0 Results with RAG

5. Managing SWIRL

  • Click the profile avatar in the upper-right corner of the Galaxy UI.
  • Select Manage SWIRL to explore additional features.
  • To view raw search results in JSON format:

SWIRL JSON response

6. Shutting Down SWIRL

You can stop SWIRL in several ways:

  1. Using Docker Desktop:
    Shutdown SWIRL with Docker Desktop

  2. Using Terminal (CTRL+C):
    Shutdown SWIRL with Control-C

  3. Using Docker Compose (from a new terminal window):

    docker compose stop
    

    Shutdown SWIRL with docker compose

The Docker version of SWIRL AI Search Community Edition does not retain any data or configuration when shut down.


Notes

Pre-configured SearchProviders SWIRL includes active SearchProviders for:
โœ… Arxiv.org
โœ… European PMC
โœ… Google News
These work out of the box as long as internet access is available.

SWIRL includes inactive SearchProviders for:
๐Ÿ”น Google Web
๐Ÿ”น SWIRL Documentation
These require a Google API key. See the SearchProvider Guide for setup instructions.

Using SWIRL with Microsoft 365 requires installation and approval by an authorized company administrator.
For more details, refer to the M365 Guide or contact support.