DominikScholz/open-bot-avatar

A JSON spec and renderer for interactive agent avatars

What it solves

Open Bot Avatar provides a standardized way to create and display interactive, 3D-styled avatars for AI agents. It eliminates the need for complex assets by using a simple JSON specification that defines an avatar's shape and eye placement, which the library then renders into dynamic, responsive visuals.

How it works

At its core, the project uses a JSON contract that defines an SVG path and eye coordinates. The library takes this definition and infers volume by stacking cross-sections, which can be rendered as an interactive animation on a web page or as a static SVG. You can customize these avatars with colors, moods (like "happy" or "thinking"), and gaze-tracking that follows the user's mouse or finger.

Who it’s for

This project is for developers building AI agents or chat interfaces who want to add a lightweight, expressive visual identity to their bots without needing heavy external dependencies or complex 3D modeling tools.

Highlights

  • Zero dependencies: The core package is lightweight and easy to integrate into any web project.
  • Interactive features: Built-in support for gaze-tracking, mood changes, and dynamic movement.
  • AI-ready: Includes a system prompt and skill definition so that LLMs can generate new avatar designs directly.
  • Flexible rendering: Supports both live, animated web components and static SVG exports for non-interactive use cases.
  • Validation: Includes built-in tools to ensure custom avatar definitions follow the required technical contract.

Related

  • Project
  • Project
  • Project
  • Project