# LocalGPT

> Self-hosted, open-source AI assistant with persistent memory and a desktop app that turns prompts, documents, or songs into explorable 3D worlds with full history.

- **Category:** AI Assistant
- **Licence:** Apache-2.0
- **Latest version:** desktop-v0.4.2
- **Open source:** oss
- **Languages:** Rust
- **Platforms:** Docker, Build from Source, Cargo
- **Tags:** CLI, Mcp, Collaborative, Sandbox, Local Ai, LLM, Ollama, Memory, AI, Rust, Desktop app, Agent, Bevy, World Building, 3d Worlds, Previs, Screenplay, World

## Description

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.

## Links

- [Homepage](https://github.com/localgpt-app/localgpt)
- [Website](https://localgpt.app/)
- [Documentation](https://localgpt.app/docs/)
- [GitHub Repository](https://github.com/localgpt-app/localgpt)
- [Discord Community](https://discord.gg/spKRr6mRyp)
- [X (Twitter)](https://x.com/localgpt)
- [YouTube Channel](https://www.youtube.com/@localgpt-app)
- [Devlog](https://localgpt.rs/)
- [World Gallery & Web Viewer](https://localgpt.world/)
- [Previs Web App](https://localgpt.md/)

---
Source: https://selfhost.directory/project/localgpt