Skip to main content

AbstractAvatar

crates.io PyPI docs.rs CI

AbstractAvatar generates procedural avatars from explicit activity state, time, audio level and gaze. One Rust implementation supplies terminal, browser and native applications with a common catalog and rendering behavior.

Use it for an assistant portrait, an activity indicator or a procedural character that responds to your application's state. The host supplies state and presentation; AbstractAvatar generates the picture locally.

Procedural avatar catalog

What's new in 0.1.1: gaze moves the eyes only. Each catalog design declares a gaze component ("eyes" or "none"); a gaze input shifts only the eyes of eyes designs, and every other design draws the same frame with or without it. See the changelog.

Start with Rust

Add the crate from crates.io (Rust 1.87+):

cargo add abstractavatar
use abstractavatar::{AvatarPose, AvatarStyle, Frame, Gaze, Palette};

let frame = Frame::new(AvatarStyle::Halo, AvatarPose::Speaking, 0.6, 1.2, Gaze::default());
let palette: Palette = [[0xffc060ff; 256], [0xff7070ff; 256], [0xd8e0ffff; 256]];
let rgba = frame.rgba(0.2, -0.1, 2.0 / 128.0, &palette);

Enable the ffi feature for the C ABI and WebAssembly exports, and json for the versioned parameter descriptor.

Start with Python

Install from PyPI with Python 3.10+:

python -m pip install abstractavatar
python -m abstractavatar catalog
python -m abstractavatar render --style halo --state speaking --level 0.6 --size 128 --output avatar.png

Wheels for Linux x86_64 and aarch64 (manylinux), macOS arm64 and x86_64, and Windows x86_64 include the compiled native library. On other platforms pip builds the library from the source distribution, which needs Rust 1.87+. To build from a checkout, run python -m pip install . in the cloned repository. See getting started for library use and platform builds.

Integrate a player

  • Rust: create a Frame and sample composited RGBA through your theme's material ramps.
  • Browser: run the bundled WebAssembly generator and present RGBA pixels on Canvas.
  • Python/native: request RGBA pixels through the binding or the C interface and present them with your UI toolkit.

Store catalog style identifiers, rather than numeric indices. Supply time explicitly, stop animation while hidden, and use a static frame when reduced motion is enabled. Platform adapters do not need their own geometry implementations.

The catalog includes shaded characters, particle orbs, forms, portraits, machines, nature scenes and a woven orb. Catalog guidance explains source variants and stable keys.

Documentation

Documentation index · Architecture · API · Frame contract · FAQ · Troubleshooting · Contributing · Security · Changelog

For AI agents

Use the AbstractAvatar skill for the rendering workflow, descriptor constraints and platform integration rules. The LLM index maps the public documentation.

Metadata

Release files for abstractavatar 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abstractavatar 0.1.1
File Size Uploaded Provenance Actions
abstractavatar-0.1.1.tar.gz 551.3 kB With provenance Details for abstractavatar-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for abstractavatar 0.1.1
File Actions
abstractavatar-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for abstractavatar-0.1.1-py3-none-win_amd64.whl
abstractavatar-0.1.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for abstractavatar-0.1.1-py3-none-manylinux_2_28_x86_64.whl
abstractavatar-0.1.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for abstractavatar-0.1.1-py3-none-manylinux_2_28_aarch64.whl
abstractavatar-0.1.1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for abstractavatar-0.1.1-py3-none-macosx_11_0_x86_64.whl
abstractavatar-0.1.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for abstractavatar-0.1.1-py3-none-macosx_11_0_arm64.whl

Total release size: 1.7 MB

Release files / abstractavatar-0.1.1.tar.gz

Download URL abstractavatar-0.1.1.tar.gz
Size 551.3 kB
Tags Source
SHA-256 checksum
How to use checksums
57f46cb956618c4026f511493ba9b30b44dd90a7b673c547346140d121ba0ddc
BLAKE2b-256 checksum
How to use checksums
06d022dd2dfafa5aba42fd43bd997d8f69c94365cdfcb6c28f6ff6d3fe55f154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / abstractavatar-0.1.1-py3-none-win_amd64.whl

Download URL abstractavatar-0.1.1-py3-none-win_amd64.whl
Size 147.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e375847cce884e822d7c493c53ef1469d30d093db93c82adc64bed93d2e16822
BLAKE2b-256 checksum
How to use checksums
36ec1934218f8a8b9b83877b7561f98a6cd7847f19c5321eae51c6871b71d53d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / abstractavatar-0.1.1-py3-none-manylinux_2_28_x86_64.whl

Download URL abstractavatar-0.1.1-py3-none-manylinux_2_28_x86_64.whl
Size 272.8 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
653c130b4b746cc8905b1af7e6dc2f887a3f5b4539f0b3d9e5b726badc7a95a5
BLAKE2b-256 checksum
How to use checksums
2e6a8491a0b37290d4e4740c807e262ac7a6901c710337c6d45d132e4109cc2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / abstractavatar-0.1.1-py3-none-manylinux_2_28_aarch64.whl

Download URL abstractavatar-0.1.1-py3-none-manylinux_2_28_aarch64.whl
Size 264.9 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
280e1651e90a5af94b58aa20e38a0b070da4b8dfde9473d8d7e3143ed4d8e0f3
BLAKE2b-256 checksum
How to use checksums
b89ed590155057fe0448ca50f1dd07e7125568365883d5397fb9416ef6d32197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / abstractavatar-0.1.1-py3-none-macosx_11_0_x86_64.whl

Download URL abstractavatar-0.1.1-py3-none-macosx_11_0_x86_64.whl
Size 248.9 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
8d770236cb02c332721c0f6b74a3f32a24ed355ee380b9b3fc609d4839d9882d
BLAKE2b-256 checksum
How to use checksums
66f7efd74d2dc0e996007860d9e74a57d592e79399d86b45045411aca7f11ed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / abstractavatar-0.1.1-py3-none-macosx_11_0_arm64.whl

Download URL abstractavatar-0.1.1-py3-none-macosx_11_0_arm64.whl
Size 236.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8df4c13666990864d4172cd311cb7a31ca470e7d9eb22218627df48ceed8e69a
BLAKE2b-256 checksum
How to use checksums
d99d0eb367ca48be59364822cd78a9fb5cd6d9d51785ccda98640be74acb2e81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for abstractavatar 0.1.1

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for abstractavatar-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

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.

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