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.

The seven ready avatar designs, speaking

What's new in 0.2.0: the catalog keeps 27 designs; 17 are retired, and a stored retired or unknown id still renders (its replacement, or watch-halo). Seven designs are ready and offered to users; the other 20 are experimental: they render when asked for by key but pickers do not list them. The picture above shows the ready designs. watch-rings moves each ring with its own voice band, and thinking and working are distinct animations in every design. 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::WatchHalo, 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 watch-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. Offer users only the ready designs (AvatarStyle::ready(), Python ready(), avatar_ready_*). 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, machines, cosmic and nature scenes and a woven orb. Catalog guidance explains stable keys, ready and experimental designs, retired keys and the design guide.

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.2.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.2.0
File Size Uploaded Provenance Actions
abstractavatar-0.2.0.tar.gz 203.5 kB With provenance Details for abstractavatar-0.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.3 MB

Release files / abstractavatar-0.2.0.tar.gz

Download URL abstractavatar-0.2.0.tar.gz
Size 203.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b8560ec2de07d096d1a20abf3a2f4d9791d00d510af94989bd111022e4cbbfa2
BLAKE2b-256 checksum
How to use checksums
adf383b3169fcaa2eb2c6d2b47b5821aeffd5e460810bd8bec33dffcbccb52ca
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 10, 2026.

Transparency log

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

Download URL abstractavatar-0.2.0-py3-none-win_amd64.whl
Size 140.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3735bec2680593343bdc4d7da151e6450fd611dd6aefe7c79105f41dc4e460a5
BLAKE2b-256 checksum
How to use checksums
b5bb092738adc62ad1d162c296c980190f4202fdc4e91bdd28afc77efe4f6c15
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 10, 2026.

Transparency log

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

Download URL abstractavatar-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Size 264.0 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
24d79c6540a11a76a8f72a187804934427b2120b5ba60b62a81efc5fde7a5c18
BLAKE2b-256 checksum
How to use checksums
6d481e0ff12fd24cdddcdbec24b202e4cf29f3e3c52989eb0bbbc184bc3b0fca
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 10, 2026.

Transparency log

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

Download URL abstractavatar-0.2.0-py3-none-manylinux_2_28_aarch64.whl
Size 254.8 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f8d62c110eb53c20bd24e50b93b6bf038c16bb05ca10eb69eaa7cf7d57f31eee
BLAKE2b-256 checksum
How to use checksums
8beb1e0e40352234a10b1e4a0ce3dfed537a850445b6809cfb2def653f4eb900
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 10, 2026.

Transparency log

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

Download URL abstractavatar-0.2.0-py3-none-macosx_11_0_x86_64.whl
Size 240.6 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
ab5b0314565898aa6f33f701b2d952e2f7ad80e37ac8c5ab12c8b0b97ce27329
BLAKE2b-256 checksum
How to use checksums
bae091db116d8d255e44d3f8fd46bac5118a658589574f55c2b8738a87ac95e1
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 10, 2026.

Transparency log

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

Download URL abstractavatar-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 227.8 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ece4b576f30475605ac75e5973e115f9d8a71a54ae22ee39fc7b138b9e0756d2
BLAKE2b-256 checksum
How to use checksums
ad980fd7bd82e1063ba2e97a9eb9ec6cd6fd510cd16688825b870e2b388d8ac0
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 10, 2026.

Transparency log

Security for abstractavatar 0.2.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.2.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 10, 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