Oscova.Agents
5.5.0
Prefix Reserved
dotnet add package Oscova.Agents --version 5.5.0
NuGet\Install-Package Oscova.Agents -Version 5.5.0
<PackageReference Include="Oscova.Agents" Version="5.5.0" />
<PackageVersion Include="Oscova.Agents" Version="5.5.0" />
<PackageReference Include="Oscova.Agents" />
paket add Oscova.Agents --version 5.5.0
#r "nuget: Oscova.Agents, 5.5.0"
#:package Oscova.Agents@5.5.0
#addin nuget:?package=Oscova.Agents&version=5.5.0
#tool nuget:?package=Oscova.Agents&version=5.5.0
Oscova.Agents
Oscova Agents is a reusable .NET agent framework for building local-first AI agents and tools on top of the Microsoft Agent Framework (Microsoft.Agents.AI). It is the foundation the rest of the Oscova Agents product builds on.
- Build AI agents with pluggable model providers, toolsets, and context providers.
- Extend agents through a NuGet-distributed plugin system (see the Echo plugin example).
- Targets .NET 10.
Install
dotnet add package Oscova.Agents
Settings
Derive a settings domain from SettingsBase and persist it through IAppSettingsRepository. Use FileSettingsRepository when each settings key should be stored beneath a directory selected by the caller.
Task catalogue
AgentTaskCatalog scans tasks/<slug>/task.md files beneath a caller-selected users root. Callers may restrict accepted user IDs and identify task folder names that map to built-in task handlers. AgentTaskRepository persists definitions and split run artifacts beneath that caller-selected root. Callers provide reserved task-folder keys and may supply an IRedactionService for persisted run content.
External task triggers
Use TaskExternalTriggerValidator to validate supplied values against a task's declared external parameters, then use TaskInstructionRenderer to apply those values to the task instruction. Validation returns a read-only dictionary and exposes typed failure metadata so the embedding host can own authentication, authorization, endpoint responses, scheduling, and execution.
Task run observation
Use AgentTaskRunObserver with the agent-run observer middleware to project the first current-run user message, eligible tool-result messages, non-streaming responses, and the first assembled instruction into an AgentTaskRun. Create one observer per run; the embedding executor owns attachment, clearing, execution, persistence, and presentation.
Persistence primitives
Use IRedactionService to keep persistence code provider-neutral and FileSessionIndexCoordinator to serialize rewrites of the same file index.
File backups
UserFileBackupService captures bounded text restore points beneath caller-selected user roots. Callers provide user-root resolution, supported-file policy, and the maximum file size.
Agent memory
AgentMemoryService binds long-term concepts and dated short-term logs to caller-selected user roots. EncryptedKnowledgeStore shares encrypted OKF v0.2 persistence, metadata-preserving updates, lexical discovery and derived directory indexes with private agent notes. Callers supply the relative root, UTF-8 file limit, local date, vault protection and backups. Entry-index injection has no provider token cap.
Shared agent personal context
ISharedAgentPersonalContextRepository defines per-user context layered over a shared agent definition. SharedAgentPersonalContextRepository stores agent_id frontmatter and content as <slug>/context.md beneath an exact root selected by the host. The host supplies that per-user root and the maximum UTF-8 text size while retaining authorization and user-directory topology.
Skill import
ISkillImportService defines safe markdown and zip skill import, and SkillImportService installs validated skills beneath caller-selected per-user roots. SkillImportResult returns imported metadata and neutral compatibility facts so each host can choose its own warning wording.
Plugins
Use AgentPluginBuilder to register toolset, model, and speech provider factories that receive an AgentPluginContext. Provider factories can use host-managed HTTP clients and logging, while selected user API keys continue to arrive through provider operation parameters. User-scoped toolset contexts resolve only credential keys declared directly by that plugin's registered contributions.
Speech routing
SpeechRecognitionRouter and SpeechSynthesisRouter select the exact registered provider whose Type matches the supplied SpeechProviderConfig. The host selects that configuration and supplies credentials, offline policy, download URLs, and session identifiers. The routers enforce offline endpoint policy before invoking a provider.
SpeechProviderKeys contains well-known identifiers, not a complete allowlist. A plugin-defined provider type routes without a framework constant when the provider is registered.
Avatar Engine bridge
Use IAvatarBridgeService and the types under Oscova.Agents.Avatar.Contracts to integrate with an Oscova Avatar Engine. See the Engine HTTP API for routes, authentication, and JSON shapes.
Conversations
Use the conversation models and IChatThreadRepository contract for persisted chat history and framework session state. ChatChannels provides the stable channel names stored with conversation records.
ChatThreadRepository provides file-backed per-user conversation persistence beneath a caller-selected users root.
ThreadRunGuard coordinates one active run for each exact user and case-insensitive thread identity, including waiting admission, targeted cancellation, and user-wide quiescence.
Links
- Website: https://oscova.ai
- Documentation: https://oscova.ai/docs
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CommunityToolkit.VectorData.SqliteVec (>= 1.0.3-preview)
- Cronos (>= 0.13.0)
- Microsoft.Agents.AI (>= 1.26.0)
- Microsoft.Agents.AI.Tools.Shell (>= 1.26.0-preview.261023.1)
- Microsoft.Bcl.Memory (>= 10.0.14)
- Microsoft.Extensions.AI (>= 10.11.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Microsoft.Extensions.VectorData.Abstractions (>= 10.11.0)
- Microsoft.ML.Tokenizers.Data.O200kBase (>= 2.0.1)
- PdfPig (>= 0.1.16)
- Scriban (>= 7.5.3)
- SQLitePCLRaw.lib.e_sqlite3 (>= 3.53.3)
- Syn.Utilities (>= 1.7.7)
- TimeZoneConverter (>= 8.0.0)
- YamlDotNet (>= 18.1.0)
NuGet packages (19)
Showing the top 5 NuGet packages that depend on Oscova.Agents:
| Package | Downloads |
|---|---|
|
Oscova.Agents.Plugins.LlamaSharp
Oscova Agents plugin providing local GGUF inference through LLamaSharp. |
|
|
Oscova.Agents.Plugins.FoundryLocal
Oscova Agents plugin providing local model discovery, download, and inference through Microsoft Foundry Local. |
|
|
Oscova.Agents.Plugins.Web
Oscova Agents plugin providing web search (web_search) and news (news_search) toolsets for agents. Requires user-supplied API keys. |
|
|
Oscova.Agents.Plugins.GoogleWorkspace
Google Workspace account integration and Gmail, Calendar and YouTube tools for Oscova Agents. |
|
|
Oscova.Agents.Plugins.Discord
Discord channel transport and configuration for Oscova Agents. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.5.0 | 265 | 11/11/2026 |
| 5.4.0 | 285 | 11/1/2026 |
| 5.3.0 | 277 | 10/28/2026 |
| 5.2.0 | 290 | 10/25/2026 |
| 5.1.0 | 237 | 10/20/2026 |
| 5.0.0 | 244 | 10/17/2026 |
| 4.3.0 | 93 | 10/5/2026 |
| 2.3.0 | 91 | 9/26/2026 |
| 2.0.0 | 109 | 9/19/2026 |
| 0.9.20.1990 | 106 | 9/8/2026 |
| 0.9.20.1988 | 110 | 9/3/2026 |
| 0.9.19.1988 | 96 | 9/2/2026 |
| 0.9.18.1988 | 89 | 9/2/2026 |
| 0.9.17.1988 | 99 | 9/2/2026 |
| 0.9.16.1988 | 113 | 8/15/2026 |
| 0.9.15.1988 | 112 | 8/14/2026 |
| 0.9.14.1988 | 114 | 8/12/2026 |
| 0.9.13.1950 | 111 | 6/8/2026 |