Sharc.Graph 1.2.80

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

Sharc.Graph

Graph reasoning and trust layer for the Sharc database engine.

High-performance graph storage and cryptographic trust for AI context space engineering, overlaid on standard SQLite files.

Features

  • 31x Faster Traversal: 2-hop BFS in 2.6 us vs SQLite's 82 us via zero-alloc cursor BFS.
  • O(log N) Seeks: B-tree backed node and edge stores with SeekFirst cursors.
  • Trust Ledger: Hash-chained, ECDSA-signed audit trails for data provenance.
  • Agent Identity: Cryptographic registry for attributing every mutation to a specific agent.
  • Token Efficiency: Precise, context-rich subgraphs for LLMs — reduce token waste by 62-133x.

Quick Start

using Sharc;
using Sharc.Graph;

using var db = SharcDatabase.Open("context.db");
var graph = SharcContextGraph.Create(db);

// Traverse relationships
var result = graph.Traverse(nodeKey, new TraversalPolicy
{
    MaxDepth = 2,
    Direction = TraversalDirection.Both
});

foreach (var node in result.Nodes)
    Console.WriteLine($"Found: {node.Record.Key}");

// Verify ledger integrity
bool trusted = graph.Ledger.VerifyIntegrity();

Full Documentation | Live Arena

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.80 51 2/27/2026
1.2.77 56 2/26/2026
1.2.65 54 2/26/2026
1.2.59 68 2/25/2026
1.1.2-beta 58 2/24/2026
1.0.0.1-alpha 63 2/18/2026
1.0.0-alpha.1 41 2/16/2026