uSync.AI.Sync 17.0.0

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

uSync.AI.Sync

uSync handlers and serializers for Umbraco.AI. AI connections, guardrails, contexts, profiles and settings are written to the uSync folder when they are saved, and travel between servers with the rest of your uSync files.

Most sites want the uSync.AI package, which installs this plus prompt and agent sync.

What is synced

Item Folder Notes
Connections AI-Connections Secrets are never written, see below
Guardrails AI-Guardrails Including rules and their config
Contexts AI-Contexts Including resources and their settings
Profiles AI-Profiles Needs its connection on the target first
Settings AI-Settings Default profiles and the disclosure notice

Items keep the same Id on every server, so anything that refers to a context, guardrail or profile by Id (prompts, agents, content) still resolves after a sync. References are also recorded by alias, so a file still imports onto a server where the item was created by hand.

Connection secrets

By default a connection's API key is not written to disk. Any setting the provider marks as sensitive is left out of the file, and its name is listed under <Ignored>:

<Settings><![CDATA[{
  "endpoint": "https://api.openai.com/v1"
}]]></Settings>
<Ignored>
  <Setting>apiKey</Setting>
</Ignored>

On import, an ignored setting keeps whatever value the target server already has. A new connection arrives without its key: enter it once on that server and later syncs leave it alone.

To sync the key as well, store it in configuration and reference it. A value starting with $ names where the secret lives, so it is written as is:

{ "apiKey": "$Umbraco:AI:Secrets:OpenAIApiKey" }

Options

{
  "uSync": {
    "AI": {
      "Connections": {
        "IgnoreEncrypted": true,
        "IgnoreSecretValues": true,
        "IgnoreSensitive": false,
        "IgnoreSettings": []
      }
    }
  }
}
  • IgnoreEncrypted (default true): leave out values that are already encrypted (ENC:...). Only the server that encrypted them can read them.
  • IgnoreSecretValues (default true): leave out the value of sensitive settings, unless it is a $ configuration reference. Turn this off to sync API keys: they are written to disk in plain text, so only do it where the uSync files are kept somewhere private. Encrypted values are still left out unless IgnoreEncrypted is off too.
  • IgnoreSensitive (default false): leave out sensitive settings entirely, $ references included.
  • IgnoreSettings: names of settings that are always left out.
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 (4)

Showing the top 4 NuGet packages that depend on uSync.AI.Sync:

Package Downloads
uSync.AI.Prompt

uSync handlers and serializers for Umbraco.AI.Prompt prompts.

uSync.AI.Complete

Push and pull Umbraco.AI settings, prompts and agents between servers with uSync.Complete, and Umbraco.AI agent tools that drive the uSync.Complete publisher.

uSync.AI.Agent

uSync handlers and serializers for Umbraco.AI.Agent agents.

uSync.AI

uSync for Umbraco.AI. Installs settings, prompt and agent sync plus the uSync agent tools.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.0.0 55 10/8/2026