aria_engine 1.7.1 copy "aria_engine: ^1.7.1" to clipboard
aria_engine: ^1.7.1 copied to clipboard

Flutter FFI binding for Aria Engine. Load an Aria bundle and run complete() via package:aria_engine.

aria_engine (Flutter) #

Flutter FFI binding for Aria Engine. Published to pub.dev under publisher ariacompute.com.

dependencies:
  aria_engine: ^0.1.0
import 'package:aria_engine/aria_engine.dart';

final eng = AriaEngine('/path/to/bundle');
print(eng.complete('[{"role":"user","content":"hi"}]'));
eng.dispose();

JNI/FFI must load libaria_ffi (ARIA_FFI_LIB or libPath).

Auto-download by model name #

AriaEngine.open(modelRef, token: site: libPath:) accepts a local bundle path or an Aria model name (e.g. gemma-4-e2b-it_q4). A value containing / or already on disk is loaded directly; otherwise the SDK downloads it from the Dashboard private source (requires token; site defaults to https://ariacompute.com) into ~/.ariacompute/models/{model} and then loads it. A valid cached bundle is reused without re-downloading.

final eng = await AriaEngine.open("gemma-4-e2b-it_q4", token: "API_TOKEN");

Published to pub.dev via publish-pub.yml. Secret PUB_CREDENTIALS is the JSON from dart pub login as a publisher member (browser Google account, e.g. the ariacompute.com publisher admin). The WSL/local OS user that owns the file, and the GitHub Actions identity, are not the pub.dev user. Device-farm: .github/workflows/bindings-mobile.yml.

0
likes
0
points
935
downloads

Publisher

verified publisherariacompute.com

Weekly Downloads

Flutter FFI binding for Aria Engine. Load an Aria bundle and run complete() via package:aria_engine.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

archive, ffi, flutter, http

More

Packages that depend on aria_engine