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

ohms-cli

v0.1.13

Published

OHMS AI Foundry CLI - Deploy and manage AI agents on Internet Computer

Readme

OHMS CLI

The official command-line interface for OHMS AI Foundry - deploy and manage AI agents on Internet Computer.

Installation

npm install -g ohms-cli

Quick Start

  1. Configure the CLI (first time only):

    ohms config
  2. Deploy OHMS platform (if not already deployed):

    ohms deploy
  3. Upload and deploy an AI model:

    ohms ingest model.onnx --name "my-model" --type "text"
  4. List deployed agents:

    ohms list
  5. Run inference:

    ohms predict <agent-id> "Hello, world!"

Commands

ohms config

Configure OHMS CLI settings including network and canister IDs.

Options:

  • --network <network> - Target network (local, mainnet)
  • --registry <id> - Registry canister ID
  • --orchestrator <id> - Orchestrator canister ID

ohms deploy

Deploy OHMS platform canisters to Internet Computer.

Options:

  • -n, --network <network> - Target network (local, ic) (default: local)
  • -r, --reinstall - Reinstall canisters (destroys data)
  • -u, --upgrade - Upgrade existing canisters

ohms ingest <model-path>

Upload and deploy an ONNX model as an agent.

Arguments:

  • model-path - Path to ONNX model file

Options:

  • -n, --name <name> - Agent name
  • -t, --type <type> - Model type (text, image, code)
  • -d, --description <desc> - Agent description
  • --public - Make agent publicly accessible
  • --skip-conversion - Skip ONNX to WASM conversion (for testing)

ohms list

List deployed agents.

Options:

  • -t, --type <type> - Filter by agent type (text, image, code)
  • -f, --format <format> - Output format (table, json) (default: table)
  • --filter <text> - Filter agents by name or description

ohms predict <agent> [input]

Run inference on a deployed agent.

Arguments:

  • agent - Agent ID or name
  • input - Input data for prediction

Options:

  • -f, --format <format> - Input format (text, json) (default: text)
  • -o, --output <format> - Output format (text, json) (default: text)

Examples

Deploy a Text Model

# Upload and deploy a language model
ohms ingest tinyllama.onnx --name "tinyllama" --type "text" --description "Tiny Llama language model"

# Run inference
ohms predict tinyllama "What is the capital of France?"

Deploy an Image Model

# Upload and deploy an image classification model
ohms ingest mobilenet.onnx --name "mobilenet" --type "image" --description "MobileNet image classifier"

# Run inference (input as base64 or file path)
ohms predict mobilenet "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."

Deploy to Mainnet

# Deploy platform to mainnet
ohms deploy --network ic

# Configure for mainnet
ohms config --network mainnet

# Upload model to mainnet
ohms ingest model.onnx --name "production-model"

Requirements

  • Node.js 18.0.0 or higher
  • dfx (DFINITY Canister SDK) for deployment
  • Internet Computer identity (for mainnet)

Development

# Clone the repository
git clone https://github.com/OHMS-DeAI/ohms-core.git
cd ohms-core/packages/cli

# Install dependencies
npm install

# Build the CLI
npm run build

# Run in development mode
npm run dev

# Test the CLI
node dist/index.js --help

Support

  • Documentation: https://ohms.ai/docs
  • Issues: https://github.com/OHMS-DeAI/ohms-core/issues
  • Discord: https://discord.gg/ohms

License

MIT License - see LICENSE for details.