selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

LocalGPT logo

Self-host LocalGPT

desktop-v0.4.2

AI assistant turning prompts into explorable 3D worlds

BetaOpen SourceApache-2.0
Updated9 hours ago
LanguageRust
Setup difficultyAdvanced
MobileNative app
Stars
1 126
CPU
Rust stable 1.85 or newer (edition 2024)
Ports
31327 (HTTP API daemon (localgpt daemon start)), 57822 (Live canvas API for .world packages), 9878 (MCP relay port for CLI backend connections)
Install with Docker

What is LocalGPT?

A Rust-based local AI assistant and world-building toolkit. The desktop app provides a 3D viewport where prompts, Markdown documents, or audio files become explorable .world packages with full history, undo, and branching. The CLI assistant offers chat, TUI, daemon mode with an OpenAI-compatible HTTP API, persistent memory with SQLite FTS5 and local embeddings, heartbeat/cron automation, and a kernel-enforced shell sandbox. LocalGPT Gen builds worlds from natural language and serves as an MCP server for editors and CLI tools. Previs converts screenplays into previs boards and per-scene .world packages deterministically. All components share the Open World Format. Installation via cargo install, source build, Docker, or macOS app bundle. Configuration via TOML supporting many LLM providers. No telemetry, fully offline-capable with local models.

Should you self-host LocalGPT?

LocalGPT scores 54/100 on selfhost.directory (how scoring works) and ranks #24 of 120 in AI Assistant. It has 1 126 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is hermes-agent (89/100, 257 926 stars). It scores higher overall, so compare the two before you pick. See LocalGPT vs hermes-agent side by side.

Features

  • Collaborative Sessions
  • Explorable 3D Worlds
  • Headless Operation
  • Heartbeat & Cron
  • HTTP API
  • Kernel-Enforced Shell Sandbox
  • Live Canvas
  • MCP Server
  • OpenAI-compatible HTTP API
  • Persistent memory
  • Previs (Screenplay to Board)
  • Procedural Audio & Behaviors

LocalGPT README

How to install LocalGPT

Install LocalGPT with Docker

Docker

FROM rust:1.90 AS builder WORKDIR /app COPY . . RUN cargo build --release --no-default-features FROM debian:bookworm-slim COPY --from=builder /app/target/release/localgpt /usr/local/bin/ CMD ["localgpt", "daemon", "start", "--foreground"]

Builds headless assistant binary (no GUI) with CLI, web UI, HTTP API, WebSocket, daemon, heartbeat, cron, localgpt world

More in AI Chat

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…