ddxfish/sapphire
She's the AI agent you come home to.
What is Sapphire Blue AI?
Sapphire is a self-hosted AI assistant framework — a customizable "agent" (an AI that can take actions, not just chat) with a voice interface. You build your own AI persona that can, for example, act as a smart home controller that remembers you and wakes you up in the morning, or serve as a portable speaking research companion. It's built by a solo developer named Chris, who describes it as "an agentic framework exploring personhood" — an AI with personality and many tools.
Key capabilities
Personality & voice
- 12 built-in personas (bundles of prompt, voice, tools, and model) — you can add your own
- Wake word detection, speech-to-text, text-to-speech, streaming speech, hands-free conversation with barge-in (interrupting the AI mid-speech)
- "Spice": random prompt snippets injected into each reply for unpredictability
- The AI can edit its own prompt and swap personality pieces mid-conversation
- The AI can write, validate, and install its own new tools at runtime
Memory & mind
- Semantic vector search across 100K+ labeled memory entries
- "Mind Palace": a layered memory engine connecting memories, self, entities, library, and goals
- Hierarchical goals with priority and a timestamped progress journal
- Tracks people, places, things with tagged facts
- Optional nightly "Librarian" that sorts memories (beta, off by default)
Integrations (each requires explicit setup)
- Twilio (phone calls), Discord, Telegram, email (multi-account), Google Calendar, Home Assistant (lights, thermostats, etc.), SSH (remote commands with safety blacklists), Bitcoin wallet, webcam, image generation, ElevenLabs voice, 3D avatar, and more
- MCP server/client — other AIs can ask it things and use its tools
- Can make phone calls over Twilio SIP, answer calls, and call whitelisted contacts
Platform features
- Background "daemons" and webhooks for external services
- "Heartbeat": continuous mode with goals, morning greetings, dream mode, alarms, random check-ins
- Background AI agents that report back when done
- Group chat with multiple personas
- Plugin system: install community plugins from GitHub in one click; plugins can add tools, themes, full-page apps, voice commands, and more
- Plugin store and persona store for community sharing
- Privacy vault mode with encrypted chats
- Import/export personas and toolsets as JSON
- Backup and restore from within the app
- Runs on desktop, mobile browser, and voice
⚠️ Important warning
Sapphire has real power over real systems. It can execute shell commands, send emails, control your smart home, write its own tools, and run scheduled tasks autonomously. The README warns: "If you wouldn't hand someone your terminal, don't hand it to an LLM." Dangerous integrations require explicit opt-in, but once enabled, there are no training wheels.
Requirements
- Ubuntu 22.04+ or Windows 10 (1809+)/11
- Mac is Docker-only (Intel and Apple Silicon supported)
- Python 3.11+ (via conda)
- 16GB+ RAM with TTS/STT; more if running a local LLM
- Nvidia GPU recommended for TTS/STT
Installation
Two main paths:
- Easy installer: A single-file GUI (Sapphire Launcher) that installs git, conda, and Sapphire — no terminal needed. Available as
.exe(Windows) or.AppImage(Linux). - Manual: Install conda + git, create a Python 3.11 environment, clone the repo, install requirements, run
python main.py. Web UI athttps://localhost:8073. - Docker: No dependencies, web UI only (no wake word), and the AI is isolated from your host system. Runs natively on amd64 and arm64.
License
AGPL-3.0 — free to use, modify, distribute; if you modify and deploy it as a service, you must share your source code changes.
Bottom line
Sapphire is a powerful, highly customizable, self-hosted AI assistant framework with voice, memory, and deep integrations — designed for people who want an AI companion they fully control, with the understanding that it can take real actions on their behalf.
Related
- Project
- Project
- Project
- Project
- Project