# Repository Briefing: Osmantic/ODS
> Source: https://repoforai.com/repo/Osmantic/ODS (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Osmantic/ODS
- **Official Docs / Website**: https://discord.gg/qGVygYada3
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 23/25 · Releases 17/20 · License 20/20)
- **Latest Release**: v3.0.0 (2026-09-24) — https://github.com/Osmantic/ODS/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI
- **Momentum**: 8,012 ★ total (+3 24h / +88 7d) · 1,141 forks
- **Topics**: `ai-agents`, `amd`, `comfyui`, `docker`, `llama-cpp`, `llm`, `local-ai`, `n8n`, `nvidia`, `open-webui`, `rag`, `self-hosted`
- **When to Use**: Best for: Homelab and workstation operators who want local chat and inference, with the option to add document retrieval or automation without integrating each service by hand. Start with Core and validate the chosen GGUF on your hardware. Skip if: You only need a frontend for an existing endpoint, want a fully managed ChatGPT-style service, or require a signed, patched release artifact for production.

## Overview
```text
### Architecture & Core Mechanics
ODS is a deployment and lifecycle layer around a local AI workspace, not a new inference engine. The repository root holds installers and CI; deployable code lives in `ods/`. The registry-driven `ods` CLI manages 24 bundled service manifests through base Docker Compose definitions, hardware-specific overlays, and optional extension definitions. A small set of host-managed helpers sits outside Compose, so operations are not entirely container-based.

Core combines `llama-server` inference, a control dashboard, and browser chat. Portal is the bundled conversational interface on qualified hosts; Open WebUI provides chat elsewhere and can also expose Portal through a compatible model route. The dashboard API serves health, metrics, and management functions, while LiteLLM provides local, cloud, and hybrid routing. The `llama-server` API defaults to port `8080` inside the container; the Linux Docker host API defaults to `localhost:11434`, whereas native macOS and Windows paths default to `localhost:8080`.

### Key Capabilities & Differentiators
The installer assigns a hardware tier and selects an installable GGUF from a shared catalog, writing `LLM_MODEL`, `GGUF_FILE`, and `MAX_CONTEXT` to `.env`. With the default Qwen profile, the catalog lists Qwen3.5 9B Q4_K_M at 64K for 8–16 GB NVIDIA VRAM and 16–36 GB Apple unified memory. CPU-only hosts with 16–20 GB system RAM are placed in a 4B tier. On AMD Strix Halo with 64–128 GB unified memory, the listed pick is Qwen3.6 35B-A3B at 128K. These are catalog targets, not measured performance guarantees. Gemma 4 is selectable on supported tiers, and Intel Arc on Linux is experimental and requires a manual tier selection.

The Dashboard filters models for the detected hardware, verifies downloads, and restores the previous model if a replacement fails to start. It can also load a local `.gguf` from `data/models/`. Optional services cover embedding and vector retrieval with TEI and Qdrant, speech input and output with Whisper and Kokoro, workflow automation with n8n, and image generation with ComfyUI.

### Trade-offs & Limitations
Compared with ChatGPT, ODS lets you run inference and retain chat history and files on your own machine without a required subscription, but shifts hardware sizing, quality checks, and uptime to you. Compared with standalone Open WebUI or a bare llama.cpp server, its advantage is pre-wired model management, service health, and extensions. If you already run inference and only need a chat frontend, that extra orchestration is unnecessary.

A 64K catalog setting does not guarantee useful throughput or enough headroom for concurrent requests. Validate on the target hardware and enable extra services only when needed. Manual `.env` model changes also forgo the Dashboard's automatic rollback. Apache-2.0 covers ODS itself, not necessarily model weights or every bundled service. Teams that require signed, reproducible deployments should also account for the gap between the affected published tag and the unsigned `main` installer path.

### Hardware & Deployment Guide
Linux and Apple Silicon macOS need Docker installed and running. The guided Windows path prepares WSL2, Ubuntu 24.04, and Docker Desktop and checks for hardware virtualization and 40 GB of free disk. Portal support depends on the host and installer path: it runs on Apple Silicon macOS and qualified Ubuntu 24.04/26.04 or Debian 12 systemd hosts, including qualified WSL2 systems through the Linux installer. The native PowerShell installer does not install the Portal host runtime.

Local mode is the default, but default operation is not offline: model and image downloads, GitHub release checks, and Portal web searches can generate outbound traffic. Cloud and hybrid routing are opt-in. The latest published source tag, `v3.0.0`, is affected by critical advisory GHSA-vqpg-pvjj-4cmq; the fix is on `main`. The default installers follow that unsigned moving branch. Re-run the installer for source fixes on existing installations: `ods update` refreshes container images only. Avoid `v2.5.3` for fresh installs; its pinned Hermes Agent image tag no longer exists.
```

## Key Capabilities
```text
- Orchestration: 24 bundled service manifests organized around base Compose, hardware overlays, and optional extensions.
- Sizing: Linux/macOS use `ods/scripts/select-model.py` and Windows uses a PowerShell selector; both read `ods/config/model-library.json`.
- Model operations: Dashboard downloads verify checksums and a failed model start triggers rollback; manual `.env` changes have no automatic rollback.
- Inference routing: The Linux Docker host API defaults to `localhost:11434`; native macOS/Windows paths default to `localhost:8080`. LiteLLM supports local, cloud, and hybrid modes.
- Extension stack: TEI and Qdrant for retrieval, Whisper and Kokoro for voice, n8n for workflows, and ComfyUI for image generation.
- Patch management: The critical `v3.0.0` source fix is on `main`; `ods update` refreshes container images only.
```

## Quick Start / Clone
```bash
curl -fsSL https://install.osmantic.com/ods.sh | bash
```
