AgentPrism.Core
215 public types. Select a type for signatures, defaults, remarks, exceptions, and links to related contracts.
| Type | Kind | Purpose |
|---|---|---|
AgentCallGraph |
Class | Validates an agent call graph at save time. |
AgentCallGraphProblem |
Struct | The machine-readable result of a call graph validation. |
AgentDefinitionCompiler |
Class | Converts an AgentPrism.AgentDefinition definition into an executable AI.AIAgent instance. |
AgentDefinitionValidator |
Class | Validates an AgentPrism.AgentDefinition without saving it or calling a model. |
AgentPrismAgentGraphOptions |
Class | Defines limits that apply when an agent calls another agent. |
AgentPrismApprovalOptions |
Class | Options for asynchronous approvals. |
AgentPrismAsyncRunOptions |
Class | Defines queued, durable run options. |
AgentPrismAttachmentOptions |
Class | Defines attachment upload limits for size and media-type allow lists. |
AgentPrismAuditOptions |
Class | Defines options for audit-trail actor resolution. |
AgentPrismCircuitBreakerOptions |
Class | Defines circuit-breaker options that temporarily stop requests after a model provider returns consecutive failures. |
AgentPrismClientToolExtensions |
Class | Registers a client-side tool: its declaration (name, description, JSON schema) lives in code, like every other tool (the code-only tools rule), but its body runs. |
AgentPrismContentGuardBuilderExtensions |
Class | Chain extensions that turn on content inspection. |
AgentPrismContentGuardOptions |
Class | Settings for the content inspection pipeline. |
AgentPrismDiagnostics |
Class | Defines AgentPrism telemetry source and measurement names. |
AgentPrismDiagnostics.Tags |
Class | Defines span and metric tag names. Changing them breaks dashboards. |
AgentPrismDiagnosticsCollector |
Class | Collects the installation’s self-diagnostic summary report. |
AgentPrismEvalCheckRegistration |
Class | A custom check registration added through IAgentPrismBuilder.AddEvalCheck(…). |
AgentPrismHealthOptions |
Class | Defines model-provider health-check options. |
AgentPrismIdempotencyOptions |
Class | Options for Idempotency-Key support. |
AgentPrismKnowledgeOptions |
Class | Options for the knowledge base (semantic search). |
AgentPrismMetrics |
Class | Metrics emitted by AgentPrism. Consumers collect them with AddMeter(AgentPrismDiagnostics.MeterName). |
AgentPrismObservabilityOptions |
Class | Defines telemetry collection and persistence options. |
AgentPrismOnlineEvaluationBuilderExtensions |
Class | Chain extensions that turn on the built-in model-based judge. |
AgentPrismOptions |
Class | Defines AgentPrism run-time options. |
AgentPrismOptionsValidator |
Class | Validates AgentPrism.AgentPrismOptions during application startup. |
AgentPrismPricingOptions |
Class | Defines a run-cost price source. It is a secondary source for a model that has no price in the AgentPrism.ModelDescriptor catalog. |
AgentPrismQuotaOptions |
Class | Defines options for the quota subsystem. |
AgentPrismQuotaOptionsValidator |
Class | Validates AgentPrism.AgentPrismQuotaOptions when the application starts. |
AgentPrismRateLimitOptions |
Class | Rate-limit settings applied to AgentPrism endpoints. |
AgentPrismRetentionOptions |
Class | Defines data retention and archival options. |
AgentPrismRetentionOptionsValidator |
Class | Validates AgentPrism.AgentPrismRetentionOptions when the application starts. |
AgentPrismRunContext |
Class | Carries the identity, tree position, and budget of the running run to the helper components inside the run path. |
AgentPrismRunRecordingOptions |
Class | Defines how much detail run recording retains. |
AgentPrismSchedulingOptionsValidator |
Class | Validates AgentPrism.AgentPrismSchedulingOptions when the application starts. |
AgentPrismServiceCollectionExtensions |
Class | Extensions that register AgentPrism with dependency injection. |
AgentPrismSkillOptions |
Class | Defines limits for skill content and agent attachment. |
AgentPrismSkillScriptBuilderExtensions |
Class | Configuration extensions that enable skill script execution. |
AgentPrismSkillScriptOptions |
Class | Defines options that control server-side skill script execution. |
AgentPrismToolApprovalPolicyExtensions |
Class | Chain extension that registers a code-defined approval policy for a tool. |
AgentPrismToolOptions |
Class | Defines tool execution options. |
AgentPrismToolUsage |
Class | Lets a tool report non-token usage from its own body. |
AgentPrismValidationOptions |
Class | Defines options for the POST /api/agents/validate endpoint. |
AgentPrismWebhookOptions |
Class | Event publishing (webhook) settings. |
AgentPrismWebhookOptionsValidator |
Class | Validates AgentPrism.AgentPrismWebhookOptions when the application starts. |
AgentRunScope |
Class | Represents the view of a running run that is exposed to the helper components in the run path. |
AgentSessionIdentity |
Class | Stamps an AI.AgentSession with, and reads back, its AgentPrism session identity. |
AgentSessionManager |
Class | Manages the lifecycle of named sessions: loads, restores, and saves them through AgentPrism.ISessionStore. |
AgentSkillCatalog |
Class | Combines code and run-time skill sources with a precedence rule. |
AllowAllToolAuthorizationHandler |
Class | The default AgentPrism.IToolAuthorizationHandler: allows every call. |
AmbientAuditActorResolver |
Class | The default implementation that reads the actor from the user in AgentPrism.AuditActorContext. |
ApiKeyGenerator |
Class | A helper that produces a raw API key value and its hash. |
AttachmentTypeGuard |
Class | Validates an attachment candidate against size and media-type allow lists. |
AttachmentUriReference |
Class | Converts an attachment to a AI.UriContent reference and resolves that reference back. |
AttachmentValidationResult |
Struct | The result of validating an attachment. |
AuditActorContext |
Class | An ambient context that carries the user of the current call. |
AuditChainHasher |
Class | Computes the hash chain link for an audit trail entry. The single place the canonical form is defined; both the write path and the verify path call it, so the. |
AuditChainWalker |
Class | Walks an ordered list of audit entries and reports the chain status. Shared by AgentPrism.InMemoryAuditLog and the SQL providers so the two verify algorithms can. |
AuditingAgentDefinitionStore |
Class | Wraps AgentPrism.IAgentDefinitionStore in a decorator that writes an audit trail. |
AuditingExperimentStore |
Class | Wraps AgentPrism.IExperimentStore in a decorator that writes an audit trail. |
AuditingMcpServerStore |
Class | Wraps AgentPrism.IMcpServerStore in a decorator that writes an audit trail. |
AuditingSessionStore |
Class | Wraps AgentPrism.ISessionStore in a decorator that writes an audit trail only for delete operations. |
AuditingSkillScriptGrantStore |
Class | Wraps AgentPrism.ISkillScriptGrantStore in a decorator that writes an audit trail. |
AuditingTenantStore |
Class | Wraps AgentPrism.ITenantStore in a decorator that writes an audit trail. |
AuditingToolApprovalRuleStore |
Class | Wraps AgentPrism.IToolApprovalRuleStore in a decorator that writes an audit trail. |
AuditingWorkflowDefinitionStore |
Class | Wraps AgentPrism.IWorkflowDefinitionStore in a decorator that writes an audit trail. |
AuditPayload |
Class | Builds a small JSON object for the audit trail. |
AuditRecorder |
Class | A helper that supplies the common write path for all code that writes audit entries, including store decorators and endpoint-layer exceptions. |
AuditSecretFilter |
Class | Redacts potential secrets from before and after payloads before they are written to the audit trail. |
AuthorizingAIFunction |
Class | Wraps an AI.AIFunction with an AgentPrism.IToolAuthorizationHandler check that runs before every call. |
CallableAgentInfo |
Struct | The summary of a callable sub-agent, reported to the model. |
CallableAgentResolver |
Class | Resolves, from the catalog, the other agents an agent may call. |
CanaryEvaluator |
Class | Pure decision logic that evaluates a AgentPrism.CanaryPolicy against the current results of the canary and control arms. |
CanaryOptions |
Class | Options for the canary evaluation background service. |
ChildAgentInvoker |
Class | Wraps a sub-agent an agent may call; enforces depth, budget, and tenant limits and links the sub-run into the tree. |
ChildRunApproval |
Class | Determines whether a response carries a tool call pending approval. |
CodeAgentRegistration |
Class | A code-defined agent registration. Use one of two forms: declarative CodeAgentRegistration.Definition or CodeAgentRegistration.Factory, which gives full control. |
CodeAgentSource |
Class | A source that exposes code-defined agents in the catalog. |
CompiledAgentCache |
Class | Caches compiled agents keyed by (tenant, name, version, skill fingerprint, culture). |
CompositeAgentCatalog |
Class | Combines all AgentPrism.IAgentSource sources in one catalog and wraps resolved agents with registered AgentPrism.IAgentDecorator decorators. |
ConfigurationKeyGuard |
Class | Verifies that a configuration key name a stored record points at sits under an allowed prefix. |
ContentGuardPipeline |
Class | Pipeline that runs the registered AgentPrism.IContentGuard implementations in sequence and records their decisions. |
ContextWindowEstimator |
Class | Estimates a prompt’s token count and whether it would be rejected by the pre-flight context-window check, without calling a model provider. |
ConversationBranchService |
Class | Branches a session’s conversation from a given point, and opens a new session that carries the branch. |
CronExpression |
Class | A hand-written parser for the standard five-field cron subset (minute hour day-of-month month day-of-week). |
DefaultRunAttributionContext |
Class | The built-in AgentPrism.IRunAttributionContext. It reports whatever AgentPrism.AmbientRunAttributionScope carries, and nothing otherwise. |
DefaultRunErrorClassifier |
Class | AgentPrism’s built-in error classifier. |
DefinitionStoreAgentSource |
Class | A source that exposes definitions from AgentPrism.IAgentDefinitionStore in the catalog. Agents created through the UI come from this source. |
EgressAddressPolicy |
Struct | The address rules one outbound surface applies to its targets. |
EgressAddressValidator |
Class | The single place that decides whether an outbound target address is safe. |
EgressAddressVerdict |
Struct | The result of validating an outbound target address. |
EgressSocketGuard |
Class | Validates the address a socket is about to connect to, and opens the socket only to an allowed address. |
EvalCheckRegistry |
Class | Converts the declarative check definitions in EvalSuite.Checks into AI.EvalCheck instances. |
ExperimentAssignmentResolver |
Class | Deterministically assigns a run request to a bucket, when a running experiment exists for an agent. |
FixedTenantContext |
Class | An immutable tenant context that always returns the same tenant. |
GeneratedApiKey |
Class | The generated raw API key value and its derived forms. |
IAgentPrismBuilder |
Interface | The fluent chain that configures AgentPrism. Returned from the AddAgentPrism call. |
InboundTriggerDispatcher |
Class | Validates and dispatches inbound trigger requests: HMAC signature and timestamp window, replay protection, payload extraction, and queuing. |
InboundTriggerDispatchResult |
Class | The result of InboundTriggerDispatcher.EnqueueAsync. |
InboundTriggerOutcome |
Enum | The outcome of validating an inbound trigger request. |
InboundTriggerRateLimiter |
Class | Applies a fixed-window rate limit per inbound trigger. |
InboundTriggerSecretResolver |
Class | Resolves an AgentPrism.InboundTrigger’s signing secret by reading its configured configuration key. |
InboundTriggerValidatedRequest |
Class | A request that passed every check and is ready to be queued. |
InboundTriggerValidationResult |
Class | The result of InboundTriggerDispatcher.ValidateAsync. |
InMemoryAgentDefinitionStore |
Class | A store that keeps agent definitions in process memory. |
InMemoryAgentSkillStore |
Class | A store that keeps skill definitions in process memory. |
InMemoryApiKeyStore |
Class | The default implementation that keeps API keys in process memory. |
InMemoryAttachmentStore |
Class | A store that keeps attachments in process memory. |
InMemoryAuditLog |
Class | An audit log that keeps entries in process memory. |
InMemoryEvalStore |
Class | A store that keeps eval suites, cases, and runs in process memory. |
InMemoryExperimentStore |
Class | A store that keeps A/B experiments in process memory. |
InMemoryIdempotencyStore |
Class | A store that keeps idempotency records in process memory (first class). |
InMemoryInboundTriggerStore |
Class | A store that keeps inbound trigger definitions in process memory (first class). |
InMemoryJobScheduleStore |
Class | A store that keeps schedule definitions in process memory. |
InMemoryJobStore |
Class | A store that keeps queued jobs and their items in process memory. |
InMemoryMcpServerStore |
Class | A store that keeps MCP server definitions in process memory. |
InMemoryPendingApprovalStore |
Class | A store that keeps pending approval requests in process memory. |
InMemoryQuotaStore |
Class | The default implementation that keeps quota rules and counters in process memory. |
InMemoryRetentionPolicyStore |
Class | The default implementation that keeps retention policies and run history in process memory. |
InMemoryRunInputStore |
Class | The default store that keeps run inputs in memory. |
InMemoryRunScoreStore |
Class | A store that keeps run and message scores in process memory. |
InMemoryRunStore |
Class | A store that keeps run records and their events in process memory. |
InMemorySessionStore |
Class | A store that keeps sessions in process memory. |
InMemorySingletonLeaseStore |
Class | A store that keeps singleton execution leases in process memory. |
InMemorySkillScriptGrantStore |
Class | A store that keeps script execution grants in process memory. |
InMemoryTenantEgressPolicyStore |
Class | In-memory AgentPrism.ITenantEgressPolicyStore implementation. |
InMemoryTenantProviderBindingStore |
Class | In-memory AgentPrism.ITenantProviderBindingStore implementation. |
InMemoryTenantStore |
Class | A store that keeps tenant records in process memory. |
InMemoryToolApprovalRuleStore |
Class | A store that keeps persistent approval rules in process memory. |
InMemoryTraceStore |
Class | A store that keeps spans in process memory. |
InMemoryVoiceSessionStore |
Class | The default implementation that keeps voice records in process memory. |
InMemoryWebhookStore |
Class | The default implementation that keeps webhook subscriptions and delivery history in process memory. |
InMemoryWorkflowCheckpointStore |
Class | Stores workflow checkpoints in process memory. |
InMemoryWorkflowDefinitionStore |
Class | Stores workflow definitions in process memory. |
InstructionCultureResolver |
Class | Resolves the instructions text a run should use from an AgentPrism.AgentDefinition’s culture dictionary. |
KnowledgeIngestionService |
Class | Management (operator) surface for document ingestion, semantic search, and source management. |
ModelPriceOverride |
Class | Defines a configured price override for one model. |
ModelProviderCircuitBreaker |
Class | Circuit breaker that temporarily cuts off requests when a model provider fails consecutively. Holds state per provider name. |
ModelProviderHealthCache |
Class | Caches the health-check results of the registered model providers. |
ModelProviderRegistry |
Class | Registry that holds the registered AgentPrism.IModelProvider implementations by name, and the single place that assembles the model-call pipeline. |
ModelRunJudge |
Class | Provides the built-in, model-backed AgentPrism.IRunJudge implementation. |
ModelRunJudgeOptions |
Class | Options for the built-in model-based judge (AgentPrism.ModelRunJudge). |
NullDataSubjectStore |
Class | The default (in-memory) AgentPrism.IDataSubjectStore: export and erasure are meaningful only once a SQL provider is enabled — the same precedent as. |
NullRetentionStore |
Class | The no-op default data-plane implementation. It is registered with in-memory stores and always returns “nothing matched”. |
OnlineEvalJobHandler |
Class | Executes JobKind.OnlineEval jobs: scores a sampled production run with every registered AgentPrism.IRunJudge. |
OnlineEvalSummaryService |
Class | Maintains a sliding-window summary of online evaluation scores and publishes WebhookEvents.RunScoreLow when its threshold is crossed. |
OnlineEvaluationOptions |
Class | Online evaluation settings. |
OnlineEvaluationOptionsValidator |
Class | Validates AgentPrism.OnlineEvaluationOptions when the application starts. |
OnlineEvaluationSummary |
Class | Summarizes the online evaluation window (GET /api/evaluation/online). |
OpenTelemetryAgentDecorator |
Class | Wraps every agent resolved from the catalog with Microsoft Agent Framework’s AI.OpenTelemetryAgent decorator. |
PatternContentGuard |
Class | AgentPrism’s built-in pattern-based content guard. |
PatternContentGuardOptions |
Class | Settings for the built-in pattern-based guard. |
PiiPatterns |
Enum | The built-in pattern families for AgentPrism.PatternContentGuard. |
ProviderConcurrencyLimiter |
Class | Limits concurrent outgoing calls per model provider. |
ProviderCredentialClientCache<TFactory\> |
Class | Builds and caches a provider-specific client factory keyed by a resolved AgentPrism.ModelProviderCredential (BYOK). |
QuotaEnforcer |
Class | Enforces quota rules and records the consumption of completed runs. |
QuotaPeriodCalculator |
Class | Calculates which quota period an instant falls into, and when that period resets. |
QuotaUsageObserver |
Class | Cached data source for the agentprism.quota.usage/agentprism.quota.limit observable gauges. |
RateLimitPartitionKind |
Enum | Which key the rate limit is partitioned by. |
ResolvedCallableAgents |
Struct | The resolved set of sub-agents a definition may call, and its cache fingerprint. |
ResolvedRetentionPolicy |
Class | Represents a resolved, applicable retention rule for a target. |
RetentionExecutor |
Class | Provides shared logic for preview and actual cleanup runs. AgentPrism.RetentionJobHandler and the RetentionEndpoints “run now” and “preview” endpoints use it. |
RetentionJobHandler |
Class | Runs a retention sweep (JobKind.Retention). |
RetentionPolicyResolver |
Class | Combines the database policy with the configuration default for a target. |
RetentionTargetOptions |
Class | Defines a configuration-based retention default for one target. |
RunCancellationRegistry |
Class | An in-memory implementation of AgentPrism.IRunCancellationRegistry. |
RunCostRecalculationService |
Class | Maintenance service that recalculates the cost of all runs against the current pricing source (catalog/configuration). |
RunEventDraft |
Struct | Represents the information an event carries before its sequence number and timestamp are assigned. |
RunEventWriter |
Class | Writes the events of a single run into AgentPrism.IRunStore and produces the sequence number. |
RunPricingResolver |
Class | Provides the default AgentPrism.IRunPricingResolver implementation. It resolves prices from the model catalog, then AgentPrism:Pricing configuration. |
RunPromotionOutcome |
Class | Represents the RunToCasePromoter.PromoteAsync outcome and its case, when present. |
RunPromotionStatus |
Enum | Defines the outcome of RunToCasePromoter.PromoteAsync. |
RunReconciliationOptionsValidator |
Class | Validates AgentPrism.RunReconciliationOptions when the application starts. |
RunRecordingAgent |
Class | Writes every run of the wrapped agent into AgentPrism.IRunStore as events, emits its metrics and collects its spans. |
RunRecordingAgentDecorator |
Class | Wraps every agent resolved from the catalog with AgentPrism.RunRecordingAgent. |
RunReplayOutcome |
Enum | Represents the outcome of a replay preparation. |
RunReplayPreparation |
Class | Represents a prepared replay plan. |
RunReplayService |
Class | Makes a recorded run re-runnable with the same input under modified conditions. |
RunSampler |
Class | Decides whether to sample a completed run for online evaluation and, when sampled, queues a JobKind.OnlineEval job. |
RunSampleRequest |
Class | Represents the run summary required for a sampling decision. |
RunToCasePromoter |
Class | Promotes a production run to an evaluation case. |
RunTraceCollector |
Class | Listens to AgentPrism spans, buffers them per run, and writes them to AgentPrism.ITraceStore when the run completes, based on the sampling decision. |
SandboxedSkillScriptRunner |
Class | AgentPrism’s single script execution path, which runs skill scripts in an isolated operating-system process. |
SessionBranchOutcome |
Class | The result of a branching attempt. |
SessionBranchStatus |
Enum | The outcome of a branching attempt. |
SessionConversationResolver |
Class | Resolves the internal chat-history conversation id SqlChatHistoryProvider attaches to a session, for data subject export/erasure. |
SingleTenantContext |
Class | The default tenant context for single-tenant deployments. It always returns AgentPrismOptions.DefaultTenantId. |
SingletonExecutionOptionsValidator |
Class | Validates AgentPrism.SingletonExecutionOptions when the application starts. |
SingletonGuard |
Class | Reduces a background service’s execution to a single instance cluster-wide. |
SkillScriptExecutionResult |
Class | The result of one skill script execution. |
SkillScriptNaming |
Class | Validates the file name a stored script is written under. |
SkillScriptSupport |
Class | The compile-path handle for skill script execution: sets up MAF’s file-based skill source and produces the execution delegate for stored scripts. |
TenantProviderCredentialResolver |
Class | Resolves a tenant’s AgentPrism.TenantProviderBinding into a AgentPrism.ModelProviderCredential by reading the bound configuration key’s value. |
TextChunker |
Class | Splits text into fixed-length chunks with overlap. |
TimeoutAIFunction |
Class | Wraps an AI.AIFunction so a call that does not settle within a fixed duration ends in AgentPrism.AgentPrismToolTimeoutException instead of running unbounded. |
ToolApprovalAgentDecorator |
Class | Wraps every agent resolved from the catalog with Microsoft Agent Framework’s AI.ToolApprovalAgent decorator and supplies persistent “do not ask again” rules as. |
ToolApprovalPolicyRegistration |
Class | A code-defined approval policy registered through IAgentPrismBuilder.AddToolApprovalPolicy(…). |
ToolApprovalPolicyRegistry |
Class | Holds the code-defined approval policies registered at startup, keyed by tool name. |
ToolApprovalRuleEvaluator |
Class | Applies persistent approval rules to a tool call. |
ToolRegistry |
Class | The tool registry created from AgentPrism.AgentPrismToolRegistration entries. |
VoiceAudioFormats |
Class | The audio formats that the client can send. |
VoiceConnectionLease |
Class | Represents a reserved voice connection slot. |
VoiceConnectionLimiter |
Class | Limits concurrent voice connections per tenant. |
VoiceConversationBuilderExtensions |
Class | Extensions that enable the real-time voice conversation layer. |
VoiceConversationDriver |
Class | Runs the real-time conversation pipeline: audio comes in, text is transcribed, the existing run path processes it, and audio goes out. |
VoiceConversationOptions |
Class | Options of the real-time voice conversation layer. |
VoiceConversationProtocol |
Class | The frame names and the audio formats of the conversation WebSocket. |
VoiceConversationRequest |
Class | The immutable facts of a conversation connection. |
VoicePriceOverride |
Class | Defines the configured price for one voice model. |
WebhookDeliveryJobHandler |
Class | Executes a single webhook delivery attempt (JobKind.WebhookDelivery). |
WebhookHttpClient |
Class | Provides the Http.HttpClient used for webhook delivery, with built-in SSRF protection. |
WebhookPublisher |
Class | Publishes an event to its matching subscriptions. It creates the delivery record and writes the delivery to the job queue. |
WebhookSigner |
Class | Produces and verifies the HMAC-SHA256 signature of webhook requests. |
WebhookUrlValidator |
Class | Validates webhook target addresses against SSRF. |
WebhookUrlVerdict |
Struct | The result reporting whether a webhook target is safe. |
WorkflowDefinitionValidator |
Class | Validates the structural validity of a workflow definition. |