ParisNeo/lollms-webui

Lord of Large Language and Multi modal Systems Web User Interface

LoLLMs WebUI – A Local, Multi‑Model, Multi‑Modal Interface for Large Language Models

What it is

  • An open‑source web‑based front‑end that lets a single user (or multiple users via the newer MCP mode) run and interact with many different LLMs and multimodal generators on their own machine.
  • It builds on the core lollms library (the “Lord of Large Language Multimodal Systems”) and adds a graphical UI, routing logic, and plug‑in‑style bindings for a wide range of model back‑ends.

Key capabilities

  • Model‑agnostic: works with local Hugging Face models, GGUF/GGML, EXLLama v2, Ollama, llmman, vllm, OpenAI, Anthropic, OpenRouter, Novita‑AI, and more.
  • Multimodal support: image generation (Stable Diffusion, Flux, DALL‑E, Midjourney, etc.), video generation (CogVideo, RunwayML, etc.), and music generation (MusicGen).
  • Smart routing: automatically picks a model based on a user‑defined hierarchy that balances cost and speed, so cheap models handle simple prompts while larger, pricier models are invoked only when needed.
  • Personality system: pre‑built “agents” (e.g., Lawyer, Medical Assistant, Creative Story Generator, Laughter Bot, ArtBot, LordOfMusic) that load a specific prompt‑template and can be switched on the fly.
  • Collaboration features: rating of responses, editing, copying, deleting, and persisting conversations in a local SQLite‑style database; search, export and bulk delete of chats.
  • Deployment options: run directly from a Python virtual environment, via Docker, or inside Conda; also supports headless API‑only mode for remote programmatic access.
  • UI niceties: light/dark themes, easy model‑binding selection, and integration with GitHub for quick model downloads.

How to get it running

  1. Prerequisite – Python 3.11 installed.
  2. Clone the repo with submodules:
    git clone --recursive https://github.com/ParisNeo/lollms-webui.git
    cd lollms-webui
    
  3. Create a virtual environment and activate it:
    python -m venv venv
    # Windows
    .\venv\Scripts\activate
    # Linux/macOS
    source venv/bin/activate
    
  4. Install Python dependencies:
    pip install --upgrade pip
    pip install -r requirements.txt
    pip install -e lollms_core
    
  5. Configure paths (where the core library and personal data live) by creating global_paths_cfg.yaml as shown in the README.
  6. Add the model bindings you need – each binding has a tiny installer script, e.g.:
    python zoos/bindings_zoo/ollama_ai/__init__.py   # install Ollama support
    
    (Other bindings: openai, huggingface, exllamav2, vllm, litellm, etc.)
  7. Start the server:
    python app.py
    
    The UI will be reachable at http://localhost:9600 (default port).

Optional production‑ready setups

  • Docker: docker build -t lollms-webui-app . then docker run -d -p 9600:9600 lollms-webui-app.
  • Headless mode for API‑only access – edit configs/local_config.yaml and set headless_server_mode: true.

Safety & licensing

  • The project is released under the Apache 2.0 license.
  • A short code of conduct warns against using the tool for misinformation or illegal activities and reminds users that the generated output is not a substitute for professional advice.
  • Security notice: the UI has no built‑in authentication; exposing it to the internet requires a tunnel or additional hardening.

Who might use it

  • Researchers or hobbyists who want a single dashboard to experiment with many LLM back‑ends without writing custom glue code.
  • Developers building local AI‑augmented applications who need a quick UI for prototyping prompts, testing multimodal generation, or demoing “personality” agents.
  • Educators or students looking for an all‑in‑one playground for text, image, video, and music generation on a personal computer.

All information above is taken directly from the repository’s README; no external assumptions have been added.

Related

  • Project
  • Project
  • Project
  • Project
  • Project