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

@artale/pi-evolve

v1.0.0

Published

Evolutionary self-improvement for Pi. AlphaEvolve-inspired mutation, evaluation, and selection of prompts, skills, and extensions. Open-ended agent evolution.

Downloads

94

Readme

pi-evolve

Evolutionary self-improvement for Pi. Inspired by AlphaEvolve (DeepMind), Sakana AI's ShinkaEvolve, and the Darwin Gödel Machine.

Mutate → Evaluate → Select → Archive → Repeat.

Install

pi install npm:@artale/pi-evolve

What it does

Applies evolutionary algorithms to anything the agent works with:

  • Skills (SKILL.md files) — compress, restructure, improve
  • Prompts — evolve system prompts for better output
  • Extensions — optimize code for size + quality
  • Any text file — evolutionary improvement of anything

Commands

/evolve <file>                    — quick evolution (3 variants)
/evolve status                    — show evolution state
/evolve archive                   — list all variants with scores
/evolve restore <id>              — restore a variant
/evolve compare <a> <b>           — diff two variants
/mutate <file> [goal]             — single mutation pass (3 strategies)
/darwin <file> [gens] [goal]      — full evolutionary loop

Mutation strategies

| Strategy | What it does | |----------|-------------| | compress | Reduce size 30-50% while preserving all functionality | | quality | Improve effectiveness at similar length | | hybrid | Both shorter AND better (Pareto optimization) | | radical | Completely reimagine structure (divergent exploration) |

Darwin mode

Full evolutionary loop with multiple generations:

/darwin SKILL.md 10 optimize for token efficiency

This runs 10 generations, each producing 3 variants (compress, quality, radical), evaluating fitness, selecting the best, and using it as the parent for the next generation.

Results (from our GEPA predecessor)

Tested on real Pi skills:

  • canvas-design: −69% tokens, same quality
  • pptx: −60% tokens, same quality
  • xlsx: −63% tokens, same quality

Tools

  • evolve_archive — save a variant with fitness score
  • evolve_status — show archive stats
  • evolve_list — list all variants
  • evolve_restore — restore a variant to its file

Architecture

/darwin SKILL.md 5
  │
  ├─ Gen 0: Archive original (baseline fitness 50)
  │
  ├─ Gen 1: Mutate × 3 strategies → Evaluate → Select best
  │           compress: 65/100 (−40% tokens)
  │           quality:  58/100 (better structure)
  │           radical:  42/100 (too divergent)
  │           → Winner: compress (65)
  │
  ├─ Gen 2: Mutate winner × 3 → Evaluate → Select
  │           → Winner: hybrid (72)
  │
  └─ Gen 5: Converged at 78/100, −55% tokens

All variants archived with fitness scores, token counts, and lineage tracking.

Inspired by

Zero dependencies

Node.js built-ins only. The LLM itself is the mutation operator.

License

MIT