Skip to content
These docs cover Strata 0.9.0.

API reference

The API reference for Strata is generated from the doc comments in the code. This site doesn’t repeat it by hand, so it can’t drift from the code. This page tells you where each generated reference lives.

docs.rs builds the rustdoc reference for every published crate. The links below are pinned to 0.9.0, the version these docs cover.

Crate What it holds Reference
datalium-strata The engine: state graphs, validation, streaming, interrupts, stores, tools and the prelude docs.rs
datalium-strata-memory In-memory, SQLite, Postgres and Redis stores, and long-term memory stores docs.rs
datalium-strata-ai Chat clients, model nodes, agents, embeddings and model routes docs.rs
datalium-strata-host Driver loops, settings and a store health probe for running Strata in a service docs.rs
datalium-strata-cloud The Strata Cloud checkpoint store, decisions client and decision worker, for the Strata Cloud private beta docs.rs
datalium-strata-macros The #[strata_tool] attribute and #[derive(StrataSchema)] docs.rs

You don’t depend on datalium-strata-macros directly. datalium-strata re-exports both macros from datalium_strata::prelude, so you’ll also find them on the prelude page.

You can also build the same reference locally with cargo doc --open in your own project. It covers the exact versions in your Cargo.lock.

This site generates the .NET reference with docfx, from the source at the release these docs cover, every time it is built. Each type and member links to its source on GitHub.

Package What it holds Reference NuGet
Datalium.Strata The engine, with the [StrataTool] source generator API nuget.org
Datalium.Strata.Storage In-memory, SQLite, Postgres and Redis stores, with leases, retries and retention API nuget.org
Datalium.Strata.AI Model calls and agents over Microsoft.Extensions.AI’s IChatClient API nuget.org
Datalium.Strata.Hosting services.AddStrata(), settings from configuration, driver hosted services, health checks and OpenTelemetry wiring API nuget.org
Datalium.Strata.Cloud The Strata Cloud checkpoint store, decisions client and decision worker, for the Strata Cloud private beta API nuget.org

The full .NET reference has a search box and lists every namespace.

The same doc comments ship inside the packages. Each NuGet package includes the XML documentation file for its assembly, such as Datalium.Strata.xml next to Datalium.Strata.dll. Your IDE reads it, so IntelliSense, Quick Info and the metadata view behind “Go to definition” show the doc comments. The packages also publish symbols with Source Link, so your debugger can step into the Strata source.

Some parts of Strata aren’t types and members, so they have their own pages:

  • Configuration: every setting, for .NET (the Strata configuration section) and Rust (datalium-strata-host).
  • Wire format: the JSON schemas both engines use for checkpoints, and which versions read which formats.
  • CLI: the strata commands, options and exit codes.

The source is on GitHub at datalium/strata. The .NET packages are in dotnet/src and the Rust crates are in rust.

The design folder explains the reasoning behind each feature. When a design doc and the code disagree, read the design doc’s “Implementation Status” section: it says what is built. The code is always the final word.