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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2245cf574f3148ee816816e940ebb2fd87bd78dc025b9dac44dd2318965affa
|
|
| MD5 |
b9c9d29087dd3eb48f8537acb6695d83
|
|
| BLAKE2b-256 |
a51b7a6311bdfa326c2cf35f2ec496bc65178651085acca73fb9db76e817953e
|
File details
Details for the file alpha_avatar_core-0.6.4-py3-none-any.whl.
File metadata
- Download URL: alpha_avatar_core-0.6.4-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f1706042e692ddf79e63468bc4b4a29d11ba430cebdc364d1a6dac40c6a64bb
|
|
| MD5 |
fac0fbe579a0abca03a922a1b42ffba8
|
|
| BLAKE2b-256 |
b8aeea580db3328da23aa8b103b9fc394579f300683bbe7e27347a5e29c4dd7f
|