Set the module path for in-memory execution

host=inmemory loads the Receiver in the Caller process. The Caller must resolve the Receiver artifact locally.

Configuration file example

graftcode-config.json:

{
  "configurations": {
    "default": {
      "name": "default",
      "runtime": "<runtime>",
      "modules": "<Receiver-artifact-path>",
      "host": "inmemory",
      "stateless": true
    }
  }
}

Programmatic configuration

GraftConfig.Host = "inmemory";
GraftConfig.Module = "Pricing.dll"; // copy exact module id from generated package / Vision
If you see `FileNotFound` for the Receiver module, the client remained in `inmemory` without a resolvable module path. See [Errors reference](/reference/errors-and-status-reference).

Next steps