devexpress-blazor-ai-chat

devexpress-blazor-ai-chat is a skill for Claude Code from DevExpress/agent-skills. It costs 108 tokens per session (7,059 once invoked), scanned A, original, MIT.

A guide for adding a chat interface powered by an AI service to Blazor and other .NET applications. It covers connections to OpenAI, Azure OpenAI, Ollama, or a custom service, using credentials that you provide.

In plain words
What is it for?
Use it to build AI assistants, configure prompts and suggestions, accept PDF or image attachments, save conversations, and connect chat actions to custom tools or backends.
Why use it?
It helps avoid designing the chat interface and its connection details from scratch, while covering conversations, streamed replies, files, and formatted text.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the dx-blazor plugin — 10 skills shipped together

Good fit Use it to build AI assistants, configure prompts and suggestions, accept PDF or image attachments, save conversations, and connect chat actions to custom tools or backends.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devexpress/agent-skills/devexpress-blazor-ai-chat
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DevExpress/agent-skills --skill devexpress-blazor-ai-chat
Clone the repo
git clone --depth 1 https://github.com/DevExpress/agent-skills

Made for: Claude Code.

Or install dx-blazor, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devexpress-blazor-ai-chat

README.md
[![agentmods](https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-blazor-ai-chat/github.svg)](https://agentmods.dev/skills/devexpress/agent-skills/devexpress-blazor-ai-chat)
Your own site
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-blazor-ai-chat"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-blazor-ai-chat/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for devexpress-blazor-ai-chat

Your own site · 80×15
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-blazor-ai-chat"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-blazor-ai-chat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 181
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Anti-Refusal · line 400
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.07059
Opus 5 $0.00054 $0.03529
Sonnet 5 $0.00022 $0.01412
Haiku 4.5 $0.00011 $0.00706

Measured 11d ago against content hash 1c56e4c27484, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

devexpress-blazor-ai-chat scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dx-blazor/skills/devexpress-blazor-ai-chat/SKILL.md · 426 lines

How it starts

The opening of the file, as written. The whole thing — 426 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DevExpress Blazor AI Chat

DxAIChat is an AI-powered conversational UI component compatible with major cloud AI providers (OpenAI, Azure OpenAI) and self-hosted models (Ollama). It runs in Blazor, .NET MAUI, WPF, and WinForms applications. The component operates on a BYOK (bring your own key) model — you supply the AI provider credentials; DevExpress does not bundle any LLM.

Security: Never hardcode AI provider keys, endpoints, or credentials in source code. Use environment variables, user secrets, or a secrets vault.

When to Use This Skill

  • Add a conversational AI chat widget to a Blazor page
  • Connect DxAIChat to Azure OpenAI, OpenAI, or Ollama
  • Configure prompt suggestions (hint bubbles shown before the first message)
  • Add a system prompt to give the AI model a persona or instructions
  • Enable file attachments (PDF, images) for multimodal AI analysis
  • Render AI responses with Markdown formatting
  • Switch between multiple AI providers at runtime
  • Implement tool/function calling from the AI model
  • Save and load conversation history
  • Integrate with AI agents and custom backends via IChatResponseProvider

Prerequisites & Installation

NuGet Packages

Package Minimum Version Purpose
DevExpress.AIIntegration.Blazor.Chat 26.1 Core AI Chat component
DevExpress.Blazor 26.1 Required DevExpress Blazor base
DevExpress.AIIntegration.Agents 26.1 Agent-based IChatResponseProvider creation (.AsAIAgent())
Microsoft.Extensions.AI 9.7.1 Required MEI abstraction layer
Microsoft.Extensions.AI.OpenAI 9.7.1-preview.1.25365.4 Azure OpenAI / OpenAI provider bridge
Azure.AI.OpenAI 2.3.0 Azure OpenAI SDK
OpenAI 2.3.0 OpenAI (non-Azure) SDK
OllamaSharp Ollama self-hosted provider
# Install from NuGet.org:
dotnet add package DevExpress.AIIntegration.Blazor.Chat
dotnet add package DevExpress.Blazor

Read the full file on GitHub · 426 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 426 lines · 108 tokens per session scan A 1c56e4c27484

Subscribe to this mod's changes

devexpress-blazor-ai-chat is a skill published in the GitHub repository DevExpress/agent-skills (52 stars, last pushed 24d ago), licensed MIT. It adds 108 tokens to every session and 7,059 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.