# Enclave

> Enclave is a self-hosted, open-source AI companion platform creating a personal virtual world with expert AI residents and your digital twin.

- **Category:** AI Chat
- **Licence:** MIT
- **Latest version:** v0.1.3
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker Compose
- **Tags:** SQLite, Tauri, Social Network, Ai Agents, Ai Assistant, Chatbot, Nestjs, LLM, Rag, Deepseek, Ai Chat, Open Source, AI, React, Self Hosted, Personal ai, Ai companion, Byok, Capacitor, Digital Twin, Virtual World, Parallel World, Ai Social, Character Ai, Private Social, Virtual Companion, Wechat Clone

## Description

Enclave (隐界) is an open-source, AI-driven personal assistant platform that gives each user their own private virtual world. Unlike typical chatbots, it populates your world with AI residents — domain experts (doctor, lawyer, financial advisor, therapist, etc.) and a digital twin of yourself — who have persistent memories, daily routines, and relationships with each other. They proactively message you, remember past conversations, and can produce tangible deliverables like PPT, Word, and Excel files. A built-in RAG knowledge base lets you upload documents and URLs so answers are grounded in your data. An action framework lets residents execute real-world tasks (food delivery, ticket booking, smart home) with safety guardrails. The stack is NestJS + SQLite + Socket.IO for the backend and React + Capacitor/Tauri for web, iOS, Android, and desktop clients. Deployment is a single docker compose up; you bring your own LLM key (OpenRouter, Groq, DeepSeek, Ollama, etc.). Licensed MIT.

## Links

- [Homepage](https://github.com/yuanzui0728/enclave)
- [Website](http://enclaveai.top/)
- [GitHub Repository](https://github.com/yuanzui0728/Enclave)
- [Documentation / Self-host Guide](http://enclaveai.top/zh-CN/docs)
- [Self-host Wizard](http://enclaveai.top/zh-CN/self-host-wizard)
- [Model Picker Guide](http://enclaveai.top/zh-CN/model-picker)
- [BYOK 5-minute Guide](https://github.com/yuanzui0728/Enclave/blob/main/BYOK.md)
- [Hugging Face Space (Demo)](https://huggingface.co/spaces/w9000/enclave)
- [Character Recipes Dataset](https://huggingface.co/datasets/w9000/enclave-character-recipes)

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