Overview
A developer toolkit (alpha 0.6.0) for AI companions that remember: persistent memory, a stable character identity and emotional continuity, usable from Python, through MCP inside an existing agent, or behind your own frontend. It stores original messages, facts with their sources, corrections and linked evidence in local SQLite with FTS5, offers keyword search with optional embeddings and cited summaries, and adds persona settings, emotional-attunement records and an optional fictional relationship state. Optional modules cover vision, image generation, speech, transcription and live voice or animated video calls. The package is `companion-engine` with a `companion` CLI. It adapts the memory and brain design of the Anima app into a standalone library, and the README says it is not the complete Anima backend or a promise of identical behaviour. Real chat needs any Chat Completions-compatible model with JSON output, set through `COMPANION_BASE_URL`, `COMPANION_MODEL` and `COMPANION_API_KEY`; the offline demo uses synthetic data and calls no model. The MCP integration works with Claude Code, Claude Desktop and DeepSeek Harness, but the host has to call the tools to fetch context and save turns. Flags: alpha, installed from source; local storage is not local inference, since your configured provider receives the context and background maintenance makes extra model calls; owner IDs are namespaces, not authentication, so a public multi-user deployment needs its own auth; emotional state is a fictional simulation, not a psychological assessment. No telemetry is mentioned. Python 3.11+. MIT for code (Anima branding and artwork have separate terms). 69 stars on GitHub (created 2026-11-13).
Quick summary. This page gives a short overview of this tool. For installation steps, full documentation and the latest changes, read the official source; details such as features and versions can change there first.
Example prompts example
Illustrative examples written by FoxaMind's AI Trends Scout — not quoted from the source.
- Run the offline demo first; it shows memory and recall with no model calls.
- Read SECURITY.md and add your own authentication before hosting it for several users.
- Pick a local model endpoint if conversations must not leave your machine.