Interface IAgentOrchestrator
- Namespace
- Oscova.Agents.Runtime
- Assembly
- Oscova.Agents.dll
Owns framework-level tool synchronization, agent caching, and agent construction.
public interface IAgentOrchestrator : IAgentCacheInvalidatorImplements
Properties
- AIAgents
-
Gets the cache of built agents, including exposed agent-as-tool dependencies.
- Tools
-
Gets the synchronized tool collection used by built agents.
Methods
- EvictAgent(string)
-
Removes a single agent from the cache.
- GetOrCreateAgentAsync(AgentBuildRequest, CancellationToken)
-
Returns a cached agent or builds the requested agent and its exposed dependencies.
- InvalidateAll()
-
Clears both tools and cached agents.
- SyncTools(IEnumerable<ToolsetRegistration>, IReadOnlyList<AIFunction>, IReadOnlyDictionary<string, ExternalToolMetadata>)
-
Replaces the tool collection contents with host toolsets and external tools.