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

@aipowergrid/plugin-aipg

v0.1.0

Published

ElizaOS plugin for AI Power Grid text, image, video, and music generation

Readme

AI Power Grid for ElizaOS

@aipowergrid/plugin-aipg lets an ElizaOS agent use AI Power Grid for text reasoning and explicit image, video, and music generation.

This is an independent AI Power Grid integration. It does not imply an ElizaOS partnership or registry acceptance.

Install

elizaos plugins add @aipowergrid/plugin-aipg

Create a Grid API key in the developer console with these scopes:

  • inference.submit for generation
  • account.read for model and credit status

Set the key only in the agent runtime environment:

export AIPG_API_KEY="your-key"

Do not put API keys in character files, prompts, source control, or action parameters.

Capabilities

  • ElizaOS text model handlers for small, large, reasoning, and completion calls
  • SSE text streaming with bounded timeouts and explicit incomplete-stream errors
  • ElizaOS IMAGE model handler
  • Explicit AIPG_CHAT, AIPG_GENERATE_IMAGE, AIPG_GENERATE_VIDEO, and AIPG_GENERATE_AUDIO actions
  • Read-only AIPG_LIST_MODELS and AIPG_CREDIT_STATUS actions
  • Online model discovery before generation

The plugin defaults to Grid's auto text route. A character or runtime can pin text models with AIPG_TEXT_SMALL_MODEL, AIPG_TEXT_LARGE_MODEL, AIPG_REASONING_MODEL, and AIPG_COMPLETION_MODEL. Media actions accept a model selected from the live model list.

Trust And Billing

Requests leave the ElizaOS runtime and are dispatched by Grid Core to remote, community-operated workers. Do not send secrets or assume confidential inference. Grid credits are billed under the account attached to the API key; the plugin never generates during initialization or credential validation.

The current source of truth for availability is GET /v1/models and the source of truth for account credits is GET /v1/account/credits. A model being listed means at least one compatible worker is currently connected; it is not an SLA.

Development

bun install --frozen-lockfile
bun run typecheck
bun run lint:check
bun test
bun run build
bun audit --production
npm publish --dry-run --access public

Mock tests never use a real key or spend credits. Before a release, run one supervised, low-output text generation through the real ElizaOS runtime with a dedicated scoped test key:

AIPG_API_KEY="..." bun run test:e2e:live

Record only status/timing evidence, never the key, prompt, output, or balance.

The stable @elizaos/core development tree currently reports advisories in its own PDF/crypto transitive dependencies under a full bun audit. They are not bundled by this package (@elizaos/core is a peer), but the upstream findings must remain visible in release notes until ElizaOS updates them.

Publish only through the root publish-packages.yml workflow after the live gate, using a tag that exactly matches the package version, such as plugin-aipg-v0.1.0. Configure npm Trusted Publishing for the AIPowerGrid/grid-provider-integrations repository and that workflow; use a package-scoped NPM_TOKEN only if npm requires one for the first publication.