Quickstart · RSX 0.1.0
Build your first RSX canister
Start with a canister that saves scores in private module memory. Build it, call it through its generated Wire client, and check that its scores survive an upgrade.
Use the tools bundle that matches the app’s cdk-rsx version. It includes the pinned compiler setup, canonical Wasm builder, examples, and skills. Release notes and checksums
From download to a local canister
Set up the tools
Install Rustup, a native build toolchain, Python 3.11 or newer, and Node.js 24 or newer. Verify and extract the archive.
Build the scores example
Set
sdkto the extracted folder’s absolute path. The builder writes prepared Wasm, a Wire schema, and generated client files.Try the generated client
On Linux x86-64, run the bundled PocketIC check. It installs the canister, checks retained scores after KEEP, and writes new scores.
Run the local check
Show the build commands
sdk=/absolute/path/to/cdk-rsx-VERSION
example=quickstart
run=$(mktemp -d)
cp -R "$sdk/examples/$example" "$run/app"
cd "$run/app"
bash "$sdk/tools/wasm-retain/setup.sh"
export CARGO_HOME="$run/cargo-home" CARGO_TARGET_DIR="$run/target" TMPDIR="$run/tmp"
source "$sdk/tools/env.sh"
cargo generate-lockfile
cargo fetch --locked
cargo fetch --manifest-path "$sdk/Cargo.toml" --locked
cargo fetch --locked --target wasm64-unknown-unknown -Zbuild-std=std,panic_abort
python3 "$sdk/tools/build-app.py" \
--manifest-path "$PWD/Cargo.toml" --out-dir "$run/artifacts" \
--name "$example" --offline --locked >"$run/build.log" 2>&1Watch the scores lessonBuild from a checkoutDeploy with ICP CLI
Give your coding agent the RSX skills
Start with the skill for the task you want the agent to do. Each skill ships with the release and points to the guides and checks for that task.
Install in your app
In the app directory, set sdk to the extracted SDK folder. This GitHub CLI command installs the creation skill for Codex in the current project.
gh skill install "$sdk/crates/cdk-rsx/skills" cdk-rsx-app-create \
--from-local --agent codex --scope projectFor a manual install, copy the selected skill folder into .agents/skills/ for Codex or .claude/skills/ for Claude Code. Open a session in the app to use it.
Create an app
cdk-rsx-app-createStart a canister and prove a feature through its generated client.
Build Wasm and clients
cdk-rsx-app-buildPrepare deployable Wasm and generate the matching Wire client.
Test locally
cdk-rsx-app-testUse PocketIC to exercise the prepared Wasm through the generated client.
Deploy with ICP CLI
cdk-rsx-app-deployReview and carry out a canister install or upgrade.
Plan an app change
cdk-rsx-app-evolutionDecide which releases to support and rehearse the affected upgrade paths.
Evolve a workflow
cdk-rsx-takt-evolutionChange a definition while preserving the executions you still support.
Evolve recorded history
cdk-rsx-rechain-evolutionAdd new actions or fields and check them against supported readers.
Profile execution
cdk-rsx-profileTrace and compare instruction and memory costs on a local workload.
Find the crates for your app
Use the cdk-rsx facade and add the packages your app needs for storage, tables, delivery, workflows, or history. The crate map links each package to its API guide.