Sapphire AI Agent
From ETCwiki
Jump to navigationJump to search
Sapphire
Sapphire is a self-hosted, privacy-first AI voice assistant framework written in Python. It is licensed under AGPL-3.0 and actively developed by ddxfish.
Overview
Sapphire provides a modular voice assistant platform designed for local-first operation with optional cloud provider support. It features a signed plugin system, multi-provider TTS/STT, persona management, RAG knowledge bases, and Home Assistant integration, all runnable via Docker or bare metal.
Key Features
- Signed plugin architecture (email, SSH, Bitcoin wallets, Home Assistant, and more)
- Multi-cloud TTS/STT providers (ElevenLabs, Fireworks, Kokoro, faster-whisper)
- Persona system with per-persona configuration and memory
- State engine for interactive storytelling
- Privacy mode and local-first design
- Docker support with custom STT/TTS/Nomic/router/pool containers
- RAG/knowledge base integration
- Web UI with mind view
Architecture
Sapphire uses a Python/FastAPI backend with a vanilla JS frontend. Chat storage uses JSON files (SQLite migration planned). LLM inference supports LM Studio, llama.cpp, Claude API, Fireworks, and any OpenAI-compatible endpoint.
Links
License
Sapphire is released under the AGPL-3.0 license.