oobabooga/text-generation-webui: The Premier Local LLM Interface
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
oobabooga/text-generation-webui is a powerful and versatile web UI for running large language models (LLMs) locally. It offers a 100% offline and private environment for text generation, vision, tool-calling, and even training, all accessible through an intuitive interface and API.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
oobabooga/text-generation-webui is recognized as the original and leading local interface for Large Language Models (LLMs). This project provides a comprehensive solution for interacting with LLMs, offering capabilities such as text generation, vision integration, tool-calling, and model training. Designed for complete privacy and offline operation, it features both a user-friendly web UI and a robust API. With over 46,914 stars and 5,970 forks, it stands as a highly popular choice for local AI experimentation and development.
Installation
Getting started with oobabooga/text-generation-webui is designed to be straightforward, offering several installation methods to suit different user needs.
Portable Builds
For the quickest setup, portable builds are available. These require zero setup: simply download, unzip, and run. They include all dependencies and are compatible with GGUF (llama.cpp) models.
One-Click Installer
For users requiring additional backends (like ExLlamaV3, Transformers), training capabilities, image generation, or extensions, the one-click installer is recommended. This method simplifies the setup process, handling dependencies like PyTorch automatically.
- Clone the repository or download its source code and extract it.
- Run the startup script for your OS:
start_windows.bat,start_linux.sh, orstart_macos.sh. - Follow the prompts to select your GPU vendor.
Manual Portable Install with venv
For those who prefer a manual setup within a Python virtual environment, follow these steps:
# Clone repository
git clone https://github.com/oobabooga/textgen
cd textgen
# Create virtual environment
python -m venv venv
# Activate virtual environment (example for macOS/Linux)
source venv/bin/activate
# Install dependencies (choose appropriate file under requirements/portable)
pip install -r requirements/portable/requirements.txt --upgrade
# Launch server
python server.py --portable --api --auto-launch
For detailed instructions and other installation methods, including Conda and Docker, please refer to the official documentation.
Examples
The web UI provides a rich set of features for interacting with LLMs:
- Chat & Generation: Engage with models in
instructmode for instruction-following,chat-instruct/chatfor custom characters, or use thenotebooktab for free-form text generation. - Multimodal Capabilities: Attach images to messages for visual understanding and upload text, PDF, or .docx documents to discuss their contents.
- Flexible Backends: Seamlessly switch between various LLM backends, including
llama.cpp,Transformers,ExLlamaV3, andTensorRT-LLM, without restarting the application. - OpenAI/Anthropic-compatible API: Utilize a local API that mimics OpenAI/Anthropic endpoints, complete with tool-calling support, making it a drop-in replacement for many applications.
- Tool-Calling: Enable models to execute custom functions, such as web search or math operations, defined as simple Python files.
- Training & Image Generation: Fine-tune LoRAs on datasets and generate images using
diffusersmodels like Z-Image-Turbo, all within the same interface.
Why Use It
oobabooga/text-generation-webui stands out for several compelling reasons:
- Complete Privacy: Operates 100% offline with zero telemetry, ensuring your data and interactions remain private.
- Versatility: Supports a wide array of LLM backends, multimodal inputs, tool-calling, and even training and image generation, making it a comprehensive AI toolkit.
- Ease of Use: Offers portable builds and a one-click installer for quick setup, alongside a user-friendly web interface.
- Active Community: Benefits from a vibrant community, providing support and contributing to its continuous development.
Links
- GitHub Repository: oobabooga/text-generation-webui
- Documentation: TextGen Wiki
- Community: r/Oobabooga on Reddit
Related repositories
Similar repositories that may be relevant next.

AuditNLG: Auditing Generative AI for Trustworthiness
June 25, 2026
AuditNLG is an open-source library from Salesforce designed to enhance the trustworthiness of generative AI language models. It provides state-of-the-art techniques to detect and improve factualness, safety, and constraint adherence in AI-generated text. This library simplifies the process of auditing AI outputs, offering explanations and alternative suggestions for problematic content.

Odysseus: A Comprehensive Self-Hosted AI Workspace for Productivity
June 25, 2026
Odysseus is a powerful self-hosted AI workspace designed to integrate various AI-powered tools into a single platform. It offers functionalities for chat, agents, deep research, document management, email, and calendar, supporting both local and API models. This comprehensive solution aims to enhance productivity and streamline AI workflows in a private environment.

Headroom: Drastically Reduce LLM Token Usage for AI Agents
June 25, 2026
Headroom is an innovative context compression layer for AI agents, designed to significantly reduce token usage for LLMs. It achieves 60-95% fewer tokens across various inputs like tool outputs, logs, files, and RAG chunks, all while preserving answer accuracy. This powerful tool enhances efficiency and cost-effectiveness for AI interactions.

spacy-llm: Integrating LLMs into Structured NLP Pipelines with spaCy
June 24, 2026
spacy-llm seamlessly integrates Large Language Models (LLMs) into spaCy, offering a modular system for rapid prototyping and transforming unstructured LLM responses into robust outputs for various NLP tasks. It supports a wide range of LLMs, including OpenAI, Cohere, Anthropic, and open-source models, enabling users to combine the power of LLMs with spaCy's production-ready capabilities. This package allows for quick experimentation and the creation of efficient, reliable, and controlled NLP systems.
Source repository
Open the original repository on GitHub.