This Rust crate; provides a lib with exposed functions for 'init' & 'run' of an AD4M Agent and also exposes a bin which will by default run
an AD4M Agent.
Running an AD4M Agent entails the creation of a warp based GraphQL server, conforming to the ADAM Layer spec. Spawning of a Deno runtime that runs the core executor
, this happens inside js_core
. js_core
also handles the requests from the JS to call into Rust functions. Currently exposed Rust functions allow communication with Scryer-Prolog
, Holochain
& JwtService
.