Having an example host is useful for showing how a host can work. When showing how guests can export an add interface, though, you can run them with wasmtime run --invoke "add(1,2)" ..., making a custom host one less concept that the user has to think about.
https://github.com/bytecodealliance/component-docs/blob/main/component-model/src/language-support/javascript.md#running-the-component-in-the-example-host