JSPM

  • Created
  • Published
  • Downloads 14218
  • Score
    100M100P100Q136317F
  • License Proprietary

🚀 AI-Powered Swarm Intelligence Platform - Gamified MCP Development with 70+ Tools

Package Exports

  • flow-nexus
  • flow-nexus/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flow-nexus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🚀 Flow Nexus - AI-Powered Swarm Intelligence Platform

Flow Nexus MCP Compatible NPM License

🎮 Gamified AI Development • 🤖 Multi-Agent Orchestration • 💎 rUv Credit System

Professional MCP Platform | 70+ Tools | Enterprise Ready


🌟 Introduction

Flow Nexus is a professional MCP (Model Context Protocol) platform that transforms AI development into an immersive, gamified experience. Deploy swarms of specialized AI agents, complete challenges, earn rUv credits, and build powerful applications with our comprehensive 70+ tool suite.

Note: Flow Nexus is a proprietary platform developed by rUv. Visit fnx.ruv.io for full documentation and support.

✨ Key Features

  • 🧠 70+ MCP Tools - Complete suite for AI orchestration
  • 🎯 Gamified Challenges - Learn while earning rewards
  • 🚀 Multi-Agent Swarms - Coordinate intelligent agent teams
  • 💰 rUv Credit System - Blockchain-inspired reward economy
  • 📊 Real-time Analytics - Monitor performance and metrics
  • 🔐 Enterprise Security - Bank-level authentication
  • WASM Neural Engine - Blazing fast AI inference
  • 🌐 E2B Sandboxes - Cloud-based isolated execution environments

🚀 Quick Start

1️⃣ Install & Initialize

# Quick start with npx (recommended)
npx flow-nexus init

# Or install globally
npm install -g flow-nexus
flow-nexus init

2️⃣ Authentication Setup

Choose your authentication method:

# Create new account
flow-nexus auth register -e your@email.com -p password

# Login with existing account
flow-nexus auth login -e your@email.com -p password

# Local development mode (no cloud features)
flow-nexus auth init

Note: Cloud features require authentication. Local mode provides limited functionality for development and testing.

3️⃣ MCP Integration

Add Flow Nexus to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "flow-nexus": {
      "command": "npx",
      "args": ["flow-nexus", "mcp"]
    }
  }
}

Advanced Configuration:

{
  "mcpServers": {
    "flow-nexus": {
      "command": "npx",
      "args": ["flow-nexus", "start", "complete"],
      "env": {
        "FLOW_NEXUS_SUPABASE_URL": "your-url",
        "FLOW_NEXUS_SUPABASE_ANON_KEY": "your-key"
      }
    }
  }
}

4️⃣ Start Using Flow Nexus

# Check authentication status
flow-nexus auth status

# Initialize a new project
flow-nexus init

# Create your first swarm
flow-nexus swarm create mesh

# Check available challenges
flow-nexus challenge list

# View your rUv credit balance
flow-nexus credits balance

🔐 Authentication Methods

Flow Nexus supports multiple authentication modes:

Cloud Authentication (Full Features)

# Register new account
flow-nexus auth register -e email@domain.com -p password

# Login to existing account
flow-nexus auth login -e email@domain.com -p password

Local Development Mode

# Initialize local mode (limited features)
flow-nexus auth init

Optional Environment Variables

For enhanced Claude integration features:

# Optional: For Claude/Anthropic AI features
export FLOW_NEXUS_ANTHROPIC_API_KEY="your-anthropic-api-key"

Note: Supabase database and E2B sandboxes are hosted by Flow Nexus. No external service setup required!

Authentication Commands

# Check current authentication status
flow-nexus auth status

# View user profile
flow-nexus profile

# Logout
flow-nexus auth logout

🎮 CLI Commands

flow-nexus [command] [options]
fnx [command] [options]  # Short alias

CLI COMMANDS:
  init               🎯 Initialize new Flow Nexus project
  auth               🔐 Authentication management
  swarm              🤖 Manage AI agent swarms
  challenge          🏆 Browse and complete challenges
  sandbox            📦 Manage cloud sandboxes
  template           📋 Deployment templates
  store              🛍️ App marketplace
  credits            💎 Check rUv credit balance
  leaderboard        🏆 View rankings
  storage            💾 File management
  workflow           🔄 Automation workflows
  monitor            📊 System monitoring
  profile            👤 User profile & stats
  achievements       🏅 Achievements & badges
  deploy             🚀 Deploy to production

MCP COMMANDS:
  mcp [options]      Run as MCP server (stdio transport)
  start [mode]       Start server in specified mode
  
UTILITY COMMANDS:
  test               Run test suite
  e2e                Run E2E tests
  version            Show version information
  help               Show this help message

MODES:
  complete           All 70+ tools enabled (default)
  swarm              Swarm orchestration focused
  store              App store and gamification
  dev                Development tools
  gamer              Gaming and achievements
  enterprise         Enterprise features

OPTIONS:
  --http-port <port>       Enable HTTP server on port
  --tools <list>           Comma-separated tool list
  --no-auth               Disable authentication
  --realtime              Enable real-time features
  --enhanced              Enable enhanced features
  --max-agents <n>        Maximum agents (enterprise)
  --supabase-url <url>    Override Supabase URL
  --supabase-key <key>    Override Supabase key

EXAMPLES:
  # CLI Usage
  flow-nexus init                      # Initialize project
  fnx swarm create mesh                # Create mesh swarm
  flow-nexus challenge list            # View challenges
  flow-nexus auth status               # Check authentication
  
  # MCP Server
  flow-nexus mcp                       # Run as MCP server
  flow-nexus start swarm               # Start in swarm mode
  
  # NPX Usage
  npx flow-nexus init
  npx fnx credits balance

📦 Sandbox Capabilities

Available Templates

  • node - Node.js 20 with npm ecosystem
  • python - Python 3.11 with pip packages
  • react - React 18 with Vite build system
  • nextjs - Next.js 14 full-stack framework
  • vanilla - Basic HTML/CSS/JavaScript
  • claude-code - Claude Code integration environment

Key Features

  • Instant Creation - Sandboxes ready in seconds
  • 💾 Persistent Storage - Files survive between executions
  • 🔐 Isolated Environment - Secure execution containers
  • 📊 Resource Management - CPU, memory, and storage limits
  • 🔄 Multi-language - Execute JavaScript, Python, Bash, and more
  • 🎯 Claude Integration - Enhanced AI features with Anthropic API

Environment Variables

# Sandbox creation with environment variables
flow-nexus sandbox create -t node --env "NODE_ENV=production,API_URL=https://api.example.com"

# Execute with runtime environment variables
flow-nexus sandbox exec -i sb-123 -c "console.log(process.env.NODE_ENV)" --env "DEBUG=true"

Resource Usage

  • Creating Sandbox: 1 rUv per hour
  • Code Execution: Included with creation cost
  • Storage: 1GB included per sandbox
  • Timeout: Default 1 hour, max 24 hours

🤖 MCP Capabilities

🎯 Swarm Management

// Initialize multi-agent swarm
await flowNexus.swarm.init({
  topology: 'mesh',      // mesh | hierarchical | ring | star
  maxAgents: 8,
  strategy: 'adaptive'
});

💎 Credit System

// Earn rewards for completing tasks
await flowNexus.credits.earn({
  amount: 100,
  reason: 'Challenge completed'
});

📦 E2B Sandbox Execution

// Create isolated cloud sandbox
await flowNexus.sandbox.create({
  template: 'node',                    // node, python, react, nextjs, vanilla
  name: 'my-sandbox',
  env_vars: { 
    ANTHROPIC_API_KEY: 'your-key'     // Optional: For Claude features
  },
  timeout: 3600                        // Sandbox lifetime in seconds
});

// Execute code in sandbox
await flowNexus.sandbox.execute({
  sandbox_id: 'sb-123',
  code: 'console.log("Hello World!")',
  language: 'javascript',
  env_vars: { NODE_ENV: 'development' }
});

🛠️ MCP Tool Categories

Category Tools Description
🤖 SWARM_OPS 3 Agent orchestration
📦 SANDBOX 9 E2B cloud execution environments
🎨 TEMPLATES 3 Quick deployment
🛍️ APP_STORE 7 Application marketplace
🏆 CHALLENGES 4 Gamified learning
📊 LEADERBOARD 2 Rankings & achievements
💰 RUV_CREDITS 3 Reward economy
🔐 AUTH 12 Security & identity
📡 STREAMS 4 Real-time data
REALTIME 3 Live subscriptions
💾 STORAGE 4 File management
🖥️ SYSTEM 3 Health monitoring
🔄 WORKFLOW 1 Automation
📈 MONITOR 3 Performance tracking
🧠 NEURAL 3 AI training
🐙 GITHUB 2 Repository integration
🤖 DAA 2 Autonomous agents
PERF 2 Optimization

🎯 Use Cases

🚀 For Developers

  • Build AI-powered applications faster
  • Orchestrate complex multi-agent workflows
  • Deploy and test in isolated E2B cloud sandboxes
  • Execute code safely with environment isolation
  • Integrate Claude AI directly in development workflows

🎮 For Learners

  • Complete coding challenges
  • Earn rewards while learning
  • Climb the global leaderboard

🏢 For Enterprises

  • Scale AI operations efficiently
  • Monitor team performance
  • Secure, compliant infrastructure

🔗 Integration

MCP Server Integration

Claude Desktop Configuration

Add to your claude_desktop_config.json:

Basic Setup (Recommended):

{
  "mcpServers": {
    "flow-nexus": {
      "command": "npx",
      "args": ["flow-nexus", "mcp"]
    }
  }
}

With Optional Claude API Key (for Enhanced AI Features):

{
  "mcpServers": {
    "flow-nexus": {
      "command": "npx",
      "args": ["flow-nexus", "mcp"],
      "env": {
        "FLOW_NEXUS_ANTHROPIC_API_KEY": "your-claude-api-key"
      }
    }
  }
}

Mode-Specific Setup:

{
  "mcpServers": {
    "flow-nexus-swarm": {
      "command": "npx",
      "args": ["flow-nexus", "start", "swarm"]
    },
    "flow-nexus-store": {
      "command": "npx",
      "args": ["flow-nexus", "start", "store"]
    }
  }
}

Development Integration

Direct MCP Server Usage:

# Start MCP server for development
flow-nexus mcp

# Start with specific tools
flow-nexus mcp --tools swarm,sandbox,credits

# Start in specific mode
flow-nexus start enterprise --max-agents 200

Environment Setup:

# Optional: Add Claude API key for enhanced AI features
echo "FLOW_NEXUS_ANTHROPIC_API_KEY=your-anthropic-key" > .env

# Verify configuration
flow-nexus auth status

💎 rUv Credits - Your Digital Currency

Flow Nexus operates on rUv credits - a sophisticated reward economy that powers everything from swarm operations to AI challenges. Every action has transparent pricing with no hidden fees.


💰 Credit Pricing Breakdown

🚀 SWARM OPERATIONS

Operation Cost Description Value
Swarm Init 3 rUv Initialize multi-agent swarm ⭐⭐⭐
Agent Spawn 2 rUv Deploy each AI agent ⭐⭐⭐
Swarm Scale 8 rUv Dynamic agent scaling ⭐⭐⭐⭐
Swarm Destroy 5 rUv Clean shutdown ⭐⭐

Example: 8-agent mesh swarm = 3 (init) + 16 (8 agents) = 19 rUv

📦 SANDBOX ENVIRONMENT

Operation Cost Description Value
Create Sandbox 5 rUv Deploy isolated container ⭐⭐⭐⭐
Execute Code 2 rUv Run code safely ⭐⭐⭐
Destroy Sandbox 1 rUv Clean termination

Templates: Node.js, Python, React, Next.js, Vanilla, Claude-Code

🤖 AI ASSISTANCE

Feature Cost Description Value
Queen Seraphina 1 rUv AI guidance & wisdom ⭐⭐⭐⭐⭐
Claude Integration 0 rUv Enhanced with your API key ⭐⭐⭐⭐

📊 PLATFORM FEATURES

Operation Cost Description Value
Credit Balance 0 rUv Check your balance Free
Credit History 0 rUv Transaction history Free
User Profile 0 rUv Account management Free
Leaderboard 0 rUv Rankings & achievements Free

💵 EARN rUv CREDITS

🏆 CHALLENGES & ACHIEVEMENTS

  • Complete Challenges: 10-500 rUv per completion
  • Win Code Battles: 100-1,000 rUv for victory
  • Daily Login: 5 rUv daily bonus
  • Achievement Unlock: 50-200 rUv per milestone

🎯 COMMUNITY CONTRIBUTIONS

  • Template Creation: 100-1,000 rUv for published templates
  • Referral Program: 50 rUv per new user
  • Bug Reports: 25-100 rUv for valid issues
  • Code Contributions: 100+ rUv for accepted PRs

🎁 GETTING STARTED

  • Registration Bonus: 100 rUv on signup
  • Email Verification: 50 rUv bonus
  • First Swarm: 25 rUv completion reward

📈 PRICING TIERS

🆓 STARTER
Free Forever
💎 PREMIUM
100 rUv/month
🚀 PRO
500 rUv/month
👑 ENTERPRISE
Custom
• 100 rUv starting balance
• Basic swarm operations
• Standard sandbox access
• Community support
• Challenge participation
500 rUv monthly credits
• Priority sandbox access
• Advanced swarm features
• Premium templates
• Email support
2,500 rUv monthly credits
• Maximum agent limits
• Custom templates
• API access
• Priority support
Unlimited operations
• Dedicated infrastructure
• Custom integrations
• SLA guarantee
• Phone support

🔥 COST EXAMPLES

💡 Typical Usage Scenarios

🎓 Learning & Development (Daily)

• Morning swarm session: 19 rUv (8-agent mesh)
• Code sandbox testing: 7 rUv (create + execute)  
• Challenge completion: +50 rUv earned
• Net daily cost: ~24 rUv (after earnings)

🚀 Production Development (Weekly)

• Multiple swarm experiments: 60 rUv
• Sandbox iterations: 30 rUv
• Queen Seraphina consultations: 15 rUv
• Template marketplace: 20 rUv  
• Weekly total: ~125 rUv

🏢 Enterprise Team (Monthly)

• Continuous swarm operations: 800 rUv
• Team sandbox environments: 400 rUv  
• AI-assisted development: 200 rUv
• Custom integrations: 300 rUv
• Enterprise total: ~1,700 rUv

🎯 SMART SPENDING TIPS

Optimize Costs:

  • Destroy swarms when not in use (5 rUv vs ongoing costs)
  • Use free tools (balance check, profiles) liberally
  • Complete challenges for credit rewards
  • Share templates for passive income

Maximize Value:

  • Batch operations when possible
  • Use Queen Seraphina strategically (1 rUv = expert guidance)
  • Leverage community templates vs building from scratch
  • Monitor usage with free balance checks

💡 Pro Tip: Start with challenges to earn credits, then invest in swarms and sandboxes for maximum learning ROI!


🚀 Performance

  • 2.8-4.4x faster than traditional approaches
  • 🎯 84.8% success rate on benchmarks
  • 💰 32.3% token reduction
  • 🧠 27+ neural models available

📦 Requirements

  • Node.js 18+
  • npm or yarn
  • MCP-compatible client (optional)

🔧 Troubleshooting

Common Issues

Authentication Problems

# Check authentication status
flow-nexus auth status

# Re-initialize authentication
flow-nexus auth init

# Login with credentials
flow-nexus auth login -e your@email.com -p password

MCP Connection Issues

# Test MCP server
flow-nexus mcp --help

# Verify installation
flow-nexus --version
npx flow-nexus --version

Environment Configuration

# Check current configuration
flow-nexus auth status

# Optional: Set Claude API key for enhanced features
export FLOW_NEXUS_ANTHROPIC_API_KEY="your-anthropic-key"

Reset and Reinstall

# Complete reset
rm -rf node_modules package-lock.json
npm cache clean --force
npm install

# Global reinstall
npm uninstall -g flow-nexus
npm install -g flow-nexus

# Verify installation
flow-nexus --version
fnx --version

🔐 Security & Privacy

  • 🔒 Secure authentication and session management
  • 🛡️ Environment-based configuration
  • 🔐 JWT token-based authentication
  • 📝 Audit logging for platform usage
  • 🏢 Proprietary Software: Professional platform by rUv


🎮 Professional AI Development Platform

Flow Nexus - Advanced MCP Tools for AI Orchestration

NPM Website


Professional MCP Platform by rUv

rUv GitHub Website

© 2024 Flow Nexus by rUv. All rights reserved. Proprietary Software.