SDK

How to use the protocol — packages, sign-in, data APIs, delegation, and CLI.

SDK

How to use the protocol — packages, sign-in, data APIs, delegation, and CLI.

Concepts

  • Getting Started — Install, scaffold from tinyboilerplate, author a manifest, run + verify locally, deploy. The golden path to a working app.
  • Packages — sdk-core, sdk-services, node-sdk, web-sdk, sdk-rs (WASM), share-sdk, operations, mcp, vfs, and cli (SDK 3.0.0).
  • Sign-In Flow — session key → prepareSession (SIWE-ReCap) → wallet signs → completeSessionSetup → ensureSpaceExists.
  • Data APIs — Reading and writing data across the KV, SQL, and DuckDB services from the SDK.
  • Delegation API — delegateTo(did, PermissionEntry[]) and PortableDelegation for sharing capabilities.
  • Secrets Sharing — Sharing encrypted secrets between identities via the SDK; file sharing is under Sharing.
  • CLI — The tc command-line interface (1.0.0): sign-in including device login, data, secrets, and Share publishing.

Agents use the same operations through the MCP server and the agent skills.

The full developer track lives under Build an App.