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

openclaw-decentralized-agent-cloud

v0.1.0

Published

Decentralized compute and data marketplace for AI agents with spot pricing

Downloads

109

Readme

Decentralized Agent Cloud

Decentralized compute and data marketplace for AI agents with spot pricing

Transform your AI agents into autonomous workers that can buy, sell, and trade computational resources on a decentralized marketplace. No infrastructure management, pay only for what you use, at real-time spot prices.

🌟 What is Decentralized Agent Cloud?

A peer-to-peer marketplace where:

  • AI Agents can discover and execute skills (video generation, data processing, ML inference, etc.)
  • Resource Providers can monetize idle compute (CPU, GPU, TPU) and data
  • Skill Developers can publish and monetize specialized capabilities
  • Everyone benefits from transparent, competitive spot pricing

Key Features

  • 🤖 Agent-First Design - Built for autonomous AI agents, not just humans
  • 💰 Spot Pricing - Real-time pricing based on supply and demand (save up to 90%)
  • 🔄 Decentralized - No single point of failure, censorship-resistant
  • 📦 Skill Marketplace - Discover and execute 100+ pre-built skills
  • Instant Execution - Smart matching algorithm finds optimal provider in <1s
  • 💳 Pay-Per-Second - Granular billing, no minimum commitment

🚀 Quick Start

Install

npm install @agent-cloud/sdk

Execute Your First Skill

import { createAgentClient } from '@agent-cloud/sdk';

// Initialize client
const client = createAgentClient({
  apiKey: 'your-api-key',
  agentId: 'my-agent',
});

// Execute video generation skill
const task = await client.executeSkill('video-generator', {
  script: 'AI is changing the world. Three breakthroughs happened today.',
  voice: 'nova',
  speed: 1.15,
});

// Wait for completion
const result = await client.waitForTask(task.id);
console.log(result.output.videoUrl); // https://storage.agent-cloud.io/videos/abc123.mp4

That's it! 🎉 Your video is generated and ready.

💡 Use Cases

1. AI Video Generation

// Generate professional short videos from text
const video = await client.executeSkill('video-generator', {
  script: 'Your marketing message here...',
  voice: 'nova',
  bgVideo: 'background.mp4'
});

2. Data Processing

// Process large datasets with auto-scaling compute
const result = await client.executeSkill('data-processor', {
  dataset: 's3://my-bucket/data.csv',
  operation: 'analyze',
  resourceRequirements: {
    compute: { type: 'GPU', memory: 16 }
  }
});

3. ML Model Inference

// Run inference on available GPU clusters
const prediction = await client.executeSkill('llm-inference', {
  model: 'gpt-4',
  prompt: 'Explain quantum computing',
  maxPrice: 0.50 // bid up to $0.50/hour
});

📊 Pricing Example

Traditional Cloud (AWS):

  • On-Demand GPU: $3.06/hour
  • Reserved GPU (1 year): $1.50/hour

Decentralized Agent Cloud:

  • Spot GPU: $0.30-1.20/hour (60-90% savings)
  • Dynamic pricing based on real-time market conditions

Real Pricing Data

| Resource | Traditional | Spot Price | Savings | |----------|------------|------------|---------| | CPU (4 cores, 8GB) | $0.20/hr | $0.05/hr | 75% | | GPU (V100 16GB) | $3.06/hr | $0.50/hr | 84% | | GPU (A100 40GB) | $5.50/hr | $1.20/hr | 78% |

🏗️ Architecture

┌─────────────────┐
│   AI Agents     │
│ (Consumers)     │
└────────┬────────┘
         │
         ▼
┌─────────────────────────────────┐
│   Decentralized Agent Cloud     │
│                                 │
│  ┌──────────┐  ┌──────────┐   │
│  │  Skills  │  │  Pricing │   │
│  │ Registry │  │  Engine  │   │
│  └──────────┘  └──────────┘   │
│                                 │
│  ┌──────────┐  ┌──────────┐   │
│  │   Task   │  │ Resource │   │
│  │Scheduler │  │Marketplace│   │
│  └──────────┘  └──────────┘   │
└────────┬────────────────────────┘
         │
         ▼
┌─────────────────┐
│   Providers     │
│ (Compute/Data)  │
└─────────────────┘

🎯 Core Components

1. Skill Registry

Discover and register skills:

// List available skills
const skills = await client.listSkills({
  category: 'video',
  search: 'generator'
});

// Get skill details
const skill = await client.getSkill('video-generator');
console.log(skill.pricing); // { basePrice: 0.10, strategy: 'spot' }

2. Spot Pricing Engine

Real-time market-based pricing:

// Get current spot price
const price = await client.getSpotPrice('GPU');
console.log(price); // 0.45 USD/hour

// Estimate task cost
const estimate = await client.estimateTaskCost('video-generator', {
  compute: { type: 'CPU', memory: 4 }
});
console.log(estimate); // { estimatedCost: 0.08, estimatedDuration: 30 }

3. Task Scheduler

Smart matching between tasks and providers:

// Submit task with budget
const task = await client.executeSkill('ml-training', {
  model: 'resnet50',
  dataset: 'imagenet-1k'
}, {
  maxPrice: 1.00, // max $1/hour
  resourceRequirements: {
    compute: { type: 'GPU', memory: 16 }
  }
});

// Task automatically matched with best provider
console.log(task.assignedProvider); // provider-123
console.log(task.actualPrice); // 0.65 USD/hour

📦 Available Skills

| Category | Skill | Description | Base Price | |----------|-------|-------------|------------| | Video | video-generator | Text-to-video with TTS + effects | $0.10/video | | Audio | transcription | Speech-to-text (Whisper) | $0.006/min | | Audio | tts-synthesis | Text-to-speech (11 voices) | $0.015/1K chars | | Image | image-generator | AI image generation (DALL-E) | $0.02/image | | Text | llm-inference | LLM inference (GPT-4, Claude) | $0.50/hour | | ML | model-training | Custom model training | Spot price | | Data | data-pipeline | ETL and analytics | Spot price |

🛠️ For Developers

Register Your Own Skill

import { skillRegistry } from '@agent-cloud/core';

// Define your skill
const mySkill = {
  id: 'image-classifier',
  name: 'Image Classification',
  version: '1.0.0',
  category: 'ml',
  inputSchema: {
    type: 'object',
    properties: {
      imageUrl: { type: 'string' }
    }
  },
  outputSchema: {
    type: 'object',
    properties: {
      label: { type: 'string' },
      confidence: { type: 'number' }
    }
  },
  resourceRequirements: {
    compute: { type: 'GPU', memory: 8 }
  },
  pricing: {
    strategy: 'spot',
    basePrice: 0.05
  },
  executionEndpoint: '/skills/image-classifier/execute'
};

// Register
await skillRegistry.registerSkill(mySkill);

Become a Resource Provider

import { taskScheduler } from '@agent-cloud/core';

// Register your compute resources
await taskScheduler.registerProvider({
  id: 'my-provider',
  name: 'My GPU Server',
  type: 'compute',
  specs: {
    type: 'GPU',
    gpuModel: 'RTX 4090',
    gpuMemory: 24,
    cores: 16,
    memory: 64
  },
  pricing: {
    strategy: 'spot',
    basePrice: 0.80 // USD/hour
  },
  availability: {
    isAvailable: true,
    utilizationRate: 0.3
  }
});

📈 Market Stats (Live)

const stats = await client.getMarketStats();

console.log(stats);
// {
//   totalProviders: 1247,
//   totalSkills: 156,
//   activeJobs: 3421,
//   totalVolume24h: 45231.50, // USD
//   averageSpotPrice: {
//     cpu: 0.05,
//     gpu: 0.48
//   }
// }

🔐 Security & Trust

  • Reputation System - Providers rated by task success rate
  • Escrow Payments - Funds locked until task completion
  • Encryption - All data encrypted in transit and at rest
  • Verifiable Compute - Cryptographic proof of execution (coming soon)

🌍 Decentralization Roadmap

Phase 1: Centralized Matching (Current)

  • Central marketplace and task scheduler
  • Standard payment processing
  • Status: ✅ Live

Phase 2: Federated Network (Q2 2026)

  • Multiple independent marketplaces
  • Cross-marketplace discovery
  • Status: 🚧 In Development

Phase 3: Fully Decentralized (Q4 2026)

  • Blockchain-based settlement
  • IPFS storage
  • DAO governance
  • Status: 📋 Planned

📚 Documentation

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md.

📄 License

MIT License - see LICENSE

🔗 Links

  • Website: https://agent-cloud.io
  • Discord: https://discord.gg/agent-cloud
  • Twitter: https://twitter.com/agentcloud_io
  • GitHub: https://github.com/agent-cloud

Built with ❤️ for the autonomous agent economy

Decentralized Agent Cloud - Empowering AI agents with compute freedom