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

@llm-dev-ops/llm-auto-optimizer

v0.1.2

Published

LLM Auto Optimizer - Intelligent cost optimization for LLM applications

Readme

LLM Auto Optimizer

npm version License

Production-ready CLI tool for intelligent cost optimization of LLM applications.

Features

  • Intelligent Optimization: Automatically optimize LLM costs while maintaining quality
  • Real-time Monitoring: Track performance, costs, and quality metrics
  • Multiple Strategies: Cost-performance scoring, Bayesian optimization, and more
  • Integration Support: GitHub, Slack, Jira, and more
  • Interactive Mode: User-friendly TUI for managing optimizations
  • REST & gRPC APIs: Programmatic access to all features

Installation

npm install -g @llm-dev-ops/optimizer

Or use with npx:

npx @llm-dev-ops/optimizer --help

Quick Start

Initialize the CLI:

llm-optimizer init --api-url http://your-api-url

Create an optimization:

llm-optimizer optimize create \
  --service my-llm-service \
  --strategy cost-performance-scoring

View metrics:

llm-optimizer metrics get --service my-llm-service

Commands

Service Management

  • llm-optimizer service start - Start the optimizer service
  • llm-optimizer service stop - Stop the service
  • llm-optimizer service status - Check service status

Optimization

  • llm-optimizer optimize create - Create new optimization
  • llm-optimizer optimize list - List optimizations
  • llm-optimizer optimize get <id> - Get optimization details
  • llm-optimizer optimize deploy <id> - Deploy optimization
  • llm-optimizer optimize rollback <id> - Rollback optimization

Metrics

  • llm-optimizer metrics get - Get metrics for a service
  • llm-optimizer metrics cost - Get cost analytics
  • llm-optimizer metrics performance - Get performance metrics
  • llm-optimizer metrics quality - Get quality metrics

Configuration

  • llm-optimizer config show - Show current configuration
  • llm-optimizer config set <key> <value> - Set configuration value
  • llm-optimizer config list - List all configuration options

Integration

  • llm-optimizer integration add - Add new integration
  • llm-optimizer integration list - List integrations
  • llm-optimizer integration test <name> - Test integration

Admin

  • llm-optimizer admin health - Check system health
  • llm-optimizer admin users - Manage users
  • llm-optimizer admin backup - Backup system data

Utilities

  • llm-optimizer init - Initialize CLI configuration
  • llm-optimizer doctor - Run system diagnostics
  • llm-optimizer interactive - Start interactive mode
  • llm-optimizer completions <shell> - Generate shell completions

Programmatic Usage

You can also use the CLI programmatically in your Node.js applications:

const llmOptimizer = require('@llm-dev-ops/optimizer');

// Execute command synchronously
const result = llmOptimizer.execSync(['metrics', 'get', '--service', 'my-service']);
console.log(result.stdout);

// Spawn command asynchronously
const child = llmOptimizer.spawn(['optimize', 'create', '--service', 'my-service'], {
  stdio: 'inherit'
});

Environment Variables

  • LLM_OPTIMIZER_API_URL - API base URL
  • LLM_OPTIMIZER_API_KEY - API key for authentication

Configuration File

The CLI looks for configuration in:

  • ~/.config/llm-optimizer/config.yaml (Linux/macOS)
  • %APPDATA%\llm-optimizer\config.yaml (Windows)

Example configuration:

api_url: http://localhost:8080
api_key: your-api-key
output_format: table
verbose: false
timeout: 30

Supported Platforms

  • macOS (x64, arm64)
  • Linux (x64, arm64)
  • Windows (x64)

Documentation

For full documentation, visit: https://github.com/globalbusinessadvisors/llm-auto-optimizer

License

Apache-2.0

Support