Skip to content

runtime

The shared AI Search runtime: the resolved config plus a single SearchClient instance the plugin, the Mastra tools, and the routes all read. Mirrors the web-search / email runtime pattern - the plugin primes it from its config at setup, and everything else reads the same instance so a tool invoked outside the agent still sees the deployment’s config.