Requirements
Speckle.Sdk targets three frameworks, so it runs in both modern and legacy host apps:Speckle.Sdk works on Windows, macOS, and Linux.
Install with the .NET CLI
Install a 2026.9 build of Speckle.Sdk:2026.9.0-beta.7 is a prerelease; a plain
dotnet add package Speckle.Sdk installs 2026.8, which
has no Receive3. A later stable 2026.9.0 replaces the pin without changing the calls.Geometry types
Geometry types such asPoint, Line, Mesh, and Brep ship in Speckle.Sdk. You do not need a second package, and the namespaces stay Speckle.Objects.*.
Projects on Speckle.Sdk 2026.8 or earlier also reference
Speckle.Objects. Update every Speckle
package to the same 2026.9 version, then remove the Speckle.Objects reference. See Update
packages.Register the SDK (one-time bootstrap)
Speckle.Sdk usesMicrosoft.Extensions.DependencyInjection internally. Script authors: use the canonical bootstrap in Automate with scripts — do not duplicate it here. Connector authors: register on your app’s IServiceCollection:
Example
Built-in geometry types register automatically. Pass an assembly to
AddSpeckleSdk only when you
register your own Base types.Verify installation
Confirm the package resolves and the SDK registers correctly:Example
Dependencies
Speckle.Sdk brings in these dependencies automatically:You don’t need to install these manually — NuGet handles them automatically.
Speckle.Sdk.Dependencies and Speckle.Sdk.Parquet bundle additional transitive dependencies and
should not be referenced directly.FAQ
Why does my build fail with SPKSDK001 or SPKSDK002?
Why does my build fail with SPKSDK001 or SPKSDK002?
Your project still references a
Speckle.Objects package that does not match Speckle.Sdk.
Update every Speckle package to the same version, then remove the Speckle.Objects reference.
Its types are part of Speckle.Sdk.Do I need to understand dependency injection to install the SDK?
Do I need to understand dependency injection to install the SDK?
No. You paste a short
AddSpeckleSdk block once — see Automate with
scripts. Read Dependency
injection (connectors) only if you are
building a connector or sharing a container with a host app.Which target framework should I use?
Which target framework should I use?
Match your host app. Use
netstandard2.0 for older hosts such as Revit on .NET Framework 4.8.
Use net8.0 or net10.0 for new standalone apps and services.Next Steps
Build your first model analysis tool
End-to-end CSV report from a live model
Automate with scripts
Canonical bootstrap and
Receive3Authentication
Connect with a personal access token