Skip to content
@fluencelabs

Fluence Project

Decentralized Serverless Platform

Fluence

Fluence is a decentralized serverless computing platform.

Repositories

  • Fluence CLI - the go-to tool for fluence developers and providers
  • Nox - reference fluence peer implementation in rust
  • JS Client - client-focused fluence peer implementation for browsers and NodeJS
  • Aqua - choreography and workflow programming language to express distributed algorithms over fluence network
  • Aqua Lib – Aqua Standard Library
  • AquaVM - VM for compiled Aqua – Aqua Intermediate Representation (AIR) scripts, commands choreography on all fluence peers
  • Marine - asynchronous WebAssembly runtime, serves as execution environment for functions on all fluence peers

Fluence CLI – FCLI

https://github.com/fluencelabs/fluence-cli

Fluence CLI is your one-stop command line interface (CLI) shop to creating, deploying, paying, running, monitoring and removing distributed services to and from the Fluence peer-to-peer network.

👉 Note that Fluence CLI is currently only available for nix systems including OSX and Windows Subsystem for Linux (WSL). Moreover, Fluence CLI installs all the required dependencies not already installed on your system including Rust.

Nox

https://github.com/fluencelabs/nox

Nox is the reference implementation of a Fluence Peer. It is meant to be used by Fluence Providers in on-premise and cloud environments.

Nox instances connect to each other to create the Fluence p2p network. Nox integrates Marine Runtime to host WebAssembly functions. It also integrates AquaVM to execute distributed Aqua workflows.

System Services

The following services are considered to be the part of the Fluence protocol, and so are distributed along with Nox:

  • Decider - listens to the Chain RPC events, and deploys Workers to Nox. Workers is a collection of functions and cron jobs, a package for a Fluence App.
  • AquaIpfs – Aqua bindings for IPFS to download & upload data.
  • Registry - experimental and limited KV storage, focused on service discovery.

JS Client

https://github.com/fluencelabs/js-client

JS Client is a client-focused Fluence Peer implementation. Written in TypeScript, it is mainly used in browsers and CLIs to provide an access to the Fluence Network.

JS Client connects to a chosen Nox instance by its Multiaddress, and sends Aqua workflows to call Marine Functions.

JS Client integrates marine-js to host WebAssembly functions, it also integrates AquaVM to execute Aqua workflows.

Aqua

https://github.com/fluencelabs/aqua

Aqua is a programming language for expressing algorithms and workflows over a decentralised distributed p2p network.

It allows to program peer-to-peer scenarios separately from the computations on peers. Applications are turned into hostless workflows over distributed function calls, which enables various levels of decentralization: from handling by a limited set of servers to complete peer-to-peer architecture by connecting user devices directly.

Aqua API

https://github.com/fluencelabs/aqua-lib

Aqua Standard Library includes useful functions like math.aqua, and also describes all the protocol functions in builtins.aqua, subnet.aqua and workers.aqua.

The protocol functions can be called from Aqua to inspect Nox or JS Client state, or command them to do something. Lots of tools are built upon this API.

Note however, that JS Client provides most of the Aqua Standard Library, but not all of it. For example, spells and subnets are missing.

AquaVM

https://github.com/fluencelabs/aquavm

AquaVM executes compiled Aqua, i.e., Aqua Intermediate Representation (AIR) scripts, and plays an integral role in the implementation of the Fluence peer-to-peer compute protocol. Specifically, AquaVM allows expressing network choreography in scripts and composing distributed, peer-to-peer hosted services. Moreover, AquaVM plays a significant role in facilitating function addressability in the Fluence network.

Marine

https://github.com/fluencelabs/marine

Marine is a modern general purpose Wasm runtime based on the component model capable of running multi-module Wasm applications, aka services, with interface-types and a shared-nothing linking scheme. This execution model is well suited for a variety of scenarios and especially applicable to implementations following the entity component system (ECS) pattern or plugin-based architectures.

Fluence peers, such as Fluence Rust node, include Marine to execute the hosted Wasm services composed with Aqua.

Pinned

  1. nox nox Public

    Rust implementation of the Fluence network peer

    Rust 973 172

  2. aqua aqua Public

    Programming language for distributed systems & p2p

    Scala 150 23

  3. marine marine Public

    Marine runs multi-module WebAssembly applications with interface-types and shared-nothing linking scheme

    Rust 196 25

  4. js-client js-client Public

    JS Client to Fluence Network

    TypeScript 69 26

  5. examples examples Public

    Quickstart with Fluence, Aqua, and Marine

    Rust 84 23

  6. compute-marketplace compute-marketplace Public

    TypeScript 15 3

Repositories

Showing 10 of 178 repositories
  • fluencelabs/compute-marketplace’s past year of commit activity
    TypeScript 15 3 1 19 Updated Jun 22, 2024
  • aqua Public

    Programming language for distributed systems & p2p

    fluencelabs/aqua’s past year of commit activity
    Scala 150 AGPL-3.0 23 1 13 Updated Jun 22, 2024
  • nox Public

    Rust implementation of the Fluence network peer

    fluencelabs/nox’s past year of commit activity
    Rust 973 Apache-2.0 172 1 16 Updated Jun 21, 2024
  • tx-debug Public
    fluencelabs/tx-debug’s past year of commit activity
    TypeScript 0 0 0 0 Updated Jun 21, 2024
  • ipc-load-test Public

    Load testing for Fluence IPC infrastructure

    fluencelabs/ipc-load-test’s past year of commit activity
    Jupyter Notebook 3 0 0 1 Updated Jun 21, 2024
  • marine-rs-sdk Public

    Rust backend sdk for the Fluence network

    fluencelabs/marine-rs-sdk’s past year of commit activity
    Rust 19 Apache-2.0 3 9 11 Updated Jun 21, 2024
  • cli Public

    CLI tool to help develop services for Fluence

    fluencelabs/cli’s past year of commit activity
    TypeScript 138 Apache-2.0 35 8 19 Updated Jun 20, 2024
  • network-explorer Public

    Explorer for Fluence network

    fluencelabs/network-explorer’s past year of commit activity
    TypeScript 7 11 0 4 Updated Jun 20, 2024
  • docs Public

    Fluence Docs

    fluencelabs/docs’s past year of commit activity
    JavaScript 2 5 0 9 Updated Jun 19, 2024
  • aqua-vscode Public

    Aqua syntax highlighting for VSCode

    fluencelabs/aqua-vscode’s past year of commit activity
    TypeScript 7 Apache-2.0 0 2 4 Updated Jun 19, 2024