Prerequisites

  • Python 3.11+
  • An API key for an LLM provider (e.g., OpenAI, Google, Anthropic).

Installation

  1. Clone the repository:

    git clone https://github.com/qualifire-dev/rogue.git
    cd rogue
    
  2. Install dependencies:

    pip install -r requirements.txt
    pip install -e .
    
  3. Set up your environment variables (Optional): Create a .env file in the root directory and add your API keys. Rogue uses LiteLLM, so you can set keys for various providers.

    OPENAI_API_KEY="sk-..."
    ANTHROPIC_API_KEY="sk-..."
    GOOGLE_API_KEY="..."
    

Running Rogue

Launch the Gradio web UI with the following command:

python -m rogue

Navigate to the URL displayed in your terminal (usually http://127.0.0.1:7860) to begin.