Skip to main content
aether.host.invoke() provides direct access to Android-side operations that aren’t yet covered by the state API or service registry. Use it for app-specific tasks like sending messages, opening screens, or executing Alpine or Termux commands.

API signature

Host methods reference

Code examples

Prefer the state API (aether.state.patch) and service registry (aether.services.invoke) for state mutations where supported. Use host methods for operations not yet covered by those APIs.
runtime.execute is useful for extensions that need to run shell commands as part of their logic without involving the main agent loop.