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

@gsep/cli

v0.8.0

Published

Interactive CLI for GSEP (Genomic Self-Evolving Prompts)

Readme

@gsep/cli

Interactive command-line interface for GSEP (Genomic Self-Evolving Prompts).

Installation

Global Installation (Recommended)

npm install -g @gsep/cli

Local Installation

npm install --save-dev @gsep/cli

Commands

pga init

Initialize a new GSEP project with templates.

pga init                      # Interactive template selection
pga init --template basic     # Basic template
pga init --template advanced  # Advanced with monitoring
pga init --template enterprise # Enterprise-ready
pga init --dir ./my-project   # Specify directory

Templates:

  • basic - Simple GSEP setup with Claude
  • advanced - Multi-model support + monitoring
  • enterprise - Production-ready with PostgreSQL

pga doctor

Run diagnostics and check for issues.

pga doctor          # Run all checks
pga doctor --fix    # Attempt to fix issues

Checks:

  • Node.js version (requires 20+)
  • TypeScript installation
  • GSEP core package
  • LLM adapters and API keys
  • LLM connectivity

Project Templates

Basic Template

Simple GSEP setup for getting started quickly.

import { PGA, InMemoryStorageAdapter } from '@gsep/core';

const pga = new PGA({
  storage: new InMemoryStorageAdapter(),
});

await pga.initialize();
const genome = await pga.createGenome({ name: 'my-assistant' });

Advanced Template

Multi-model support with monitoring.

import { PGA, MetricsCollector } from '@gsep/core';
import { ClaudeAdapter } from '@gsep/adapters-llm-anthropic';

const pga = new PGA({
  llm: new ClaudeAdapter({ apiKey: process.env.ANTHROPIC_API_KEY! }),
  storage: new InMemoryStorageAdapter(),
});

Enterprise Template

Production-ready with all features.

import { PGA } from '@gsep/core';
import { ClaudeAdapter } from '@gsep/adapters-llm-anthropic';
import { PostgresAdapter } from '@gsep/adapters-storage-postgres';

const pga = new PGA({
  llm: new ClaudeAdapter({ apiKey: process.env.ANTHROPIC_API_KEY! }),
  storage: new PostgresAdapter({ connectionString: process.env.DATABASE_URL! }),
});

Configuration

The CLI uses environment variables for configuration:

# Required
ANTHROPIC_API_KEY=your-api-key

# Optional
OPENAI_API_KEY=your-openai-key
DATABASE_URL=postgresql://localhost/pga

Quick Start

# 1. Create new project
pga init --template basic

# 2. Navigate to project
cd my-pga-project

# 3. Install dependencies
npm install

# 4. Configure environment
cp .env.example .env
# Edit .env with your API keys

# 5. Run the application
npm run dev

Global Options

-v, --verbose     # Enable verbose output
--no-color        # Disable colored output
--help            # Show help for command
--version         # Show CLI version

Development

# Clone repository
git clone https://github.com/gsepcore/pga-platform

# Navigate to CLI package
cd packages/cli

# Install dependencies
npm install

# Build
npm run build

# Test locally
npm link
pga --help

License

MIT

Author

Luis Alfredo Velasquez Duran (Germany, 2025)

Links