jofizcd/Soul-of-Waifu

β˜… 1,333β‘‚ 69

🌌 Give a soul to your favorite characters. Soul of Waifu is a desktop roleplay & AI companion app featuring Live2D/VRM avatars, voice chat & local LLM.

About jofizcd/Soul-of-Waifu

jofizcd/Soul-of-Waifu is an open-source project on GitHub, mainly written in Python. 🌌 Give a soul to your favorite characters. Soul of Waifu is a desktop roleplay & AI companion app featuring Live2D/VRM avatars, voice chat & local LLM. It currently holds 1,333 stars and 69 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Local & On-Device AI board.

GitHub Repository Details

Repository jofizcd/Soul-of-Waifu Β· default branch - Β· size 0 KB Β· watchers 0 Β· source: GitHub REST API and repository README

README

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Soul of Waifu Banner

🌌 ONE SOUL - MULTIPLE DIMENSIONS 🌌

Your character is no longer locked in a text chat - they live wherever you are.
Welcome to the world where your AI characters chats, remembers, adventures in tabletop RPGs, and lives directly on your desktop with one continuous, evolving identity.

---


https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Downloads https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Stars https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Discord https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Release

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Forks https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/License https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Issues

πŸ“š Documentation  β€’  πŸ—¨οΈ Discord  β€’  🌐 Website

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Download Latest

---

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Soul of Waifu v2.4.7 Interface

---

🌟 What is Soul of Waifu?

Soul of Waifu (SoW) is a free, open-source desktop app where AI characters can remember, evolve, and exist across multiple dimensions of interaction simultaneously. The core idea: a character you create once exists across multiple interconnected modes at the same time - text and voice conversation, a full tabletop RPG engine, a desktop agent with real OS and tool access, and a persistent memory architecture that builds genuine continuity across all your sessions.

Create or import a character once, and seamlessly interact with them across interconnected dimensions: 1. Interactive Text & Voice Chat with customizable UI, Live2D/VRM avatars, and real-time voice calls. 2. Soul Memory Architecture featuring long-term emotional evolution, a personal diary, and self-healing memory logs. 3. Soul Stage RPG Engine running a full tabletop text-RPG driven by a dedicated AI Game Master, complete with dice rolls and hidden story arcs. 4. Soul Companion - an autonomous agent living on your screen, powered by neurohormonal simulation. Out of the box it can see your screen, control your mouse and keyboard, browse the web on its own, run code, and organize your files - no extra setup needed. Want more? Write your own Python plugins or connect any external MCP server to give it entirely new abilities. Every risky action is gated behind an on-screen approval system, so nothing runs without your say-so.

Everything runs 100% locally on your PC by default - your chats with characters can live entirely offline, with no subscriptions and no filters. Cloud AI providers (OpenAI, Claude, Gemini, and others) are available as an optional plug-in for low-spec hardware or heavier reasoning, and browser/web tools naturally reach the internet when a task calls for it - but the core experience never requires an account or sends your data anywhere you haven't asked it to.

---

πŸ†• What's New Since Soul Trinity (v2.4.0)

Soul of Waifu has been moving fast since the original Soul Trinity (v2.4.0) release. The highlights:

> The full, detailed changelog for every version lives on the Releases page.

---

πŸš€ Key Modules & Capabilities

1. One Soul, Multiple Dimensions

Every character you build is a single continuous identity that steps through several connected modes - the same personality and memories follow them everywhere.

| Mode | Description | |---|---| | 🧠 Soul Memory | An independent digital brain for every character - tracking mood, relationships, and lived history far beyond basic keyword fact-searching. | | πŸ’¬ Text & Voice Chat | Full-duplex conversation with Live2D & VRM avatars, a customizable state variable HUD, lorebooks, and real-time voice calls. | | 🎲 Soul Stage | A full tabletop RPG under a virtual Game Master - dice rolls, generating options for your answers, WorldState tracking, inventory, and dynamic NPCs with its own memory. | | πŸ–₯️ Soul Companion | An autonomous desktop agent powered by neurohormones - reads your screen, controls your mouse/keyboard, browses the web on its own, runs code, and organizes your files, extensible with custom plugins and MCP servers. |

---

🧠 Soul Memory β€” Long-Term Cognitive Architecture

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Soul Memory System

Standard vector-RAG approaches search old chat logs for keyword matches. Soul Memory functions as an autonomous background agent that continuously rewrites four isolated cognitive files in real time:

[!TIP]
Cognitive Mechanics:
- Emotional Decay: Grudges and negative mood spikes naturally cool down over time if not revisited.
- Memory Self-Healing: The system detects logical contradictions between new responses and past facts, automatically overwriting outdated information and logging corrections.
- Duplicate Detection: Near-identical memories are automatically merged so the archive stays clean over long-term use.
- Crash-Safe Writes: Memory updates save atomically, so an unexpected error mid-session can no longer cost you your character's memories.

Choose between Full Sync (maximum depth), Soul Link (balanced), Mind Spark (lightweight), or Reflection Flow (diary only) to fit your VRAM/RAM constraints.

---

🎲 Soul Stage β€” Tabletop RPG & Game Master Engine

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Soul Stage RPG Mode

Soul Stage transitions your chat into a structured tabletop roleplaying campaign managed by a virtual Game Master. The GM is a separate AI layer running independently of your character: it maintains the world state, directs events, and enforces structure for group roleplay sessions.

---

πŸ–₯️ Soul Companion β€” Autonomous Desktop Agent

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Soul Companion Desktop Overlay

Soul Companion turns your character into an autonomous inhabitant of your Windows desktop - and, as of the latest release, a genuine computer-use agent. Existing as a transparent overlay, the companion stays with you while you work, game, or browse. Its behavior is driven by a neurohormone system (dopamine, cortisol, oxytocin, fatigue) rather than simple reactive prompting: it has moods that shift over time based on activity levels, time of day, and your interaction patterns, gets tired after long sessions, gets bored during extended inactivity, and initiates conversation on its own when something notable happens on your screen.

Computer Use & OS Control:

| Tool | What it does | |---|---| | πŸ–±οΈ GUI Action Tool | Moves the cursor, clicks (single/double/right-click), scrolls, dispatches keyboard shortcuts, and types text natively into any active window (Discord, Notepad, VS Code, browsers, etc.) | | 🌐 Browser Agent | Autonomously navigates URLs, extracts clean article text, clicks buttons, fills out forms, and downloads files through a real headless browser (Playwright) | | 🐍 Code Execution | Writes and runs sandboxed Python/PowerShell scripts on the fly for calculations, data parsing, or batch tasks, with strict timeouts | | πŸ“ File Organizer | Inspects your desktop and folders, auto-sorts loose files into categories, and runs fast filename search | | 🧭 Task Planner | Converts a complex spoken goal into a sequential, multi-step tool chain and executes it end-to-end | | β€οΈβ€πŸ©Ή System Vitals Watchdog | Proactively warns you about low battery, GPU overheating, or finished downloads | | πŸ”Ž Screen Reader | Sees your screen and comments on, analyzes, or assists with what's visible | | πŸ“‹ Clipboard Reader | Reads and processes copied text on request | | πŸ” Web Search | Looks up information in real time | | 🎡 Music Control | Manages audio playback | | πŸ”Œ Custom MCP Server | Connect any external MCP server for expanded integrations |

Safety by design: every potentially risky action - moving files, running code, controlling your mouse or keyboard - is intercepted by an on-screen approval banner with a 25-second fail-safe countdown. Nothing executes without your explicit confirmation, and the app automatically restores focus to your active window afterward so no keystrokes get lost.

---

πŸ“Š Custom State Variables & Adaptive HUD

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Custom State Variables HUD

Build no-code Dating Sims, RPG stat systems, or Tamagotchi mechanics directly inside character cards without writing code.

---

🌐 Ecosystem & Extended Integrations

πŸ“± Local Web Client (Mobile / Tablet Access)

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Web Client Interface

Run Soul of Waifu on your main PC and connect from your phone or tablet over home Wi-Fi via http://:8000. Features real-time bidirectional WebSocket syncing, custom chat backgrounds, avatar rendering, and voice input routed directly through your PC's local Faster Whisper model.

---

πŸ€– Discord Gateway

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Discord Gateway

Connect your Soul of Waifu characters directly to Discord bots. Chat with your characters inside server channels or private messages, preserving their full personality, system prompt settings, and long-term memories.

---

🎨 AI Image Generation

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Image Generation in Chat

Generate illustrations directly within chat messages via context menu actions.

---

πŸ› οΈ Deep Tech & Fine-Tuning

πŸŽ™οΈ Voice, Speech-to-Text & Avatars
  • 6 Text-to-Speech Engines:
  • Qwen3 TTS (Local): Ultra-low latency, voice cloning from a 3-second audio sample, prompt-based voice design, 9 built-in speakers, 1.7B and 0.6B models.
  • XTTSv2 & Kokoro 82M (Local): High-fidelity voice synthesis and zero-shot voice cloning.
  • Silero TTS (Local): Fast Russian voice engine.
  • EdgeTTS & ElevenLabs (Cloud): High-quality cloud neural voices.
  • RVC Support: Integrated Voice Conversion parameter tuning (pitch shift, index rate, protection).
  • Sentence-by-Sentence Streaming: Audio playback starts on the first generated sentence, eliminating response lag.
  • Full-Duplex Calls (SoW System): Silero VAD (Voice Activity Detection) + Faster Whisper transcription with seamless user-interruption support.
  • Avatars & 28 Emotion Classifier: Live2D (with motion animation links), VRM 3D models, GIFs, and static images. Automatic 28-state emotional sentiment analysis with LipSync audio matching.
πŸŽ›οΈ Advanced Text Sampling (Loop Prevention)
  • Dynamic Temperature: Dynamically shifts temperature based on confidence to balance creativity and logic.
  • DRY Sampler (Don't Repeat Yourself): Prevents multi-word phrase loops without degrading grammatical quality.
  • XTC (Exclude Top Candidates): Filters out overused AI clichΓ©s and repetitive vocabulary.
  • Min-P: Trims low-probability tokens relative to the top candidate for coherent output.
πŸ“– Updated Lorebooks Engine
  • Multi-Binding: Link multiple lorebooks to a single character simultaneously.
  • Semantic Situation Matching: Local vector search matches lore entries based on situational context rather than strict keywords.
  • Scene Tension Accumulator: Dynamically builds story energy to trigger random events.
  • Chain Dependencies: Create multi-stage questlines with delayed entry unlocks.
  • Injection Modes: Choose between Passive (Background Knowledge) and Active (System Directive) injection.
πŸ’» Local & Cloud LLM Backends
  • Reasoning Model Support: Dedicated Thinking Token Budget setting and automatic `` block parsing for reasoning models like DeepSeek.
  • Models Hub: Integrated Hugging Face repository search, GGUF downloader with progress bar and instant cancel, and automated Llama.cpp binary updater.
  • Local Acceleration: Llama.cpp HTTP server supporting CUDA (NVIDIA), HIP (AMD), SYCL (Intel), and Vulkan.
  • Performance Options: Flash Attention, MLock, KV-Cache quantization (q8_0, q4_0), Thinking Mode, and CPU MoE layer offloading.
  • 10 Cloud Providers Supported: OpenRouter, OpenAI, Anthropic Claude, DeepSeek, Grok (xAI), Google Gemini, Qwen, Mistral AI, Z.AI, Player2 and custom OpenAI-compatible endpoints.

---

πŸ“₯ Installation

No Python knowledge, Node.js, or command-line experience required.

1. Download the latest release archive (currently Soul-of-Waifu-v2.4.7.rar) from Releases.
2. Extract it with 7-Zip or WinRAR to a path without spaces or Cyrillic characters (e.g. C:\AI\Soul-Of-Waifu\).
3. Run installer.bat (Do NOT run as Administrator).
4. Launch via start.bat.
[!WARNING]
Do not run installer.bat as Administrator! Windows changes the working directory for Administrator processes to C:\Windows\System32, causing installation path errors. Use a standard double-click.

System Requirements

| | Minimum | Recommended | |---|---|---| | OS | Windows 10/11 (64-bit) | Windows 10/11 (64-bit) | | RAM | 8 GB | 16 GB+ | | GPU | Any (for Cloud APIs) | NVIDIA / AMD with 6+ GB VRAM (for local models) | | Storage | 10 GB free space | Fast NVMe SSD |

---

⚑ Quick Start

Go to Options -> Configuration, input your OpenRouter or OpenAI API key. Import a character card from the Characters Gateway or drag-and-drop a .png / .json file into the app window. Navigate to Models Hub, search for a model (e.g. Gemma or Qwen), and download a Q4_K_M GGUF quantization. In Options -> LLM Settings, select your GPU backend (CUDA/HIP/SYCL/Vulkan), enable Flash Attention, and launch the server via Models Hub.

Once you're set up, web search, clipboard access, app control and other tools are available straight away in regular text and voice chats - no need to switch to Soul Companion mode to use them. πŸ“– Read full documentation & guides: jofizcd.github.io/soul-of-waifu-site/docs ---

πŸ’– Support & Community

Soul of Waifu is a solo-developer open-source project. All features are 100% free with no paywalls or premium tiers. Financial Support: Community & Help: ---

πŸ“Š Repository Stats

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Star History Chart

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Repobeats Analytics

---

πŸ‘€ Developer

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Jofi Avatar

Jofi

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/YouTube https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Discord https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/Telegram https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/GitHub

https://github.com/jofizcd/Soul-of-Waifu/blob/HEAD/License: GPL v3

GitHub Stars & Activity

1,333Stars
69Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars1,333
Forks69
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

open-webui / open-webui

Pythonβ˜… 152,659β‘‚ 22,336
β†’
2

HKUDS / nanobot

Pythonβ˜… 48,435β‘‚ 8,555
β†’
3

chatchat-space / Langchain-Chatchat

Pythonβ˜… 38,654β‘‚ 6,265
β†’
4

lss233 / kirara-ai

Pythonβ˜… 19,032β‘‚ 1,837
β†’
5

langbot-app / LangBot

Pythonβ˜… 17,931β‘‚ 1,602
β†’
6

Open-LLM-VTuber / Open-LLM-VTuber

Pythonβ˜… 13,855β‘‚ 1,653
β†’
7

ollama / ollama-python

Pythonβ˜… 10,545β‘‚ 1,178
β†’
8

LearningCircuit / local-deep-research

Pythonβ˜… 9,113β‘‚ 828
β†’

More AI Rankings