OptionalcontextAdditional runtime context data for flows and tools.
ReadonlydotpromptOptional ReadonlyparentInitializes all plugins in the registry.
Initializes a plugin already registered with registerPluginProvider.
The name of the plugin to initialize.
The plugin.
Returns all actions that have been registered in the registry.
All actions in the registry as a map of <key, action>.
Returns all actions that are resolvable by plugins as well as those that are already in the registry.
NOTE: this method should not be used in latency sensitive code paths. It may rely on "admin" API calls such as "list models", which may cause increased cold start latency.
All resolvable action metadata as a map of <key, action metadata>.
Looks up an action in the registry.
The key of the action to lookup.
The action.
Looks up a background action from the registry.
The key of the action to lookup.
The action.
Looks up a plugin.
The name of the plugin to lookup.
The plugin provider.
Looks up a schema.
The name of the schema to lookup.
The schema.
Registers an action in the registry.
The type of the action to register.
The action to register.
Optionalopts: { namespace?: string }Registers an action promise in the registry.
Optionalopts: { namespace?: string }Registers a plugin provider. This plugin must be initialized before it can be used by calling initializePlugin or initializeAllPlugins.
The name of the plugin to register.
The plugin provider.
Registers a schema.
The name of the schema to register.
The schema to register (either a Zod schema or a JSON schema).
Resolves a new Action dynamically by registering it.
The name of the plugin
The type of the action
The name of the action
Staticwith
The registry is used to store and lookup actions, trace stores, flow state stores, plugins, and schemas.