Joust 1.0.0

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

Joust

An idiomatic, high-performance .NET client and LINQ provider for LanceDB.

Joust lets you work with LanceDB using plain C# classes, attributes, and compile-checked LINQ queries instead of raw Apache Arrow buffers and string filters.

CI NuGet

What you get: POCO models with [Vector] attributes, compile-checked LINQ filters and vector search, full-text and hybrid (RRF) search, a Microsoft.Extensions.VectorData / Semantic Kernel connector, an AOT-friendly source-generated mapper, and bundled native binaries (no Rust toolchain required to consume). The backend — in-memory, embedded LanceDB, object storage, or a remote cluster — is selected by the connection string.

Install

dotnet add package Joust
# optional AI-framework connector (also pulls Microsoft.Extensions.VectorData)
dotnet add package Joust.VectorData

Quick start

using Joust;

public sealed class DocumentModel
{
    [Key] public Guid Id { get; set; }
    [Column("body")] public string Text { get; set; } = "";
    [LanceIndex(IndexType.Scalar)] public string Category { get; set; } = "";
    [Vector(Dimensions = 1536, Metric = DistanceMetric.Cosine)] public float[] Embedding { get; set; } = [];
}

// Backend chosen by the connection string (ADR-7). Here: the in-memory backend.
await using var ctx = await LanceDbContext.ConnectAsync("memory://app",
    new LanceConnectOptions { UseInMemoryEngine = true });

var table = await ctx.CreateTableAsync<DocumentModel>("documents");
await table.AddAsync(documents);

// Compile-checked filter + nearest-neighbour vector search.
var hits = await table
    .Where(d => d.Category == "Tools")
    .OrderBy(d => d.Embedding.CosineDistance(queryVector))
    .Take(5)
    .ToListAsync();

The same code runs against the embedded engine ("/data/app.lance", "s3://…") or a distributed cluster ("db://…") once the native backend is wired — only the connection string changes.

Build & test

Requires the .NET SDK 10.0.300 (pinned in global.json); the libraries multi-target net8.0, net9.0, and net10.0.

dotnet build
dotnet test

Project layout

Project Purpose
src/Joust Core: attributes, schema compiler, LINQ engine, native abstraction, in-memory backend.
src/Joust.SemanticKernel Semantic Kernel adapter (skeleton).
src/Joust.VectorData Microsoft.Extensions.VectorData adapter (skeleton).
tests/Joust.Tests xUnit tests: translator, schema, naming, end-to-end.

What works today

  • POCO → schema compilation from [Key], [Vector], [LanceIndex], [Column].
  • LINQ filter translation (Where) with compile-safe property references; unsupported expressions fail loudly instead of silently scanning.
  • Nearest-neighbour vector search via OrderBy(x => x.Embedding.CosineDistance(q)).
  • Full CRUD, counting, and streaming against the in-memory backend.

Roadmap

  1. P/Invoke NativeEngine over the LanceDB Rust FFI + RID-based native packaging.
  2. Source-generated POCO mapper (replace reflection on the hot path).
  3. Complete Semantic Kernel and VectorData adapter implementations.
  4. Full-text and hybrid search; index management surface.

License

Apache-2.0. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 Joust:

Package Downloads
Joust.VectorData

Microsoft.Extensions.VectorData (and Semantic Kernel) connector for Joust / LanceDB.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 275 6/10/2026