🧠 AlphaAvatar Memory Plugin
The Memory Plugin provides persistent conversation, tool, and environment memory for AlphaAvatar.
🧩 Module Overview
The plugin is responsible for:
- extracting durable memories from conversations and tool results;
- building ENV memory from live perception observations;
- attaching identity, session, evidence, and graph metadata;
- storing memory records in local or remote vector databases;
- retrieving relevant memories for future interactions.
Memory extraction is divided into independent paths:
Conversation
└── → Conversation Memory
Tool / RAG / DeepResearch Result
└── → Tool Memory
Visual or Audio Observation
└── → ENV Memory
Supported memory types include:
| Memory Type | Description |
|---|---|
Avatar |
Stable information about the avatar itself |
Conversation |
User information, preferences, decisions, and interaction history |
Tools |
Useful results produced by tools, RAG, MCP, or research |
ENV |
Information extracted from visual or audio environment observations |
🌍 ENV Memory
ENV Memory consumes observation windows from PerceptionRuntime.
Video / Screen / Audio Observation
↓
PerceptionRuntime
↓
EnvMemoryScheduler
↓
Multimodal ENV Extraction
↓
MemoryType.ENV
EnvMemoryScheduler manages:
- periodic ENV memory updates;
- updates triggered by user turns;
- resetting the periodic interval after a successful triggered capture;
- fast perception cursor commits;
- serialized model inference;
- pending batch merging and retry handling.
ENV memory is only updated when visual or audio observations are available.
User text does not independently create ENV memory. It is attached only as additional context when real environment observations are present.
Visual / Audio Observation + User Text
↓
ENV Memory Update
User Text Only
↓
No ENV Memory Update
Visual observations are sampled before extraction to avoid repeatedly processing similar frames. Raw audio frames are ignored; future audio support should use audio segments or semantic audio events.
Heavy runtime payloads such as video frames and audio buffers are not stored directly as memory records. ENV memory stores extracted text, evidence references, and metadata.
🕸️ Storage and Retrieval
Memory records may contain:
- memory text;
- memory type;
- object ownership;
- session and timestamp metadata;
- observation evidence;
- graph nodes and links;
- provider-specific metadata.
Supported storage backends include:
| Backend | Usage |
|---|---|
LanceDB |
Local vector storage and retrieval |
Qdrant |
Remote or self-hosted vector storage |
Memory retrieval supports:
- semantic context search;
- filtering by memory type, session, or object ID;
- graph-node lookup;
- graph-neighbor expansion;
- identity alias resolution.
Graph metadata improves retrieval across related users, speakers, faces, objects, tools, sessions, and events, while memory text remains the primary stored information.
🔗 Module Relationships
PerceptionRuntime
└── → ENV Memory observations
Persona Plugin
└── → user, face, and speaker identity aliases
RAG / DeepResearch / MCP
└── → Tool Memory
Memory Plugin
├── → Dynamic runtime context
├── → Semantic retrieval
└── → Graph-aware retrieval
📦 Installation
pip install alpha-avatar-plugins-memory
The plugin is loaded through the AlphaAvatar configuration.
Metadata
Release files for alpha-avatar-plugins-memory 0.6.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| alpha_avatar_plugins_memory-0.6.7.tar.gz | 57.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alpha_avatar_plugins_memory-0.6.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 142.2 kB
Release files / alpha_avatar_plugins_memory-0.6.7.tar.gz
| Download URL | alpha_avatar_plugins_memory-0.6.7.tar.gz |
|---|---|
| Size | 57.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f33560db270ed5b836b69d2b8026336b1dd08c497e94a6759abf74c54f9b881
|
|
BLAKE2b-256 checksum How to use checksums |
850f1a995fc5cb41b69d4b3f39795381e99004ea42106028bb62c44843f8fe24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / alpha_avatar_plugins_memory-0.6.7-py3-none-any.whl
| Download URL | alpha_avatar_plugins_memory-0.6.7-py3-none-any.whl |
|---|---|
| Size | 84.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbba53d9cdbfa9b9141e43e71ca55b94067f01918f8c33e84687244f0f8eb64b
|
|
BLAKE2b-256 checksum How to use checksums |
2d8f586dd12701ab4e1ef1235f7fec3d41947ee614e6a7f767baf4911c79c67a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for alpha-avatar-plugins-memory 0.6.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.