SmartPipe.Memory 0.2.0

dotnet add package SmartPipe.Memory --version 0.2.0
                    
NuGet\Install-Package SmartPipe.Memory -Version 0.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="SmartPipe.Memory" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SmartPipe.Memory" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="SmartPipe.Memory" />
                    
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 SmartPipe.Memory --version 0.2.0
                    
#r "nuget: SmartPipe.Memory, 0.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 SmartPipe.Memory@0.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=SmartPipe.Memory&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=SmartPipe.Memory&version=0.2.0
                    
Install as a Cake Tool

SmartPipe.Memory

Embedded graph memory layer for the SmartPipe ecosystem.

CI NuGet License: MIT .NET 10

Overview

SmartPipe.Memory is an embedded graph memory layer with predictive analytics, designed for ETL pipelines and AI agents. It provides a type-safe Fluent API for graph queries, in-memory traversal engine, and SQLite-backed persistence.

Packages

Package Description Version
SmartPipe.Memory Core graph engine v0.2.0
SmartPipe.Memory.Extensions Integration with SmartPipe.Core v0.2.0
SmartPipe.Memory.Health Predictive analytics & health monitoring v0.2.0

Installation

dotnet add package SmartPipe.Memory
dotnet add package SmartPipe.Memory.Extensions
dotnet add package SmartPipe.Memory.Health

Quick Start

var store = StoreFactory.CreateInMemory();

await store.UpsertNodeAsync(new Node { Id = "f1", Type = "File", Label = "doc.pdf" });
await store.UpsertNodeAsync(new Node { Id = "f2", Type = "File", Label = "copy.pdf" });
await store.UpsertEdgeAsync(new Edge { FromNodeId = "f1", ToNodeId = "f2", Type = EdgeType.DuplicateOf });

var query = MemoryQueryBuilder.Create(store, new NodeCache());

await foreach (var r in query.ShortestPath("f1", "f2", "DuplicateOf").ExecuteAsync())
    Console.WriteLine(string.Join(" -> ", r.Path));

Key Features

  • Type-safe Fluent API — no text-based query language
  • In-memory traversal engine (BFS, Dijkstra, Leiden clustering)
  • Graph connectivity analysis — topological sort, cycle detection, SCC, WCC
  • Predictive analytics — HealthVector, BottleneckPredictor, MemoryDecayPolicy
  • Time-travel queries — AsOf and Between with full bitemporal support
  • AND/OR composable filters with WhereNode, MinWeight, MinConfidence
  • Centrality algorithms — PageRank, BetweennessCentrality, DegreeCentrality
  • Graph reordering for cache locality
  • Auto-classification of nodes and edges
  • Immutable CSR/CSC snapshots — lock-free read-heavy graph algorithms
  • COW (Copy-on-Write) edge arrays for thread-safe graph mutations
  • Enhanced observability — CSR build/traversal metrics, PageRank convergence tracing
  • Property-based tests (FsCheck) and concurrent stress tests
  • SQLite consistency guarantees — atomic transactions, restart parity
  • SQLite WAL persistence with automatic recovery and checkpointing
  • False sharing prevention in metrics
  • OpenTelemetry metrics and tracing — ActivitySource, Meter, EventCounters
  • Dependency injection — AddSmartPipeMemory() / AddSmartPipeMemorySqlite()
  • Zero external servers — embedded in-process library
  • FastBitArray and array-based BFS queue — significant memory and performance improvements for graph traversals
  • CSR-based traversal and pathfinding — ~5x faster BFS than dictionary-based approach
  • 227 tests, 0 failures — 83.5% line coverage

Documentation

Document Description
Features Complete feature reference
Getting Started Quick start guide
API Reference All public types and methods
Query Reference Fluent API usage guide
Architecture Design decisions
Changelog Version history

Dependencies

  • SmartPipe.Core >= 1.0.6
  • Microsoft.Data.Sqlite >= 9.0.0

License

MIT

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 (2)

Showing the top 2 NuGet packages that depend on SmartPipe.Memory:

Package Downloads
SmartPipe.Memory.Health

Predictive analytics and health monitoring for SmartPipe.Memory graph stores. HealthVector, BottleneckPredictor, InsightGenerator, CognitiveConsolidation, MemoryDecayPolicy, and background monitoring agents.

SmartPipe.Memory.Extensions

Integration library connecting SmartPipe.Memory with SmartPipe.Core ETL pipelines. Provides UseMemory(), AsGraphSource(), ToGraphSink(), TransformToEdges() and automatic pipeline topology registration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 30 5/23/2026
0.1.3 100 5/17/2026
0.1.2 113 5/11/2026
0.1.1 109 5/11/2026