Skip to main content
Published
Aug 8, 2026
2mo ago
Total Downloads
15.6K
15,646

Install

dotnet add package Senparc.Xncf.AgentsManager --version 0.14.1-preview10
ProductVersions
.NET
net10.0

README

Senparc.Xncf.AgentsManager

Senparc.Xncf.AgentsManager is an NCF module for managing reusable AI-agent templates, chat groups, tasks, collaboration graphs, prompt optimization, and usage records.

Features

  • Stores and manages AgentTemplate, ChatGroup, ChatGroupMember, ChatTask, and chat history data.
  • Supports group execution, task streaming, agent collaboration graphs, and snapshot responses.
  • Provides prompt optimization and prompt-catalyzer application services.
  • Lets each AgentTemplate bind to one published KnowledgeBase without a cross-module database foreign key.
  • Shows per-Agent completed conversation rounds/tasks, prompt/completion/total tokens, average response time, and last activity on the management page.
  • Retrieves bounded KnowledgeBase context before model execution, labels it as untrusted external data, and falls back to the model when retrieval is unavailable.
  • Exposes local application-service requests and DTOs suitable for NCF function rendering.
  • Includes provider-specific EF Core contexts for NCF's multi-database model.

Installation

<PackageReference Include="Senparc.Xncf.AgentsManager" Version="0.13.0-preview8" />

Key API

  • AgentTemplateService and AgentTemplateAppService create, find, configure, and inspect agent templates.
  • ChatGroupService, ChatGroupMemberService, and ChatGroupHistoryService manage group membership and conversation records.
  • ChatTaskService, ChatTaskAppService, and ChatTaskStreamController coordinate task execution and streaming output.
  • PromptOptimizationAppService and PromptOptimizationAgentBridge integrate prompt improvement workflows.
  • AgentsTemplateService and the AgentGraph* DTOs support reusable collaboration graphs.

KnowledgeBase-first RAG policy

KnowledgeBase-first is implemented as retrieve-first, conditionally augment, not as a forced answer override. A bound Agent queries its published collection with the user's request, receives at most five chunks and 6,000 characters, and is instructed to use only relevant evidence and identify gaps or conflicts. Empty or failed retrieval is fail-open so an unavailable vector service does not stop the whole multi-Agent task.

This policy is appropriate because it improves domain grounding without pretending every query belongs to the knowledge base. It still needs production evaluation for similarity thresholds/reranking, document ACLs, prompt-injection filtering, and citation rendering. Token totals are based on provider usage metadata stored with completed chat history; providers that do not return usage cannot be estimated exactly.

Changes from Previous Version

No structural changes between v0.14.0-preview9 and v0.14.1-preview10.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 21 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.