Namespace Oscova.Agents.Providers
Classes
- AgentAsToolProvider
-
Provides agent-as-tool functions from the child agents resolved for the parent build.
- AgentPersonalContextProvider
-
Renders host-provided personal context into agent instructions for a run.
- AgentToolConversation
-
Describes one recorded conversation between a caller and an agent it invoked as a tool.
- AgentToolProvider
-
Provides a filtered subset of crew tools as Microsoft.Agents.AI.AIContext.Tools for a Microsoft.Agents.AI.ChatClientAgent and applies sparse agent-specific governance overrides. Only tools whose qualified names appear in
allowedToolNamesare exposed. Oscova.Agents.Policies.ToolApprovalMode.RequireApproval wraps the tool with approval semantics; Oscova.Agents.Policies.ToolApprovalMode.Deny omits the tool entirely. When the agent is used as a tool (sub-agent), approval-required tools are omitted rather than wrapped because no approval channel exists to route the request. Reflected confidentiality markers are also enforced. - AgentToolResolver
-
Resolves allowed tool names into exposable tools, applying confidentiality, air-gap egress, and per-tool approval policy for both direct and search-based tool exposure.
- EnvironmentContextProvider
-
Publishes the current OS environment and any resolved workspace directories to the agent prompt.
- LexicalToolSearchStrategy
-
Scores tools by deterministic token overlap across name, description, and argument names. Adapts tool candidates onto the shared Oscova.Agents.Search.LexicalSearchStrategy.
- RuntimeEnvironmentInfo
-
Describes the shell execution target the agent should assume when it reasons about commands.
- ToolSearchCandidate
-
Represents one searchable tool and the text used to match it.
- ToolSearchProvider
-
Exposes a single
search_toolsentry point instead of the agent's full tool set. Discovered tools are added to the live run and remembered for the cached agent instance. - VisionToolProvider
-
Registers Oscova.Agents.Tools.Vision.AnalyzeImageTool as an agent tool. Intended to be added to the provider chain only when the selected model provider supports images; registration itself is the capability gate.
Interfaces
- IToolSearchStrategy
-
Ranks tool candidates against a free-text query.