Skip to main content

🧬 AlphaAvatar Persona Plugin

The Persona Plugin provides user identity recognition and profile management for AlphaAvatar.

🧩 Module Overview

The plugin is responsible for:

  • identifying users through face and speaker embeddings;
  • associating temporary face, speaker, and session identities with stable users;
  • maintaining user profile attributes;
  • exposing the active user persona to the Avatar Runtime;
  • publishing identity-related annotations into PerceptionRuntime.

Persona processing is divided into independent paths:

Visual Observation
    └── → Face Recognition

Speech Observation
    └── → Speaker Recognition

Conversation Context
    └── → Persona Profile

The resulting identity and profile information can be used by Memory, prompting, retrieval, and other runtime modules.

🔍 Identity Processing

👁️ Face Recognition

The face stream consumes visual observations from PerceptionRuntime.

Video / Screen Observation
            ↓
      PerceptionRuntime
            ↓
       FaceStreamWrapper
            ↓
     FaceAnalysisRunner
            ↓
 Face Embedding and Attributes
            ↓
      User Identity Match

Face processing:

  • samples frames independently from the shared visual stream;
  • performs face detection and embedding extraction;
  • matches embeddings against known user profiles;
  • updates face attributes and identity associations;
  • publishes face annotations back to the original observation;
  • optionally renders face bounding boxes into the annotated payload view.

Raw video observations remain unchanged. Rendered overlays are stored in the separate annotated payload view.

🎤 Speaker Recognition

The speaker stream consumes routed speech observations rather than subscribing directly to LiveKit audio.

PerceptionRuntime.audio
          ↓
AudioActivityProcessor
          ↓
PerceptionRuntime.speech
          ↓
     Speaker Stream
          ↓
 Speaker Embedding and Match

Speaker processing uses rolling speech windows to:

  • create speaker embeddings;
  • match speech against known users;
  • update voice identity attributes;
  • associate temporary speaker identities with stable user profiles.

Raw audio frames are used only during runtime processing and are not stored as persona profiles.

🧩 Supported Components

Component Input Output Function
FaceStreamWrapper video and screen observations Face annotations and user matches Detects faces, generates embeddings, matches users, and updates face attributes.
SpeakerStreamWrapper Routed speech observations Speaker matches and voice attributes Builds rolling speech windows, generates speaker embeddings, and resolves voice identities.
Persona profile runtime Conversation and identity context Active persona content Maintains user profile information and exposes it to the Avatar Runtime.
Identity alias handling Temporary and stable identity IDs Identity relationships Links session, face, speaker, and user identities across runtime modules.

Persona profiles may contain:

  • stable user identifiers;
  • face and speaker embeddings;
  • face and voice attributes;
  • profile text;
  • temporary identity aliases;
  • session and runtime metadata.

🔗 Module Relationships

PerceptionRuntime
    ├── → Face observations
    └── → Speech observations

Router Plugin
    └── → Routed speech stream

Persona Plugin
    ├── → Active user identity
    ├── → Persona prompt context
    ├── → Face and speaker annotations
    └── → Identity aliases

Memory Plugin
    └── → User ownership and identity-aware retrieval

📦 Installation

pip install alpha-avatar-plugins-persona

The plugin is loaded through the AlphaAvatar configuration.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alpha_avatar_plugins_persona-0.6.7.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alpha_avatar_plugins_persona-0.6.7-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

Details for the file alpha_avatar_plugins_persona-0.6.7.tar.gz.

File metadata

File hashes

Hashes for alpha_avatar_plugins_persona-0.6.7.tar.gz
Algorithm Hash digest
SHA256 713146eff0dd49462b02d85819546970712a1e0187bf2884f888a1f1b2431f24
MD5 7003dfda23ae78546687e7ec57c9ca65
BLAKE2b-256 7b99e0b8477e604efab1645d75060fb244fe1fd74c7ce0830d49205926d42f69

See more details on using hashes here.

File details

Details for the file alpha_avatar_plugins_persona-0.6.7-py3-none-any.whl.

File metadata

File hashes

Hashes for alpha_avatar_plugins_persona-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f126d5d0297227163d821edcf878053d0c9cb0c493594534e6a54ed43cff77c3
MD5 5c3bdee62dbacd8aeb6291a85373f546
BLAKE2b-256 52a949719d26e69fc5a5ed6f28e85b4518764736794affbaa7e252e2b0a55bc7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.7 This release

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page