The Four Layers

OASIS is structured as four cooperating layers, each independently replaceable:

LayerWhat it does
OASIS KernelCore business logic: avatar management, karma, holons, quests, missions. Lives in NextGenSoftware.OASIS.API.Core.
Provider LayerPluggable storage and network backends. Each provider implements the IOASISProvider interface. Holochain, Ethereum, IPFS, MongoDB, SQLite, and more ship by default.
ONODE / WebAPIASP.NET Core host that exposes the kernel via REST. Manages provider registration, DID auth, JWT issuance, and HyperDrive failover.
STAR RuntimeOApp lifecycle engine — compile, deploy, version, and run OApps against a live ONODE.

Provider Model

The provider model is the key architectural idea. The kernel never calls a storage technology directly — it calls an IOASISProvider. This means:

ℹ️
Provider selection per request

Pass providerType in any REST request body to override the ONODE default for that call. Example: "providerType": "HoloOASIS" to force Holochain storage.

HyperDrive

HyperDrive is OASIS's distributed data replication and failover engine. It sits between the kernel and the provider layer and:

See the HyperDrive guide for configuration details.

ONODE

An ONODE is a self-contained OASIS node — it runs the WebAPI, manages a set of providers, and optionally participates in the ONET peer-to-peer network. You can run an ONODE:

See ONODE Setup for installation and configuration.

STAR Runtime

STAR (Systematic Technological Automated Runtime) is the OApp deployment and lifecycle engine. It provides:

Web4 vs Web5

OASIS ships two API surface levels that correspond to capability tiers:

WEB4WEB5
FocusAvatar, karma, data, NFT, quests, missions, mapsWEB4 + Celestial Spaces, GeoNFTs, Cosmic layer, holonic memory
JS package@oasisomniverse/web4-api@oasisomniverse/web5-api
Use whenBuilding standard OApps and gamesBuilding spatial / AR / cosmic-scale experiences