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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-meet-agent

v0.1.8

Published

AI meeting twin — bidirectional realtime audio through Google Meet

Readme

AI Meet Agent

AI meeting twin — bidirectional realtime audio conversation through Google Meet. Someone speaks, the AI twin hears and responds naturally.

Prerequisites

  • Node.js >= 22
  • Linux (native or WSL2)
  • Google Gemini API key (GEMINI_API_KEY)
  • ffmpeg (sudo apt install ffmpeg)
  • PipeWire/PulseAudio (typically pre-installed on modern Linux)

Native Linux Only

  • v4l2loopback kernel module (for virtual camera)

WSL2 Only

  • OBS Virtual Camera (Windows side)
  • VB-Audio Virtual Cable (Windows side)

Installation

npm install -g ai-meet-agent

Or run without installing:

npx ai-meet-agent start

Quick Start

  1. Set your API key:

    export GEMINI_API_KEY=your-key-here
  2. (Optional) Copy and edit the example config:

    cp node_modules/ai-meet-agent/config.example.json ./config.json
  3. Start a session:

    ai-meet start
  4. Open Google Meet, select "AI Meet Agent Camera" and "AI Meet Agent Mic" as your devices.

Commands

| Command | Description | |---------|-------------| | ai-meet start | Launch a meeting session | | ai-meet start --config <path> | Use a specific config file | | ai-meet start --notes <path> | Load meeting context from markdown | | ai-meet start --role <path> | Load persona from a role file | | ai-meet start --verbose | Enable verbose audio level logging | | ai-meet list-devices | Show available audio/video devices | | ai-meet test-audio | Verify audio device setup | | ai-meet --version | Show version | | ai-meet --help | Show help |

Configuration

All fields are optional — sensible defaults are used when omitted. See config.example.json for the full schema.

Key Fields

| Field | Default | Description | |-------|---------|-------------| | persona.name | "AI Assistant" | Name used in transcripts | | persona.role | "Meeting Participant" | Role context for AI | | persona.instructions | "" | Custom behavior instructions | | ai.model | gemini-2.5-flash-native-audio-latest | Gemini model ID | | devices.camera.videoNr | 10 | v4l2loopback device number |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | GEMINI_API_KEY | Yes | Google Gemini API key |

.env files in the working directory are loaded automatically.

Error Codes

| Code | Meaning | Common Fix | |------|---------|------------| | 2 | Config error | Check config.json fields — error names the bad field | | 3 | Missing dependency | Install the dependency shown in the error hint | | 4 | AI session error | Check GEMINI_API_KEY and network connection | | 5 | Audio pipeline error | Check PulseAudio/PipeWire setup |

Troubleshooting

"ffmpeg: command not found"

sudo apt install ffmpeg

"v4l2loopback kernel module not loaded"

sudo modprobe v4l2loopback video_nr=10 card_label="AI Meet Agent Camera" exclusive_caps=1 max_buffers=2

"GEMINI_API_KEY not set"

export GEMINI_API_KEY=your-key
# Or create a .env file:
echo "GEMINI_API_KEY=your-key" > .env

WSL2 audio not working

See docs/wsl2-setup.md for Windows-side VB-Cable and OBS configuration.

License

MIT