AI ToolsAug 20, 2026, 8:27 AM

BlazorMemory 1.0 launches with local AI memory for .NET apps

TickrWire Editorial Desk·Aug 20, 2026, 8:27 AM·4 min read AI-assisted, human-reviewed

Reported by Dev.to — AI: BlazorMemory 1.0 is out. Ten months, 14 packages, and what I got wrong along the way.. Analysis and context written by TickrWire.

30-second summary

BlazorMemory 1.0 introduces a .NET library for AI chat assistants that remember context in Blazor WASM apps, offering local storage and multiple AI provider integrations.

TickrWire
BlazorMemory 1.0 launches with local AI memory for .NET apps
Key takeaways
  • BlazorMemory 1.0 enables AI chat assistants in Blazor WASM to remember context without requiring a server or vector database.
  • The library supports four storage backends: IndexedDB (client-side), EF Core (SQL Server/SQLite), pgvector (PostgreSQL), and InMemory (testing).
  • Four AI providers are integrated: OpenAI, Anthropic, Azure OpenAI, and Ollama, with Ollama enabling fully local, cost-free operation.
  • BlazorMemory includes a drop-in UI component with memory management features and a force-directed graph visualization.
  • The project underwent three storage interface revisions and implemented a consolidation prompt to reduce memory redundancy.
Full story

A year after starting the project in January, developer Aftab Khan has released BlazorMemory 1.0, a .NET library designed to give AI chat assistants in Blazor WebAssembly (WASM) applications the ability to remember context without relying on external servers or vector databases. Khan began the project after discovering that existing solutions were primarily built for Python environments and assumed the presence of a server infrastructure, which Blazor WASM applications lack due to their client-side execution model.

The 1.0 release includes four storage backends to accommodate different deployment scenarios. IndexedDB enables pure client-side storage with no backend required, making it ideal for standalone Blazor WASM applications. For server-backed applications, the library supports EF Core for SQL Server and SQLite, and pgvector for PostgreSQL with native vector search capabilities using HNSW indexing. An InMemory backend is included for testing purposes, ensuring developers can prototype without additional dependencies.

BlazorMemory also integrates with four AI providers for embeddings and fact extraction: OpenAI, Anthropic, Azure OpenAI, and Ollama. These providers can be mixed and matched, allowing developers to use Ollama for embeddings while leveraging Anthropic for fact extraction, for example. The Ollama integration stands out for its ability to operate entirely locally, eliminating the need for API keys or per-request costs. This makes it particularly attractive for development and prototyping, as it removes the last barrier to experimenting with memory-enabled AI assistants in Blazor.

The library ships with a drop-in UI component that provides a prebuilt interface for managing memories. The component includes features such as viewing stored memories, deleting or clearing memories, exporting and importing memory data, and providing feedback via thumbs up or down buttons. Additionally, a mode toggle allows users to switch between different operational states. The UI is implemented in vanilla JavaScript with a force-directed graph visualization for memories, where nodes represent individual memories and edges connect memories based on cosine similarity thresholds.

BlazorMemory also integrates with Semantic Kernel, a Microsoft framework for building AI agents. By implementing Semantic Kernel's IMemoryStore interface, BlazorMemory can be dropped into existing Semantic Kernel applications without requiring any additional changes to the codebase. This compatibility broadens the library's appeal to developers already invested in the Semantic Kernel ecosystem.

One of the project's most notable features is its support for multi-agent shared memory. Multiple AI agents can share a single memory pool, with each agent writing to its own namespace while reading across all namespaces. This enables agents to learn from each other's experiences, fostering collaborative behavior within applications. The implementation required careful design to avoid redundancy and ensure efficient memory consolidation.

The development process was not without challenges, particularly around the library's storage interface, which underwent three major revisions. Early iterations used positional parameters, which led to breaking changes whenever new features like namespaces or importance scores were added. Khan noted that adopting an options object pattern from the start would have made these changes additive rather than disruptive. Consolidation of memories also proved more complex than initially anticipated, as early versions frequently stored near-duplicate entries such as "User works in software," "User is a developer," and "User writes code."

To address this, Khan implemented a priority order in the consolidation prompt, instructing the model to first consider not adding a new memory, then updating existing ones, deleting irrelevant entries, and finally adding new memories only if justified. This single change significantly improved memory quality and reduced redundancy. Another hurdle involved parsing JSON responses from local models, which often included markdown fences or extraneous commentary. The solution involved stripping code fences, locating the first bracket, and retrying with a stricter prompt if parsing failed.

Khan emphasized the importance of shipping small, frequent releases. Despite the library consisting of 14 packages, each release was deliberately incremental, with features like namespaces, export/import functionality, and feedback mechanisms added in separate versions. This approach not only made development manageable but also generated consistent engagement, as downloads spiked following blog posts rather than standalone releases. The project is now MIT licensed, includes 132 tests, and is ready for production use.

For developers building AI-powered applications in Blazor, BlazorMemory 1.0 offers a compelling solution for adding memory capabilities without the overhead of server infrastructure. Its integration with multiple AI providers, support for local operation, and compatibility with Semantic Kernel make it a versatile tool for both prototyping and production environments. The library's focus on reducing redundancy and improving memory quality through iterative refinement demonstrates the importance of addressing real-world usage challenges in AI development.

Why this matters
Developers

Provides a .NET-native solution for adding memory to AI chat assistants in Blazor WASM without external dependencies.

Businesses

Enables cost-effective, serverless AI memory for client-side applications, reducing infrastructure overhead.

Students

Demonstrates practical AI integration challenges and solutions in a real-world .NET project.

Glossary
Blazor WASM
A framework for building interactive web UIs using C# that runs entirely in the browser via WebAssembly.
Vector database
A database optimized for storing and querying vector embeddings, often used in AI applications for semantic search.
HNSW index
Hierarchical Navigable Small World, an algorithm for efficient approximate nearest neighbor search in high-dimensional spaces.
Semantic Kernel
An open-source framework from Microsoft for integrating AI services into applications.

AI bias estimate: The source focuses heavily on the developer's personal journey and lessons learned, which may overshadow broader industry context or competitive analysis. (Automated estimate, not a definitive judgement.)

Sources · 1
Read next
More stories
I Ran 157 Agent Plans Against a Real LLM. The Problem Wasn't Execution. It Was Planning.AI Research

I Ran 157 Agent Plans Against a Real LLM. The Problem Wasn't Execution. It Was Planning.

A developer testing 157 agent plans across 35 domains found that autonomous systems frequently fail because of flawed planning and ordering rather than execution issues, leading to the creation of an open-source peer review framework.

TickrWire

Inject, Align, Recover: Staged Post-Training for Retrieval-Free Document Knowledge Internalization

Researchers introduced IAR, a three‑stage post‑training method that injects document knowledge into language models, aligns question‑answering behavior, and recovers general abilities without retrieval at inference time.

A benchmark is only as good as the model you use to grade itAI Tools

A benchmark is only as good as the model you use to grade it

A developer’s experiment shows how using a weak model to grade others can distort benchmark results, leading to misleading rankings and overlooked errors.

Meta AI’s new Mac app wants you to talk to your appsAI Tools

Meta AI’s new Mac app wants you to talk to your apps

Meta released a new Mac application that lets users control apps and dictate text using voice commands powered by its Muse Spark AI model.

TickrWire
Security

New White House strategy clarifies military tech priorities: undersea, outer space and AI - Breaking Defense

The White House released a new strategy prioritizing military investments in artificial intelligence, space systems and undersea technologies to counter emerging threats.

TickrWire
Security

AI in an iron grip: How dictatorships use artificial intelligence to strengthen their rule - theins.press

A new report examines how authoritarian governments deploy AI for surveillance, censorship, and propaganda to reinforce their power.