← All open source projects

TextGen

oobabooga/textgen

TextGen is a desktop app and web interface for local LLMs: chat, generation, vision, tool-calling, and compatible APIs.

Forks 5,977
Author oobabooga
Language Python
License AGPL-3.0
Synced 2026-06-10

What it is

TextGen is an application for working with local LLMs. It provides chat and text generation, vision scenarios, file attachments, multiple engines, and APIs compatible with common model-serving formats.

The repository grew out of text-generation-webui and became one of the recognizable projects around local language models. It now emphasizes desktop builds for Linux, Windows, and macOS, including CUDA, Vulkan, ROCm, and CPU-only options.

What is inside the repository

Inside are the Python application, interface, support for llama.cpp, Transformers, ExLlamaV3, TensorRT-LLM and other engines, chat modes, notebook mode, characters, tools, files, and a local API.

Typical local setup

This example shows the manual setup path: create an environment, install dependencies, and run the app. Portable builds make this easier for ordinary users.

Language: Bash
git clone https://github.com/oobabooga/textgen.git
cd textgen
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Where it is useful

TextGen is useful for experimenting with local LLMs, comparing engines, working with private files, prototyping APIs, or using a chat interface without depending on one provider.

Strengths and limits

Local models require hardware, disk space, and realistic expectations about quality. Compatible APIs do not guarantee identical behavior to cloud models, and model licenses, file safety, and extension permissions still matter.