Configures chat interactions and AI chat sessions in CrestApps.Core 2.0: hub subclassing, authorization hooks, rate limiting, document endpoints, and the @crestapps/ai-chat-ui UI scripts.
Ships in crestapps-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A Chat Interaction is an operator-controlled conversation that needs no AI Profile: the interaction itself stores its deployments, system message, sampling, tools, agents, MCP connections, data source and documents. It is the fastest way to validate a provider and deployment. AI Chat sessions (AIChatSession) are the profile-based equivalent used by end-user chat pages and widgets. Both ship in CrestApps.Core.AI.Chat and share the same chat UI scripts.
crestapps-core-ai-profiles).ChatInteraction and IChatInteractionPromptStore on the chat interactions builder.ChatInteractionHubBase (and AIChatHubCore<TClient> for sessions), map it, and call ConfigureChatHubOptions<THub>() for each concrete hub.true by default, except AuthorizeSessionAsync on AIChatHubCore<TClient>, which only lets a session's owner in. Override them or put [Authorize] on the hub.crestapps-core-chat for server-side completion code, crestapps-core-signalr for hub routes and authentication, crestapps-core-realtime-voice for voice sessions, and crestapps-core-ag-ui for the AG-UI runs (RunAgent, tool cards, approvals, shared state) the session chat uses by default.400.using CrestApps.Core.AI.Chat;
using CrestApps.Core.AI.OpenAI;
using CrestApps.Core.AI.Security;
using CrestApps.Core.Data.EntityCore;
using CrestApps.Core.SignalR;
using MyApp.Hubs;
builder.Services.AddCrestAppsCore(crestApps => crestApps
.AddAISuite(ai => ai
.AddEntityCoreStores()
.AddOpenAI()
.AddSignalR(addStoreCommitterFilter: true)
.AddChatInteractions(chatInteractions => chatInteractions
.AddEntityCoreStores()
.ConfigureChatHubOptions<ChatInteractionHub>()
.ConfigureVisitorIdentity(options =>
{
options.RemoteAddressMode = AIVisitorRemoteAddressMode.Hashed;
})
.ConfigureChatRateLimiting(options =>
{
options.AnonymousSessionStartPartitions =
ChatRateLimitPartition.Visitor |
ChatRateLimitPartition.NetworkAddress;
})
)
)
.AddEntityCoreSqliteDataStore("Data Source=app.db")
);
// HubOptions<THub> is per concrete hub type; configure every chat hub you map.
builder.Services.ConfigureCrestAppsChatHubOptions<AIChatHub>();
var app = builder.Build();
app.MapHub<ChatInteractionHub>("/hubs/chat-interaction");
app.MapHub<AIChatHub>("/hubs/ai-chat");
Use .AddYesSqlStores() instead of .AddEntityCoreStores() for YesSql; YesSql hosts create the index tables with CreateChatInteractionIndexSchemaAsync and CreateChatInteractionPromptIndexSchemaAsync (see crestapps-core-yessql-stores).
AddCoreAIChatInteractions() (called by AddChatInteractions) registers visitor identity, chat notifications, the session-processing pipeline (AddCoreAIChatSessionProcessing: data extraction, post-session processing, the AIChatSessionCloseBackgroundService that closes inactive sessions every 5 minutes), CitationReferenceCollector, CompositeAIReferenceLinkResolver, ChatInteractionCompletionContextBuilderHandler, the built-in settings handlers (data source, prompt template, persona), and OptionsRealtimeIceServerProvider.
ConfigureChatHubOptions<THub>() uses AddHubOptions<THub> (a plain services.Configure<HubOptions<THub>> is silently ignored by SignalR) and sets a 10-minute client timeout, 15-second keep-alive, 10 MB maximum message size, 8 parallel invocations per client, and a stream buffer of 64.
ChatInteractionHub and AIChatHub above are host classes. The interaction hub looks like this; the session hub is in chat-interactions-examples.md.
using CrestApps.Core.AI.Chat.Hubs;
using CrestApps.Core.AI.Models;
using Microsoft.AspNetCore.Authorization;
namespace MyApp.Hubs;
[Authorize]
public sealed class ChatInteractionHub : ChatInteractionHubBase
{
public ChatInteractionHub(
IServiceProvider services,
TimeProvider timeProvider,
ILogger<ChatInteractionHub> logger)
: base(services, timeProvider, logger)
{
}
protected override Task<bool> AuthorizeAsync(IServiceProvider services, ChatInteraction interaction)
=> Task.FromResult(string.Equals(interaction.OwnerId, Context.UserIdentifier, StringComparison.Ordinal));
protected override Task<ChatMode> GetChatModeAsync(IServiceProvider services)
=> Task.FromResult(ChatMode.Conversation);
}
Other virtual hooks include GetDeploymentSettingsAsync (returns the DefaultAIDeploymentSettings used for slot defaults), IsTextToSpeechPlaybackEnabledAsync, CollectStreamingReferences (merge citations with CitationReferenceCollector), OnAssistantPromptCreatedAsync, ValidateSettings, and the localizable message methods (GetNotAuthorizedMessage, GetSettingsValidationMessage, GetNoRealtimeDeploymentMessage, GetConversationDeploymentNotRealtimeMessage, and others). AIChatHubCore<TClient> exposes AuthorizeProfileAsync(IServiceProvider, AIProfile) and GetRateLimitedMessage(PromptSecurityResult), which returns a "slow down" message with the retry delay when the message rate limit is hit.
EvaluateMessageRateLimitAsync(services, profile, sessionId, cancellationToken) applies IChatRateLimiter to input that does not pass through ValidatePromptSecurityAsync: SendAudioStream, SynthesizeSpeech, StartConversation, StartRealtimeConversation, StartRealtimeWebRtc, template prompts, blank messages, and resuming or continuing an AG-UI run. It runs after the profile is authorized and before a provider is called.TemplatePrompt profile sent through SendMessage needs the sessionProfileId of the chat profile the caller is in; both profiles are authorized and the message is rate-limited before ProcessGeneratedPromptAsync runs. A missing or unknown session profile gets the same "not authorized" answer.SynthesizeSpeech refuses text over MaxSpeechTextLength (virtual, 10,000) with GetSpeechTextTooLongMessage() on both hubs; AIChatHubCore also refuses a profile without text-to-speech playback or Conversation mode (IsSpeechSynthesisEnabledAsync, virtual) with GetTtsNotEnabledMessage().ResolveVisitorIdentity(IServiceProvider) is protected static, so a derived hub builds the same visitor identity.HttpContext on IHttpContextAccessor for the invocation, so visitor identity and rate-limit keys work on every transport.AIChatHubCore<TClient> also exposes AuthorizeSessionAsync(IServiceProvider, AIChatSession) and ValidateOutputAsync(...) (the output security filter, then the profile's guardrails; returns the replacement text for a blocked reply or null).
Loading, continuing, rating and acting on a session all call AuthorizeSessionAsync first. By default it allows only the signed-in user whose id (ClaimTypes.NameIdentifier, else the name) equals AIChatSession.UserId, or, for a visitor session, the same ClientId from IAIVisitorIdentityResolver. A session with neither is refused. A refused id is answered with GetSessionNotFoundMessage(), and a message sent to it starts a new session for the caller. Let staff open other users' conversations by widening it:
protected override async Task<bool> AuthorizeSessionAsync(IServiceProvider services, AIChatSession chatSession)
{
if (await base.AuthorizeSessionAsync(services, chatSession))
{
return true;
}
var authorizationService = services.GetRequiredService<IAuthorizationService>();
return (await authorizationService.AuthorizeAsync(Context.User, "Admin")).Succeeded;
}
When the user presses Stop after the answer has streamed, the hubs still validate, save and finish the turn: the remaining work ignores the cancelled token, and SendMessage runs in a child scope the hub owns because SignalR disposes the invocation scope on cancel. A host that overrides ExecuteInScopeAsync with its own scope keeps that scope.
Hub methods called by the client (interaction hub; the session hub takes profileId and sessionId instead of itemId):
| Method | Purpose |
|---|---|
SendMessage(itemId, prompt) | Streams CompletionPartialMessage items through a ChannelReader |
RunAgent(input) | Session hub only: an AG-UI run that streams AG-UI events (see crestapps-core-ag-ui) |
LoadInteraction(itemId) / SaveSettings(itemId, settings) / ClearHistory(itemId) | Load, update and reset an interaction |
StartConversation, SendAudioStream, SynthesizeSpeech | Speech-to-text and text-to-speech conversation mode |
StartRealtimeConversation, StartRealtimeWebRtc, AddRealtimeIceCandidate, GetRealtimeIceServers, UpdateRealtimeSettings, UpdateRealtimeSpeechSpeed, StopConversation | Realtime voice (see crestapps-core-realtime-voice) |
HandleNotificationAction(sessionId, notificationType, actionName) | Chat notification buttons |
SetPageTools(tools) / ClearPageTools() | Session hub only: the WebMCP tools the tab exposes (see crestapps-core-webmcp) |
IChatInteractionHubClient callbacks: ReceiveError, LoadInteraction, SettingsSaved, HistoryCleared, ReceiveTranscript, ReceiveAudioChunk, ReceiveAudioComplete, ReceiveRealtimeAnswer, ReceiveRealtimeIceCandidate, ReceiveRealtimeEvent, ReceiveConversationUserMessage, ReceiveConversationAssistantToken, ReceiveConversationAssistantComplete, ReceiveNotification, UpdateNotification, RemoveNotification.
AIChatHubCore and ChatInteractionHubBase never keep a store connection or transaction open while a model runs, because a throttled provider can hold a turn for minutes and drain the connection pool. Each turn commits through IStoreCommitter (CommitChangesAsync, protected virtual on both hubs):
SendMessage, RunAgent, the AG-UI endpoint) DefaultAICompletionUsageService hands them to AIChatSessionTokenUsageCollector.Current; voice, realtime and background calls record their tokens as before.A commit detaches what was read before it (a YesSql session clears its identity map), so code that runs during a turn follows these rules:
IAIChatSessionManager.SaveAsync is safe at any point; the managers save onto the stored session.ChatInteraction, a prompt) again before you update it.ChatInteraction sets the AICompletionContextKeys.SaveInteractionAfterTurn item in AIInvocationScope.Current.Items to true (when the item is present) instead of saving it; the hub reads the interaction again after the answer and saves the change. ConversationMemoryOrchestrationHandler works this way.ValidateOutputAsync gets the caller's cancellation token: a check waiting on a throttled guardrail model stops when the caller leaves, and the unchecked answer is not saved. A Stop click after the check still saves the answer.SaveSettings reads camelCase keys from the settings JSON: title, orchestratorName, connectionName, deploymentName (stored as ChatDeploymentName), utilityDeploymentName, conversationDeploymentName, realtimeVoiceName, systemMessage, temperature, topP, frequencyPenalty, presencePenalty, maxTokens, pastMessagesCount, toolNames, agentNames, mcpConnectionIds, plus whatever the registered IChatInteractionSettingsHandler implementations read (for example filter, personaId).
ChatDeploymentName is the text model; UtilityDeploymentName runs background work; ConversationDeploymentName names the realtime model and, because a chat interaction has no chat mode of its own, naming it is the opt-in to speaking. A conversation deployment that is not realtime-capable is reported with the deployment name rather than silently replaced.filter setting is validated with IODataValidator before any settings handler runs. An invalid filter rejects the save with ReceiveError ("Invalid filter value. It must be a valid OData filter.") and the interaction keeps its settings.IAIToolAccessEvaluator.IsAuthorizedAsync(user, toolName) and unauthorized tools are dropped with one warning. System and hidden tools are not checked; a null caller (trusted server code) skips the check. AI Profile sessions do not apply this gate; the profile is their authorization boundary.PromptSecurityOptions.EnableChatInteractionInputDelimiters (default true).AIVisitorIdentityOptions.AllowCrossSiteEmbedding (off by default) writes the visitor cookie SameSite=None; Secure; Partitioned so a chat embedded in another site's frame keeps its visitor. Rate limiting for anonymous traffic uses tiers on PromptSecurityOptions (see crestapps-core-prompt-security).Upload and remove endpoints live in CrestApps.Core.AI.Documents.Endpoints and need document processing (crestapps-core-document-processing):
app.AddUploadChatInteractionDocumentEndpoint();
app.AddRemoveChatInteractionDocumentEndpoint();
app.AddUploadChatSessionDocumentEndpoint();
app.AddRemoveChatSessionDocumentEndpoint();
app.AddDownloadAIDocumentEndpoint();
Each Add*Endpoint() returns the endpoint's RouteHandlerBuilder (add filters or metadata to it), so call them on app one by one; they no longer chain. Authorize them by registering IAuthorizationHandler implementations for AIChatDocumentOperations.ManageDocuments on ChatInteraction and on AIChatSessionDocumentAuthorizationContext.
IChatSessionStartRateLimiter (429 when throttled), and cap a session at ChatDocumentsOptions.MaxDocumentsPerSession (namespace CrestApps.Core.AI.Ingestion, default 20, 0 disables; extra files come back in failed). Uploads to one session run one at a time per process; across instances use a store that checks concurrency, or sticky routing.404 for a session the caller does not own. A signed-in caller matches on NameIdentifier (on Name only when there is none); a visitor on the visitor id.chat-interaction); other ids answer 404.CookieAuthenticationAntiforgeryEndpointFilter. It validates the RequestVerificationToken header or form field unless every identity came from a type in AntiforgeryEndpointFilterOptions.NonCookieAuthenticationTypes (namespace CrestApps.Core.Filters; Bearer, Api, ApiKey, OpenIddict.Validation.AspNetCore by default; add the authentication type your API scheme produces, which for the JWT bearer handler is AuthenticationTypes.Federation unless the host sets another). An Authorization header exempts nothing, and an anonymous request carrying a cookie in AmbientCookieNames (the visitor cookie) is validated too. AddCoreAIDocumentProcessing registers AddAntiforgery().@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery
<meta name="RequestVerificationToken" content="@Antiforgery.GetAndStoreTokens(Context).RequestToken" />
The vendored scripts send the token (through window.CoreAIAntiforgery in chat-markers.js) from the chat config's antiforgeryToken, else that meta tag, else a hidden __RequestVerificationToken field, and only to same-origin URLs.
The browser scripts are published as @crestapps/ai-chat-ui (npm or jsDelivr). Load Vue 3, marked, DOMPurify and a pinned SignalR client first, then the CrestApps scripts:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@crestapps/ai-chat-ui/dist/chat-widget.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@crestapps/ai-chat-ui/dist/chat-image-carousel.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@microsoft/[email protected]/dist/browser/signalr.min.js"
integrity="sha384-N+pL/4qXZHZcvsa6hVMd5/7cdF3lC59ZMNHeQyRo5q9jmC7yw0hcJILPjUDSU7ZS"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dompurify@3/dist/purify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@crestapps/ai-chat-ui/dist/chat-markers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@crestapps/ai-chat-ui/dist/chat-image-carousel.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@crestapps/ai-chat-ui/dist/ai-chat.min.js"></script>
chat-markers.js (global CoreAIChatMarkers) holds the shared [doc:n], [fig:n] and [chart:{...}] rules and must load before ai-chat.js. It also splits combined citations such as [doc:1, doc:2] and merges references that print the same source.chat-image-carousel.js is optional. With it, two or more adjacent pictures (and a single picture on its own line) become one swipeable stack with an S / M / L size control. A custom UI calls CoreAIChatImageCarousel.stackAdjacentImages(html) on sanitized HTML.realtime-audio.js (global CoreAIRealtime) is the shared voice client; chat-interaction.js and ai-chat-widget.js are the other entry points.data-coreai-chat-assistant-label and data-coreai-chat-assistant-avatar-url (Chat Interactions take assistantLabel and assistantAvatarUrl in data-chat-interaction-config). Resolve them from the linked persona with await services.ResolveChatAssistantDisplayAsync(profile) (namespace CrestApps.Core.AI.Profiles; a host without personas gets the default look).@crestapps/ai-chat-ui@<version>), and pin SignalR with an integrity hash.protocol ('agui' by default, 'legacy' for the text-only stream) and sendPageContext (default true). See crestapps-core-ag-ui.CoreAIImages.sanitize (in chat-markers.js, used by both chat scripts and the MVC chat-interaction view) cleans every answer:
data:/same-origin blob:, or a host in the allowedImageHosts chat option ('images.example.com', '*.example.com' for subdomains; empty means same-origin only). Other images become plain links. <video>, <audio>, <source>, <track>, SVG, MathML, poster, background, srcset and every <input> except the disabled task-list checkbox are removed.style keeps only size, spacing (no negative margins), text and color properties; id (except chart canvases chat_chart_N/ci_chart_N), data-coreai-*, data-chat-interaction-*, data-agui-*, for, form, formaction, list, popovertarget, popovertargetaction, commandfor, command and form-control name are removed, and every <button> becomes type="button".window.CoreAIChatSurface.isInsideRenderedMessage(element) before starting a chat and registerRoot(element) for its mount; a custom settings script reads its controls with CoreAIChatSurface.queryPageElements(selector) / queryPageElement(selector).window.coreAIChatManager().initialize({
// ...
allowedImageHosts: ['images.example.com', '*.cdn.example.com']
});
AuthorizeSessionAsync, as the sample hosts do for the Admin policy. Sessions with no UserId and no ClientId (for example ones started by another channel) are no longer opened by anyone unless the override allows them.RunAgent) by default; set protocol: 'legacy' to keep SendMessage.Add*Endpoint() methods return RouteHandlerBuilder; split chained calls into separate statements.AllowCrossSiteEmbedding also write the antiforgery cookie SameSite=None; Secure; Partitioned and set AntiforgeryOptions.SuppressXFrameOptionsHeader (see crestapps-core-prompt-security).sessionProfileId; blank messages, speech methods and AG-UI resumes now count against the message rate limit.allowedImageHosts; inline styles other than size, spacing, text and color are dropped from answers, and answers keep no id.Name (where it differs from NameIdentifier) no longer reads as that user's; update its UserId.AIChatHubCore gains CommitChangesAsync; custom handlers that saved a ChatInteraction during a turn set AICompletionContextKeys.SaveInteractionAfterTurn instead, or they add a second interaction.*.css.map files are gone, and Babel helpers are no longer page globals.ChatMode.Realtime and AIProfile.RealtimeDeploymentName are removed. Use ConversationDeploymentName on the interaction (or ChatModeProfileSettings.ConversationDeploymentName on a profile).IAIToolAccessEvaluator; Chat Interactions now do, at send time. Keep a custom evaluator if you enforce per-user tool permissions.chat-markers.js before the chat scripts if you host them yourself.ConfigureChatHubOptions<THub>() / ConfigureCrestAppsChatHubOptions<THub>(); a hub mapped without it runs on SignalR defaults.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
crestapps-core, chat-interactions, ai-chat, signalr-hubs, chat-ui
/crestapps-core:crestapps-core-chat-interactionsfrom crestapps-core
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-core51 skills in this plugin
/crestapps-core-a2aSkill for Agent-to-Agent (A2A) protocol support in CrestApps.Core on the A2A 1.0 SDK. Covers AddA2AClient and AddCoreAIA2AClient with Entity Framework Core or YesSql connection stores, A2AConnection and A2AConnectionMetadata authentication, AIProfileA2AMetadata, the agent card cache and A2AToolRegistryProvider, the listAvailableAgents, findAgentForTask and findToolsForTask tools, building an A2A host with IAgentHandler, A2AServer, ITaskStore and MapA2A, A2A 1.0 agent cards with supportedInterfaces published at /.well-known/agent-card.json, A2AHostOptions authentication and ExposeAgentsAsSkill, system agents exposed through the host, and upgrading from the 0.3 SDK./crestapps-core-ag-uiSkill for running the CrestApps.Core 2.0 AI chat as an AG-UI agent. Covers the CrestApps.Core.AI.AGUI package (AGUIRunEventWriter, AGUIRunRequest, AGUIJson), AIChatHubCore.RunAgent over SignalR and MapAGUIChat with Server-Sent Events, the RunAgentInput members and streamed events, tool approvals with RequireApproval or an approval tool kind, ApprovalRequiredAIFunction, interrupts and resume, approvals inside agents, page context with crestAppsAGUI.registerContextProvider, shared state with registerStateProvider and update_shared_state, frontend tools, stored tool calls (ChatTurnToolActivity), runs that continue on the next page, AGUIChatOptions.DisconnectedRunTimeout, the protocol and sendPageContext chat options, and the AICompletionContextKeys and ChatResponseHandlerContext members. Use it when showing tool calls in the chat, asking a person before a tool runs, sharing page state with the agent, connecting CopilotKit or another AG-UI client, or troubleshooting approvals and continued runs./crestapps-core-ai-agentsSkill for AI agents in CrestApps.Core 2.0, specialized AIProfile records of type Agent that the primary model invokes as tools. Covers creating agent profiles with AgentMetadata availability (OnDemand or AlwaysAvailable), linking them with AgentInvocationMetadata, how AgentProxyTool runs an agent with tools disabled or through the orchestrator when AllowToolInvocation is set, the AgentInvocationDepth recursion guard, never offering an agent to itself (RunningAgentName), tools of an agent that require an approval and pause the agent, deployment inheritance and the chat slot, code-defined and system agents through IAIProfileProvider including the Tabular Data, PDF, Presentation and Word agents, chat-specific agents that read AIInvocationScope, exposing agents to MCP clients with McpServerOptions Agents and ExposeAllAgents, and SubAgent usage labels. Use it when delegating work to sub-agents, adding a framework-managed agent, publishing an agent over MCP, or troubleshooting an agent the model does not call./crestapps-core-ai-markdownSkill for Markdig-backed Markdown normalization in CrestApps.Core 2.0 AI document, data source and RAG flows. Covers the CrestApps.Core.AI.Markdown package, AddMarkdown on the AI suite builder and AddCoreAIMarkdown on IServiceCollection, MarkdownAITextNormalizer replacing the default IAITextNormalizer, RagTextNormalizer content, chunk and title normalization with HTML stripping and Microsoft.Extensions.DataIngestion.Markdig parsing, the gpt-4o tokenizer chunker with 500 tokens per chunk and 50 tokens of overlap, the plain-text fallback for unsupported inline types, where the normalizer is used (data source indexing, preemptive retrieval, reference titles), and pairing it with document processing. Use it when indexing Markdown-heavy content for retrieval, replacing the text normalizer, or troubleshooting chunk sizes and leftover markup in retrieved text./crestapps-core-ai-memorySkill for AI memory in CrestApps.Core. Covers AddAIMemory, AddCoreAIMemory and AddCoreAIMemoryIndexing, Entity Framework Core and YesSql memory stores, the AIMemory index profile on the Elasticsearch, Azure AI Search and PostgreSQL backends, AIMemoryOptions, the store fallback when no index is usable, background memory indexing, the three kinds of memory (session memory with AIConversationMemory summaries and search_conversation, past conversations with search_past_conversations and list_recent_conversations, durable user memory) switched by MemoryMetadata and ChatInteractionMemoryOptions, preemptive memory retrieval and RunsWhenPreemptiveRagIsDisabled, owner-only chat sessions, the user memory tools, IAIMemorySafetyService validation, and custom IMemoryVectorSearchService implementations./crestapps-core-ai-model-capabilitiesSkill for metadata-driven deployment capabilities in CrestApps.Core 2.0. Covers trained model features such as textGeneration, toolCalling, streaming, reasoning, realtime, textEmbedding, speechToText and textToSpeech, model parameters such as reasoningEffort, declaring them with AIDeploymentMetadata or the Features and Parameters configuration shorthand for Azure App Service settings, registering custom features, parameters and slots with AddAIDeploymentFeature, AddAIDeploymentParameter, AddAIDeploymentSlot and AIDeploymentCapabilityOptions, IAIDeploymentCapabilityService, deployment slots and their resolution chain, AIDeploymentParametersMetadata chat and utility values, IAIDeploymentParameterBinder, UseModelParameters, capability enforcement, the ChatApi Responses routing for reasoning with tools, capability-aware chat UIs, and migrating from AIDeploymentPurpose. Use it when declaring what a model supports, adding a new knob, or fixing stripped tools, missing pickers, or reasoning-effort errors.Other plugins' skills for the same job