Skip to main content

Core runtime schemas and transport primitives for AlphaAvatar.

Project description

AlphaAvatar Core

๐Ÿงฉ Introduction

avatar-core provides the transport-agnostic runtime primitives shared across AlphaAvatar.

It defines how multimodal observations are represented, enriched with annotations, published through typed perception streams, aligned on a shared timeline, and selected as consumer-specific windows. The package intentionally remains independent from LiveKit Agents, model providers, and plugin implementations so that RTC adapters, Persona, Memory, Vision, and future multimodal components can evolve without coupling the core runtime to a specific backend.

๐Ÿ“ฆ Package Structure

avatar-core/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ alphaavatar/
โ”‚   โ””โ”€โ”€ core/
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ”œโ”€โ”€ env/                         # Environment observation envelopes and annotations.
โ”‚       โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚       โ”‚   โ”œโ”€โ”€ annotation.py           # Structured metadata attached to an observation.
โ”‚       โ”‚   โ””โ”€โ”€ observation.py          # Runtime observation envelope for video, audio, screen, and events.
โ”‚       โ”œโ”€โ”€ media/                       # Backend-independent multimodal payload representations.
โ”‚       โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚       โ”‚   โ”œโ”€โ”€ formats.py              # Payload formats and views such as raw, annotated, and derived.
โ”‚       โ”‚   โ”œโ”€โ”€ payload.py              # Thread-safe multi-representation MediaPayload container.
โ”‚       โ”‚   โ””โ”€โ”€ video.py                # Generic video frame buffers and video payload helpers.
โ”‚       โ”œโ”€โ”€ perception/                  # Full-duplex perception transport, alignment, and windowing.
โ”‚       โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚       โ”‚   โ”œโ”€โ”€ runtime.py              # PerceptionRuntime entry point and typed stream orchestration.
โ”‚       โ”‚   โ”œโ”€โ”€ stream.py               # Multi-consumer streams with independent cursors and backpressure.
โ”‚       โ”‚   โ”œโ”€โ”€ timeline.py             # Observationโ€“annotation alignment and renderer coordination.
โ”‚       โ”‚   โ””โ”€โ”€ window.py               # Ordered multimodal windows for Memory, Persona, Vision, and routers.
โ”‚       โ””โ”€โ”€ version.py                  # Package version metadata.
โ””โ”€โ”€ pyproject.toml

๐Ÿ”„ Workflow

External RTC or device adapters first normalize incoming media into AlphaAvatar-owned payloads. EnvObservation wraps each payload with identity, source, timestamp, and metadata before publishing it to PerceptionRuntime. Persona and other perception modules can attach annotations and produce annotated payload views without overwriting the raw representation. Consumer-specific windows then provide ordered observations to modules such as ENV Memory, Sampled Frame Vision, routers, and future audio or event processors.

Project details


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_core-0.6.4.tar.gz (10.6 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_core-0.6.4-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file alpha_avatar_core-0.6.4.tar.gz.

File metadata

  • Download URL: alpha_avatar_core-0.6.4.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for alpha_avatar_core-0.6.4.tar.gz
Algorithm Hash digest
SHA256 c2245cf574f3148ee816816e940ebb2fd87bd78dc025b9dac44dd2318965affa
MD5 b9c9d29087dd3eb48f8537acb6695d83
BLAKE2b-256 a51b7a6311bdfa326c2cf35f2ec496bc65178651085acca73fb9db76e817953e

See more details on using hashes here.

File details

Details for the file alpha_avatar_core-0.6.4-py3-none-any.whl.

File metadata

File hashes

Hashes for alpha_avatar_core-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1706042e692ddf79e63468bc4b4a29d11ba430cebdc364d1a6dac40c6a64bb
MD5 fac0fbe579a0abca03a922a1b42ffba8
BLAKE2b-256 b8aeea580db3328da23aa8b103b9fc394579f300683bbe7e27347a5e29c4dd7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page