Blazor.AI.Bio 1.2.0

dotnet add package Blazor.AI.Bio --version 1.2.0
                    
NuGet\Install-Package Blazor.AI.Bio -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazor.AI.Bio" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazor.AI.Bio" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Blazor.AI.Bio" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blazor.AI.Bio --version 1.2.0
                    
#r "nuget: Blazor.AI.Bio, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blazor.AI.Bio@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blazor.AI.Bio&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Blazor.AI.Bio&version=1.2.0
                    
Install as a Cake Tool

<p align="center"> <img src="https://raw.githubusercontent.com/DotNetVibeCoderz/Vibe_Components/main/Blazor.AI/assets/icon-512.png" width="112" alt="Blazor.AI logo: a kawung batik motif" /> </p>

<h1 align="center">Blazor.AI</h1>

<p align="center"> <b>AI components for Blazor</b>: smart forms, copilots, cited document chat, agents, decision engines, machine learning, reinforcement learning, Hugging Face models, biology workbenches and AI-powered 3D scenes.<br/> .NET 10 · Microsoft.Extensions.AI · works offline without keys </p>

<p align="center"><i>Dibuat oleh Gravicode Studios dipimpin oleh Kang Fadhil.</i></p>

<p align="center"><a href="#english">English</a> · <a href="#bahasa-indonesia">Bahasa Indonesia</a></p>

Blazor.AI gallery home: paste an email, get a filled form


English

Why Blazor.AI

  • 229 ready-made components across 13 NuGet packages, all styled by one theme (light and dark), including 48 Three.js components built on a reusable Scene3D engine and 72 real-time computer-vision components on MediaPipe.NET.
  • Any model: OpenAI, Azure OpenAI, Anthropic Claude, Gemini, Mistral, Cohere, DeepSeek, Grok, Hugging Face, Ollama, llama.cpp, LocalGen, any OpenAI-compatible endpoint, ONNX and in-process Hugging Face transformers. Every component also runs on a built-in offline simulated model, so demos and tests need no keys.
  • Computation stays deterministic. Machine learning, statistics, rules, chemistry and sequence analysis run in .NET (GraviLearn, GraviFrame, RLNet, Biotech.Net). The LLM plans and explains; it does not invent the numbers.
  • Guardrails built in: PII redaction, content moderation, audit trail, AES-GCM encrypted prompt store and API-key vault, role-based access.

Packages

Package What you get
Blazor.AI.Abstractions Provider options, vector, guardrail and smart-component contracts
Blazor.AI.Core Provider factory, simulated model, text services, vector index, guardrails, DI (AddBlazorAI)
Blazor.AI.Components Smart components (SmartPaste, SmartTextArea, SmartComboBox…), AiChat, AiAssistant, AiCopilot, generators, coding and productivity tools, theme
Blazor.AI.Visualization SVG charts: line, bar, scatter, heatmap, Sankey, treemap, network and knowledge graphs, geo map, forecast, realtime, AI dashboard
Blazor.AI.RAG Document ingestion (PDF, Office, CSV), vector search, cited document chat, PDF and spreadsheet chat, knowledge graph
Blazor.AI.Agents Tool-calling agents, multi-agent teams, task board, memory, debugger, MCP explorer, workflow designer
Blazor.AI.Decision Rule editor, DMN-style decision tables and trees, policies, risk, eligibility, approvals, dynamic pricing (TypeSafe System One)
Blazor.AI.Analytics AutoML, six ML workbenches, statistics, Bayesian A/B, hypothesis tests, PCA, time series, signals, RL studio
Blazor.AI.LocalModels Hugging Face hub browser and downloader, local inference: sentiment, NER, embeddings, vision, OCR, speech
Blazor.AI.Bio DNA, restriction maps, alignment, phylogeny, proteins, molecules and ADMET, CRISPR, primers, codon optimisation, RNA-seq, bio copilot
Blazor.AI.ThreeD Three.js scenes in C#: talking avatar with lip sync, 3D charts and graphs, agent and decision visualisers, RL arenas, digital twins, anatomy, molecules and proteins, CAD/BIM copilots, education and game tools
Blazor.AI.MediaPipe Real-time computer vision (MediaPipe.NET on ONNX Runtime): face mesh, attendance and verification, hands, gestures and sign language, pose and exercise coaching, holistic and motion capture, background removal, object detection, classification, vision copilot, 3D views, healthcare, agritech, education, industry and analytics
Blazor.AI.Templates dotnet new blazorai project template

Quick start

dotnet new install Blazor.AI.Templates
dotnet new blazorai -n MyAiApp --provider openai --agents true

Or add it to an existing Blazor Web App:

dotnet add package Blazor.AI.Components
// Program.cs
builder.Services.AddBlazorAI(builder.Configuration)       // providers from the "BlazorAI" section
    .AddSimulated()                                       // offline fallback
    .AddOpenAI(builder.Configuration["OpenAI:Key"]!, "gpt-5-mini");
builder.Services.AddBlazorAIComponents();

<link rel="stylesheet" href="_content/Blazor.AI.Components/blazor-ai.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" />
<form>
    <input name="name" /> <input name="email" /> <input name="company" />
    <SmartPaste />
</form>

<AiChat Title="Support" SystemPrompt="You help customers of Contoso." />

Configuration

{
  "BlazorAI": {
    "DefaultProvider": "azure",
    "Providers": [
      { "Name": "simulated", "Kind": "Simulated" },
      { "Name": "azure", "Kind": "AzureOpenAI", "Endpoint": "https://<resource>.openai.azure.com/", "Model": "gpt-5-mini" },
      { "Name": "claude", "Kind": "Anthropic", "Model": "claude-sonnet-5-5" },
      { "Name": "local", "Kind": "Ollama", "Endpoint": "http://localhost:11434", "Model": "llama3.2" }
    ],
    "Guardrails": { "RedactPii": true, "ModerateContent": true, "Audit": true }
  }
}

Put keys in user-secrets or environment variables (BlazorAI__Providers__1__ApiKey), never in appsettings.json. Cloud providers without a key are skipped, and the simulated model stays available.

The gallery app shows every component with a live preview and copy-ready code.

dotnet run --project samples/Blazor.AI.Gallery    # http://localhost:5180
Smart components Agents
Smart components Agents
RAG Machine learning
RAG and knowledge Machine learning
Decision intelligence Biology
Decision intelligence Biology (dark theme)
Visual analytics Hugging Face
Visual analytics Hugging Face

3D

Blazor.AI.ThreeD renders declarative C# scenes with a bundled Three.js engine (no CDN). Its rigged guide robot, fish and robot arm were generated with Rodin and rigged and animated in Blender; the 2-D art was generated with Nano Banana 2.

Talking avatar Virtual tour guide at Borobudur
Talking avatar with lip sync Virtual tour guide (Borobudur)
Smart city digital twin AI world builder
Smart city digital twin AI world builder
Executive analytics sphere 3D molecule explorer
Executive KPI sphere 3D molecules from SMILES

Computer vision

Blazor.AI.MediaPipe runs MediaPipe Tasks natively in .NET on the server: the browser streams camera, video, image or HTTP-stream frames and draws the returned landmarks, boxes and masks. Sample photos were generated with Nano Banana 2, so every demo works without a webcam.

Face landmarks Gesture recognition
Face landmarks and blendshapes Gesture recognition
Yoga trainer Object detection
Yoga trainer Object detection
Vision copilot Fall detection
Vision copilot grounded in detections Elderly fall detection

Documentation

Build and test

dotnet build Blazor.AI.slnx
dotnet test tests/Blazor.AI.Tests
dotnet pack Blazor.AI.slnx -c Release -o artifacts

Requires the .NET 10 SDK. MIT licensed.


Bahasa Indonesia

Kenapa Blazor.AI

  • 229 komponen siap pakai dalam 13 paket NuGet, dengan satu tema yang konsisten (terang dan gelap), termasuk 48 komponen Three.js di atas engine Scene3D yang bisa dipakai ulang dan 72 komponen computer vision real-time di atas MediaPipe.NET.
  • Model apa saja: OpenAI, Azure OpenAI, Anthropic Claude, Gemini, Mistral, Cohere, DeepSeek, Grok, Hugging Face, Ollama, llama.cpp, LocalGen, endpoint kompatibel OpenAI, ONNX, dan transformer Hugging Face lokal. Semua komponen juga jalan dengan model simulasi offline, jadi demo dan tes tidak butuh API key.
  • Perhitungan tetap deterministik. Machine learning, statistik, aturan bisnis, kimia, dan analisis sekuens dihitung di .NET (GraviLearn, GraviFrame, RLNet, Biotech.Net). LLM merencanakan dan menjelaskan, bukan mengarang angka.
  • Guardrail bawaan: redaksi PII, moderasi konten, jejak audit, penyimpanan prompt dan brankas API key terenkripsi AES-GCM, serta kontrol akses berbasis peran.

Paket

Paket Isi
Blazor.AI.Abstractions Kontrak provider, vektor, guardrail, dan smart component
Blazor.AI.Core Factory provider, model simulasi, layanan teks, indeks vektor, guardrail, DI (AddBlazorAI)
Blazor.AI.Components Smart component (SmartPaste, SmartTextArea, SmartComboBox…), AiChat, AiAssistant, AiCopilot, generator konten, alat coding dan produktivitas, tema
Blazor.AI.Visualization Grafik SVG: garis, batang, sebaran, heatmap, Sankey, treemap, graf jaringan dan pengetahuan, peta, forecast, realtime, dasbor AI
Blazor.AI.RAG Ingesti dokumen (PDF, Office, CSV), pencarian vektor, chat dokumen bersitasi, chat PDF dan spreadsheet, knowledge graph
Blazor.AI.Agents Agen pemanggil tool, tim multi-agen, papan tugas, memori, debugger, MCP explorer, desainer workflow
Blazor.AI.Decision Editor aturan, tabel dan pohon keputusan gaya DMN, kebijakan, risiko, kelayakan, persetujuan, harga dinamis (TypeSafe System One)
Blazor.AI.Analytics AutoML, enam workbench ML, statistik, A/B Bayesian, uji hipotesis, PCA, deret waktu, sinyal, studio RL
Blazor.AI.LocalModels Browser dan pengunduh Hugging Face Hub, inferensi lokal: sentimen, NER, embedding, visi, OCR, suara
Blazor.AI.Bio DNA, peta restriksi, alignment, filogeni, protein, molekul dan ADMET, CRISPR, primer, optimasi kodon, RNA-seq, bio copilot
Blazor.AI.ThreeD Scene Three.js dari C#: avatar bicara dengan lip sync, grafik dan graf 3D, visualisasi agen dan keputusan, arena RL, digital twin, anatomi, molekul dan protein, copilot CAD/BIM, alat edukasi dan game
Blazor.AI.MediaPipe Computer vision real-time (MediaPipe.NET di ONNX Runtime): face mesh, absensi dan verifikasi wajah, tangan, gesture dan bahasa isyarat, pose dan pelatih olahraga, holistic dan motion capture, hapus latar, deteksi objek, klasifikasi, vision copilot, tampilan 3D, kesehatan, agritech, edukasi, industri dan analitik
Blazor.AI.Templates Template proyek dotnet new blazorai

Mulai cepat

dotnet new install Blazor.AI.Templates
dotnet new blazorai -n AplikasiAI --provider openai --agents true

Atau tambahkan ke aplikasi Blazor Web App yang sudah ada:

dotnet add package Blazor.AI.Components
// Program.cs
builder.Services.AddBlazorAI(builder.Configuration)       // provider dari bagian "BlazorAI"
    .AddSimulated()                                       // cadangan offline
    .AddOpenAI(builder.Configuration["OpenAI:Key"]!, "gpt-5-mini");
builder.Services.AddBlazorAIComponents();
<form>
    <input name="nama" /> <input name="email" /> <input name="perusahaan" />
    <SmartPaste />
</form>

<AiChat Title="Layanan pelanggan" SystemPrompt="Kamu membantu pelanggan Toko Nusantara. Jawab dalam Bahasa Indonesia." />

Simpan API key di user-secrets atau variabel lingkungan (BlazorAI__Providers__1__ApiKey), jangan di appsettings.json. Provider cloud tanpa key akan dilewati, dan model simulasi tetap tersedia.

Galeri

Aplikasi galeri menampilkan setiap komponen dengan pratinjau langsung dan contoh kode yang siap disalin.

dotnet run --project samples/Blazor.AI.Gallery    # http://localhost:5180

Computer vision

Blazor.AI.MediaPipe menjalankan MediaPipe Tasks secara native di .NET pada server: browser mengirim frame dari kamera, video, gambar atau stream HTTP lalu menggambar landmark, kotak dan mask yang dikembalikan. Foto contoh dibuat dengan Nano Banana 2, jadi setiap demo tetap jalan tanpa webcam.

Landmark wajah Pengenalan gesture
Landmark wajah dan blendshape Pengenalan gesture
Pelatih yoga Deteksi objek
Pelatih yoga Deteksi objek
Vision copilot Deteksi jatuh
Vision copilot berbasis deteksi Deteksi lansia jatuh

Dokumentasi

Build dan tes

dotnet build Blazor.AI.slnx
dotnet test tests/Blazor.AI.Tests

Butuh .NET 10 SDK. Lisensi MIT.


<p align="center">Made by <b>Gravicode Studios</b>, led by <b>Kang Fadhil</b> · <i>Dibuat oleh Gravicode Studios dipimpin oleh Kang Fadhil</i></p>

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Blazor.AI.Bio:

Package Downloads
Blazor.AI.ThreeD

AI-powered 3D components for Blazor on Three.js: talking avatars and tour guides, 3D charts, knowledge graphs and vector spaces, agent and decision visualisers, RL arenas, digital twins (factory, building, farm, aquaculture, city), anatomy, molecules and proteins, CAD/BIM copilots, education scenes and game tools (NPC studio, quest generator, world builder, dungeon master). Ships with rigged, animated glTF assets.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 0 10/21/2026
1.1.0 0 10/21/2026
1.0.0 28 10/21/2026