ruflo

☁️ Flow Nexus

/docs/cloud--deployment/flow-nexus

Flow Nexus is a cloud platform for deploying and scaling Ruflo beyond your local machine.

What Flow Nexus Provides

FeatureLocal Ruflo+ Flow Nexus
Swarm Scale15 agents (local resources)100+ agents (cloud resources)
Neural TrainingLimited by local GPU/CPUDistributed GPU clusters
PersistenceLocal SQLiteCloud-replicated databases
CollaborationSingle userTeam workspaces
SandboxesLocal DockerE2B cloud sandboxes

Core Capabilities

┌─────────────────────────────────────────────────────────────────────┐
│                      FLOW NEXUS PLATFORM                            │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐                 │
│  │   Swarm     │  │   Neural    │  │  Sandboxes  │                 │
│  │   Cloud     │  │   Training  │  │   (E2B)     │                 │
│  │             │  │             │  │             │                 │
│  │ Scale to    │  │ Distributed │  │ Isolated    │                 │
│  │ 100+ agents │  │ GPU training│  │ code exec   │                 │
│  └─────────────┘  └─────────────┘  └─────────────┘                 │
│                                                                     │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐                 │
│  │   App       │  │  Workflows  │  │ Challenges  │                 │
│  │   Store     │  │  (Events)   │  │ & Rewards   │                 │
│  │             │  │             │  │             │                 │
│  │ Publish &   │  │ Event-driven│  │ Gamified    │                 │
│  │ discover    │  │ automation  │  │ learning    │                 │
│  └─────────────┘  └─────────────┘  └─────────────┘                 │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

Skills for Flow Nexus

SkillWhat It Does
/flow-nexus-platformFull platform management (auth, storage, users)
/flow-nexus-swarmDeploy swarms to cloud with event-driven workflows
/flow-nexus-neuralTrain neural networks on distributed infrastructure

Cloud Swarm Deployment

bash
# Deploy swarm to Flow Nexus cloud
/flow-nexus-swarm

# Or via CLI
npx ruflo@latest nexus swarm deploy \
  --topology hierarchical \
  --max-agents 50 \
  --region us-east-1

E2B Sandboxes

Isolated execution environments for running untrusted code:

bash
# Create sandbox
npx ruflo@latest nexus sandbox create --language python

# Execute code safely
npx ruflo@latest nexus sandbox exec --code "print('Hello')"

# Cleanup
npx ruflo@latest nexus sandbox destroy

Event-Driven Workflows

yaml
# workflow.yaml
name: code-review-pipeline
triggers:
  - event: pull_request.opened
steps:
  - action: spawn_swarm
    config:
      topology: mesh
      agents: [reviewer, security-architect, tester]
  - action: run_review
  - action: post_comments
  - action: shutdown_swarm

Getting Started with Flow Nexus

bash
# 1. Sign up at flow-nexus.io
# 2. Get API key
# 3. Configure
npx ruflo@latest nexus configure --api-key <key>

# 4. Deploy
npx ruflo@latest nexus swarm deploy