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.6.tar.gz (33.5 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.6-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for alpha_avatar_plugins_persona-0.6.6.tar.gz
Algorithm Hash digest
SHA256 669be75e96560f2bc9071c9d8deda89222ea22a951cc68fd43425410fa910d1a
MD5 8701da2c6a800b818dd358c24f7a7d10
BLAKE2b-256 24dc9cdf9737617cb3b6df303f9ae181f4bdce4b479ce255922977b064254012

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alpha_avatar_plugins_persona-0.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d136ff518f5c4f6a17c27d8b8c676351d08749ea3aa242530620e7852b3323ac
MD5 03ef63274b92ab541d255ee420cacda5
BLAKE2b-256 4b476e9441e841e586385f3dd11e2087aae7603ed0138a36a17ad2b8fb8a3bfb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.7

2 files

This release

0.6.6 This release

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