npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

kwami

v1.5.12

Published

A 3D Interactive AI Companion Library - Create engaging AI companions with visual (blob), audio, and AI capabilities

Readme

👻 kwami

An independent, reusable 3D Interactive AI Companion Library for creating engaging AI companions with visual (blob), audio, and AI capabilities.

Version 1.5.12 - Core library for the KWAMI ecosystem

npm version License

✨ Features

Mind-Body-Soul Architecture

  • 🎨 Body - 3D audio-reactive blob with real-time animations and touch interaction
  • 🧠 Mind - AI capabilities (TTS, STT, Conversations) with multi-provider support
  • 🎭 Soul - Personality system with 10-dimensional emotional intelligence

Key Features

  • Audio-Reactive 3D Blob - Real-time visualization with WebGL
  • Multiple Shader Skins - 3Colors collection (Poles, Donut, Vintage)
  • Interactive Touch Effects - Liquid-like ripples on click
  • Animation States - Idle, listening, thinking, speaking
  • AI Voice Integration - ElevenLabs & OpenAI TTS support
  • ElevenLabs Agents - Full agent management with Tools & Knowledge Base APIs
  • Emotional Personalities - Rich personality system with emotional traits
  • TypeScript First - Fully typed for excellent DX
  • Framework Agnostic - Use with React, Vue, Svelte, or vanilla JS

📦 Installation

npm install kwami
# or
bun add kwami
# or
deno add npm:kwami

🚀 Quick Start

import { Kwami } from "kwami";

const canvas = document.querySelector("canvas") as HTMLCanvasElement;

const kwami = new Kwami(canvas, {
  body: {
    audioFiles: ["/audio/track.mp3"],
    initialSkin: "Poles",
    blob: {
      resolution: 180,
      colors: { x: "#ff0066", y: "#00ff66", z: "#6600ff" },
    },
  },
  mind: {
    provider: "elevenlabs",
    apiKey: "your-api-key",
    voiceId: "your-voice-id",
  },
  soul: {
    name: "Kaya",
    emotionalTraits: {
      happiness: 75,
      empathy: 95,
      energy: 60,
    },
  },
});

// Play audio and animate
await kwami.body.audio.play();

// Speak with AI voice
await kwami.speak("Hello! I am Kwami.");

// Randomize appearance
kwami.body.blob.setRandomBlob();

📚 Documentation

For complete documentation, see the main repository documentation.

Quick Links

🔗 Links

📄 License

MIT License - See LICENSE for details.

🙏 Credits

Built with THREE.js, simplex-noise, ElevenLabs, and TypeScript.


Made with ❤️ by the KWAMI team

Part of the KWAMI ecosystem - see main repository for all projects.