Skip to main content
Aria Engine is Aria Compute’s AFM decision runtime: a pure Rust CLI and FFI for AFM-D Encoder (afm-de) and Decoder (afm-dd).

Install

Fetch the latest release for your platform from the downloads page.

Setup and download

Checkpoints land under ~/.ariacompute/models/<model-name> (for example afm-de, afm-dd).

System One: serve

Start a local System One HTTP server over a downloaded AFM checkpoint.
type is choice | score | noul. Invalid questions return HTTP 422; scoring errors return 500.

System One: decide

decide reads a JSON body from stdin or --file and returns a typed decision in one shot. Packing and the typed-answer contract match POST /v1/systemone.

Embed with libaria-engine_ffi

Each release ships libaria-engine_ffi alongside the CLI, plus bindings for Python aria-engine, npm @ariacompute/engine-ts and @ariacompute/engine-rn, Rust ariacompute-engine, Flutter aria_engine, Swift AriaEngine, Kotlin com.ariacompute.engine, and Go github.com/ariacompute/engine/bindings/go.
Point checkpoint at a downloaded AFM dir after aria-engine download afm-de. For the Decoder, pass decoder with ~/.ariacompute/models/afm-dd. Set ARIA_FFI_LIB if the shared library is not on the default search path.
  • AFM-D: Encoder vs Decoder, hubs, primitives
  • Ollaya: alternate local System One daemon
  • ROUTER runtime: ariacompute/afm-d-auto via AFM_ENGINE_URL