Sity — AI assistant with persistent memory and its own cognitive architecture
说明与用途
Sity 是一款在 Raspberry Pi 4B 上运行的自托管对话 AI,使用本地 TTS/STT 和 SQLite 存储,并通过 Claude Haiku API 进行语言生成,具备完整的认知管线和主动行为。
问题
Developing a self‑hosted conversational AI that can remember past interactions, track user expectations, and take initiative, while running entirely on a Raspberry Pi 4B.
结果
Sity demonstrates that a fully local conversational AI can be built on modest hardware, providing persistent memory and proactive behavior while delegating only language generation to an external API.
工作流
- 1. Capture user input via faster‑whisper STT on the Pi
- 2. Process input through perception module
- 3. Appraise emotional content
- 4. Update goal tracker and episodic/semantic memory in SQLite
- 5. Evaluate 10 possible actions using a utility‑based engine
- 6. Generate response with Claude Haiku API
- 7. Convert response to speech with Piper TTS
- 8. Reflect and update self‑model
证据
It's a self‑hosted conversational AI that runs entirely on a Raspberry Pi 4B (backend, database, TTS/STT — all local).
The language model is Claude Haiku via API, but everything else is on‑device.
Each conversation turn goes through: Perception → emotional appraisal → goal tracking Episodic and semantic memory that persists across sessions A utility-based decision engine (10 possible actions) Reflection and self-model that update over time
Runs on Pi 4B (4GB RAM) SQLite database, no external dependencies Piper TTS + faster-whisper STT (both local) Caddy reverse proxy + Cloudflare Tunnel for remote access AGPL-3.0
- 记录日期: 2026-10-02T00:40:59.371Z