Class AgentPluginBuilder
- Namespace
- Oscova.Agents.Plugins
- Assembly
- Oscova.Agents.dll
Collects contributions declared by a plugin entry point.
public sealed class AgentPluginBuilderInheritance
Inherited Members
Properties
- AgentTemplates
-
Gets the agent starters declared by this plugin.
- Channels
-
Gets channel declarations registered by this plugin.
- ContainerLaunchers
-
Gets container process launch declarations from this plugin.
- Credentials
-
Gets structured credential declarations registered by this plugin.
- Diagnostics
-
Gets rejected contribution declarations for the loading host.
- ExecutionProviders
-
Gets execution provider declarations from this plugin.
- Instructions
-
Gets default instruction declarations registered by this plugin.
- ModelProviders
-
Gets model provider factories declared by the plugin entry point.
- OAuthProviders
-
Gets the account providers registered by this plugin.
- ResourceType
-
Gets the resource marker used to resolve this plugin's display strings.
- SettingsPanels
-
Gets compiled settings component declarations from this plugin.
- SpeechRecognitionProviders
-
Gets speech recognition provider factories declared by the plugin entry point.
- SpeechSynthesisProviders
-
Gets speech synthesis provider factories declared by the plugin entry point.
- Tasks
-
Gets task declarations registered by this plugin.
- Toolsets
-
Gets the toolset factories declared by the plugin entry point.
Methods
- AddAgentTemplate(AgentTemplateDefinition)
-
Registers descriptive template content with a unique plugin-local identifier.
- AddChannel(IAgentChannel)
-
Registers a channel without starting its connection.
- AddContainerLauncher(AgentContainerLaunchContribution)
-
Registers the narrow container process launch role.
- AddCredential(CredentialDeclaration)
-
Registers a structured credential slot used by this plugin.
- AddExecutionProvider(AgentExecutionContribution)
-
Registers an execution runtime with explicit supported policies.
- AddInstruction(string, string, string)
-
Registers default guidance under a unique lowercase plugin-local key.
- AddModelProvider<TProvider>(Func<AgentPluginContext, TProvider>)
-
Registers a model provider factory contributed by this plugin.
- AddOAuthProvider(OAuthProviderDefinition)
-
Registers an OAuth provider and its system app credential declaration.
- AddSettingsPanel(AgentSettingsContribution)
-
Registers a compiled settings component without an ASP.NET dependency.
- AddSpeechRecognitionProvider<TProvider>(Func<AgentPluginContext, TProvider>)
-
Registers a speech recognition provider factory contributed by this plugin.
- AddSpeechSynthesisProvider<TProvider>(Func<AgentPluginContext, TProvider>)
-
Registers a speech synthesis provider factory contributed by this plugin.
- AddTask(string, Func<AgentPluginContext, AgentTaskDefinition>)
-
Registers task defaults without an execution handler.
- AddTask(string, Func<AgentPluginContext, AgentTaskDefinition>, Func<AgentPluginContext, IDeterministicTaskHandler>)
-
Registers task defaults and a deterministic handler created for each run.
- AddTask(string, Func<AgentPluginContext, AgentTaskDefinition>, Func<AgentPluginContext, IDeterministicTaskHandler>, Func<AgentPluginContext, AgentTaskDefinition, IReadOnlyList<Guid>>)
-
Registers deterministic task defaults with the configured provider entries required before execution.
- AddTask(string, Func<AgentPluginContext, AgentTaskDefinition>, Func<AgentPluginContext, IAgentTaskHandler>)
-
Registers task defaults and an agent preparation handler created for each run.
- AddToolset<TToolset>(Func<AgentPluginContext, TToolset>, bool)
-
Registers a toolset factory that runs once per user scope.
- UseResources<TResource>()
-
Registers the marker for this plugin's standard Resources resource family.