Skip to main content

AbstractAvatar

crates.io 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.0: the first release of the abstractavatar crate. 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

Build from the repository with Python 3.10+ and Rust 1.87+:

git clone https://github.com/lpalbou/AbstractAvatar.git
cd AbstractAvatar
python -m pip install .
python -m abstractavatar catalog
python -m abstractavatar render --style halo --state speaking --level 0.6 --size 128 --output avatar.png

The Python distribution includes the compiled native library. A source installation builds it with Cargo. 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.0

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.0
File Size Uploaded Provenance Actions
abstractavatar-0.1.0.tar.gz 545.1 kB With provenance Details for abstractavatar-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.7 MB

Release files / abstractavatar-0.1.0.tar.gz

Download URL abstractavatar-0.1.0.tar.gz
Size 545.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6c2e3f81320c0409893192d1e88cbf56255d867702beab2b95dda16ea1f77725
BLAKE2b-256 checksum
How to use checksums
edf192871f4884942369c2f8c897f0f90ac988dfb8410a93bab6b33ea6709a0f
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 2, 2026.

Transparency log

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

Download URL abstractavatar-0.1.0-py3-none-win_amd64.whl
Size 146.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
25554645f05e0251b2a650a2caaacaf95ca9704fed3629b1c7b13974d62c8729
BLAKE2b-256 checksum
How to use checksums
aefe12d08e3120c65052adc1ee64a225ce11faa3eb1568549a47929c04c0f43e
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 2, 2026.

Transparency log

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

Download URL abstractavatar-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 269.8 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
feaaad1e2fdbe676ef1a1f2701c555de9281eebfb593ccf69f3a871e88f92eba
BLAKE2b-256 checksum
How to use checksums
59680fece9239c2ec04beade97688bb41380e10f5a0929410af02366d6271e70
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 2, 2026.

Transparency log

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

Download URL abstractavatar-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Size 261.8 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
30b2a5bc1ec0ab2394073520cf162f105e14237aa4d926a816ef707c2e936ede
BLAKE2b-256 checksum
How to use checksums
e5f7ca4c929b9601d6127a43942d4d816e0aad1250a3bcc2e98daee265923c29
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 2, 2026.

Transparency log

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

Download URL abstractavatar-0.1.0-py3-none-macosx_11_0_x86_64.whl
Size 246.6 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
f2bc74a17c1bdbc87dfd9042dc19bdb0928c0b8006f9de807039d9773a49bd8a
BLAKE2b-256 checksum
How to use checksums
ed9d3390e60bcd9208d90ecd557632648ba82ff3d30531cca71b9ac03c92a766
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 2, 2026.

Transparency log

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

Download URL abstractavatar-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 234.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
33626f618576d444aed6dad55f1f95065bb6e887a2ceed14c8475891591be461
BLAKE2b-256 checksum
How to use checksums
f67be32ac569506e5a35e7fb01e22badb6faa532cbccfbfb96d23605d7b2fce7
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 2, 2026.

Transparency log

Security for abstractavatar 0.1.0

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.0.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 2, 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