Aqua is an open-source language for distributed workflow coordination in p2p networks. Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network. 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 is the core of the Fluence protocol and a framework for internet or private cloud applications.
The easiest way to use Aqua is through Fluence CLI with aqua command.
Other ways of using Aqua are described in USAGE.md.
Comprehensive documentation and usage examples as well as a number of videos can be found in Aqua Book. Aqua Playground demonstrates how to start writing Aqua and integrate it into a TypeScript application. Numerous videos are available at our YouTube channel.
- api - Aqua API for JS
- api - Scala sources
- api-npm - JS project
- api-example - usage example
- aqua-run - Aqua API to run functions
- backend - compilation backend interface
- backend/air - generates AIR code from the middle-end model
- backend/ts - generates AIR code and TypeScript wrappers for use with Fluence JS SDK
- compiler - compiler as a pure function made from linker, semantics and backend
- model - middle-end, internal representation of the code, optimizations and transformations
- linker - checks dependencies between modules, builds and combines an abstract dependencies tree
- parser - parser, takes source text and produces a source AST
- semantics - rules to convert source AST into the model
- types - data types, arrows, stream types definitions and variance
Please, file an issue if you find a bug. You can also contact us at Discord or Telegram. We will do our best to resolve the issue ASAP.
Any interested person is welcome to contribute to the project. Please, make sure you read and follow some basic rules.
All software code is copyright (c) Fluence Labs, Inc. under the Apache-2.0 license.