vifu-runtime
vifu-runtime is the small, stateful execution kernel at the center of Vifu.
Most applications should depend on the vifu crate, which includes Runtime
support by default. This lower-level crate remains available for hosts that only
need the kernel implementation.
The crate uses Bevy App and ECS primitives without the renderer, windowing stack, database, HTTP server, or Vifu Console.
Use the public Vifu SDK
[]
= "0.1"
Embed a runtime
use *;
;
let mut runtime = new;
runtime.app_mut.add_plugins;
let advance = runtime.dispatch;
assert_eq!;
The host executes requested effects and returns their results through
HeadlessRuntime::complete_effect. Persist RuntimeSnapshot when state must
survive restarts.
Vifu Server, Agent Gateway, PostgreSQL, and the web Console are separate components in the Vifu repository.