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

utopian

v0.1.11

Published

Utopia Node agent - Pure Deno implementation with security sandboxing

Readme

🌍 Utopian CLI

A powerful CLI for creating and managing decentralized Utopia nodes that tackle global challenges through AI-powered collaboration.

License Deno

🚀 Quick Start

Run the Utopian CLI from any directory:

deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms https://deno.land/x/utopian/mod.ts

Or clone and run locally:

git clone https://github.com/core-nexus/utopian.git
cd utopian
deno task start

This command will:

  • In a fresh directory: Create a new Utopia node from scratch
  • In an existing utopia-node repo: Enhance and expand the existing node

📋 Table of Contents

🌟 Overview

Utopian creates decentralized nodes that collaborate to address global challenges like climate change, digital rights, and health equity. Each node:

  • 🎯 Focuses on critical global issues with AI-generated research and solutions
  • 🤖 Leverages AI for continuous content generation and discovery
  • 🕸️ Builds trust networks with other nodes and organizations
  • 📊 Generates comprehensive reports with data-driven insights
  • 🎬 Creates media content including presentations and video scripts
  • 🔄 Operates continuously to discover new challenges and opportunities

✨ Features

🏗️ Node Initialization

  • Creates structured directories for goals, foundations, trust networks, and topics
  • Initializes with critical global challenges (climate, digital rights, health equity)
  • Generates foundational documents and reports

🧠 AI-Powered Content Generation

  • Research Reports: Deep analysis of global challenges with statistics and solutions
  • Trust Network Expansion: Discovery of credible organizations and collaborators
  • Topic Discovery: Identification of emerging critical challenges
  • Media Creation: Presentation slides (Marp-compatible) and video scripts
  • Content Synthesis: Cross-topic analysis and strategic insights

🔄 Continuous Generation Engine

  • Runs unlimited cycles of content creation and research
  • Automatically discovers new topics and expands existing ones
  • Builds comprehensive knowledge bases over time
  • Creates actionable reports and media content

🤝 Flexible AI Integration

  • OpenAI API: Use GPT models with your API key
  • Local Models: LM Studio integration for privacy and cost control
  • Auto-detection: Automatically chooses the best available option

📦 Installation

Direct Usage (Recommended)

deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms https://deno.land/x/utopian/mod.ts

Requirements

  • Deno: >= 2.x
  • Optional: LM Studio for local AI models
  • Optional: OpenAI API key for GPT models

🖥️ Usage

Basic Usage

# Create or enhance a Utopia node
deno task start

# Use with specific AI model
deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms mod.ts --model gpt-4

# Skip human-in-the-loop confirmations
deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms mod.ts --auto

# Use custom OpenAI-compatible endpoint
deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms mod.ts --base https://your-api.com/v1 --model your-model

Command Options

| Option | Description | Default | | ---------------- | ------------------------------- | ------------- | | --base <url> | OpenAI-compatible API base URL | Auto-detected | | --model <name> | Model name to use | Auto-detected | | --auto | Skip human confirmation prompts | false |

AI Model Selection

The CLI automatically selects the best available AI option:

  1. OpenAI API (if OPENAI_API_KEY set): Uses gpt-5 by default
  2. LM Studio (local): Uses openai/gpt-oss-20b and auto-starts server
  3. Custom endpoint: Specify with --base and --model flags

⚙️ Configuration

Environment Variables

# OpenAI API (recommended for best results)
OPENAI_API_KEY=your_openai_api_key

# LM Studio (for local/private usage)
LMSTUDIO_BASE_URL=http://localhost:1234/v1
LMSTUDIO_MODEL=your_preferred_model

LM Studio Setup

  1. Download and install LM Studio
  2. Load a compatible model (e.g., Qwen, Llama, Mistral)
  3. Start the local server (auto-started by CLI)
  4. Run npx utopian - it will automatically detect and use LM Studio

📁 Project Structure

After initialization, your Utopia node will have this structure:

utopia-node/
├── goals/
│   └── README.md              # Node objectives and vision
├── foundations/
│   └── index.yaml             # Core principles and values
├── trust/
│   ├── known_nodes.yaml       # Trusted organizations and nodes
│   └── expanded-network-*.yaml # AI-discovered trust networks
├── topics/                    # Global challenges and solutions
│   ├── climate-action/
│   │   ├── docs/overview.md   # Topic analysis
│   │   ├── slides/presentation.md  # Marp slides
│   │   ├── video/script.md    # Video content
│   │   └── reports/           # Research reports
│   ├── digital-rights/
│   └── global-health-equity/
├── reports/                   # Synthesis and analysis reports
├── media/                     # Generated presentations and scripts
└── dist/                      # Compiled presentations

🤖 AI Models

Recommended Models

For Local/Free:

  • GPT-OSS-20B: Good balance of performance and resource usage

For Production:

  • GPT-5 (OpenAI): Good quality and reasoning
  • Claude 3 (Anthropic): Excellent for research and analysis

Model Performance Tips

  • Larger models (70B+) produce better research and insights
  • Local models provide privacy and cost control
  • Use --auto flag for unattended operation with any model

🛠️ Development

Setup

git clone https://github.com/core-nexus/utopian.git
cd utopian

# Install pre-commit hooks (optional)
pip install pre-commit
pre-commit install

Scripts

deno task dev         # Run in development mode
deno lint             # Check code style
deno fmt              # Format code
deno task test        # Run tests

Project Commands

# Test locally
deno task start --help

# Check formatting and linting
deno fmt --check
deno lint

🤝 Contributing

We welcome contributions! Please see our contribution guidelines and:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'feat: add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Code Style

  • Use TypeScript for all new code
  • Follow existing code formatting (deno fmt)
  • Write tests for new functionality (deno test)
  • Use conventional commits (feat:, fix:, docs:, etc.)

🌐 Related Projects

📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

🙋 Support


Ready to build the future? Start your Utopia node today:

deno run --allow-read=. --allow-write=. --allow-net --allow-env --allow-run=lms https://deno.land/x/utopian/mod.ts

Together, we can tackle global challenges through decentralized collaboration and AI-powered solutions.