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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@foxruv/iris-agentic-synth

v1.0.5

Published

⚡ High-performance synthetic prompt generation with genetic evolution, streaming, and multi-model routing. 90%+ cache hit rate, <15ms P99 latency, no Redis required.

Readme

🧬 Agentic-Synth

Version License Node TypeScript Coverage Build

High-Performance Synthetic Prompt Generation with Genetic Evolution

Standalone system with streaming, multi-model routing, and genetic algorithms

FeaturesQuick StartDocumentationBenchmarks


🚀 Overview

Agentic-Synth is a production-grade synthetic prompt generation system that combines genetic algorithms, real-time streaming, and multi-model routing to create, evolve, and optimize prompts at scale.

Why Agentic-Synth?

  • Blazing Fast: P99 latency <15ms with intelligent caching
  • 🧬 Self-Evolving: Genetic algorithms improve prompts automatically
  • 🌊 Streaming-First: Constant memory usage via async generators
  • 🎯 Multi-Model: Primary + fallback routing with automatic failover
  • 📦 Lightweight: 50KB bundle size (90% reduction via tree-shaking)
  • 🔧 Both CLI & SDK: Use programmatically or from command line
  • 🚫 No Redis: Standalone with optional vector storage

✨ Features

Core Capabilities

🧬 Genetic Evolution Engine

  • 4 Mutation Strategies: Zero-order, first-order, semantic, hypermutation
  • 3 Crossover Methods: Uniform, single-point, semantic
  • Fitness Evaluation: Multi-context scoring with caching
  • Auto-Rollback: Prevents degradation during evolution
  • Lineage Tracking: Full genealogy of prompt evolution

🌊 Streaming Architecture

  • Async Generators: Memory-efficient real-time streaming
  • Backpressure Handling: Intelligent flow control
  • Object Pooling: 80% fewer allocations
  • Constant Memory: Handles GB+ inputs efficiently

🎯 Multi-Model Routing

  • Smart Routing: Primary + fallback with health checks
  • Request Batching: 40% fewer API calls
  • Context Caching: 60% cost reduction
  • Connection Pooling: Optimal resource usage

🚀 Performance Optimization

  • Multi-Layer Caching: LRU/LFU/FIFO strategies (90%+ hit rate)
  • Parallel Processing: 3-4x speedup for fitness evaluation
  • Lazy Loading: 70% faster initial load
  • Tree-Shaking: 90% bundle size reduction

Integrations


📦 Installation

npm install agentic-synth

📊 Performance

Benchmarks

| Metric | Target | Achieved | Status | |--------|--------|----------|--------| | P99 Latency | <100ms | 15ms | ✅ 85% faster | | Throughput | >4K req/min | 8K req/min | ✅ 2x faster | | Bundle Size | Minimal | 50KB | ✅ 90% reduction | | Cache Hit Rate | >70% | 90%+ | ✅ Exceeded | | Memory Usage | Constant | Constant | ✅ Perfect | | API Cost | Low | 60% savings | ✅ Excellent |


📚 Documentation

Core Documentation

Test Coverage

  • 97.7% overall coverage
  • 130+ test cases
  • Unit, integration, and performance tests

🏗️ Architecture

Project Structure

agentic-synth/
├── src/
│   ├── core/              # Core engine
│   ├── schemas/           # Zod validation
│   ├── utils/             # Cache, metrics
│   ├── integrations/      # External integrations
│   └── index.ts           # SDK exports
├── tests/                 # Test suites (97.7% coverage)
├── benchmarks/            # Performance benchmarks
├── examples/              # Usage examples
└── docs/                  # Comprehensive documentation

🤝 Contributing

Contributions are welcome! Please see documentation for guidelines.


📄 License

MIT © ruv.io


🙏 Acknowledgments


Built with ❤️ by the ruv.io team