agents
Agent registration for the Mastra AppKit plugin.
Mirrors the shape of the AppKit agents plugin (config.agents map
of MastraAgentDefinition, dual-form tools accepting a plain
record or a (plugins) => tools callback). Resolves each definition
into a Mastra Agent instance during plugin setup; user-supplied
tool callbacks are invoked exactly once with a typed
MastraPlugins map built from registered sibling plugins.
When no agents are registered the plugin falls back to a single
built-in analyst so the bare mastra() call still mounts a working
streamable agent for demos.
Interfaces
Section titled “Interfaces”Type Aliases
Section titled “Type Aliases”- MastraAgentWorkspaceResolver
- MastraMemoryConfigOverride
- MastraPlugins
- MastraStorageConfigOverride
- MastraTools
- MastraToolsFn