SDK & desktop app
Hand the packages installed by the CLI to the SDK and Qnbot Studio while keeping one package ID.
SDK & desktop app
The CLI algorithm commands download and install packages; its device commands provide independent diagnostics. The SDK and the desktop app select packages through the same package ID, and the version never belongs in SDK configuration.
SDK: configure the package ID only
Use the native package_id from the JSON returned by qnbot --json algorithm list into the target algorithms:
from qnbot_sdk import TargetAlgorithm, TargetConfig
target_config = TargetConfig(
algorithms=(TargetAlgorithm("<package-id>"),),
)The human table may show the Studio display name. Use the native JSON ID for SDK configuration; an online App ID or display name can differ from that ID.
An already created Sdk does not hot-reload the package list, so recreate the Sdk after installing, upgrading, downgrading, or uninstalling.
See the Python SDK configuration reference for every field, or the C++ SDK configuration reference for the C++ equivalent.
Desktop app: package delivery and updates
Qnbot Studio downloads, checks, and updates algorithm packages in its own interface. For offline delivery, obtain ZIPs through CLI batch downloads, the desktop app, or the delivery channel, then install them through the CLI, so the desktop app and the SDK use the same installed algorithm package.
After updating a package, restart the desktop app or recreate the corresponding SDK instance so the new version is loaded. See the Qnbot Studio desktop documentation.
After upgrading, confirm that packages are in the ready state. For incompatible older packages, follow Upgrade & compatibility to update or reinstall them.