Install from your package registry, then connect to a runtime. For a guided tool-binding walkthrough, see Add a tool binding.
Package
pnpm add @phrony/sdk
Requires Node.js 18+.
Shell
$ pnpm add @phrony/sdkImport paths
@phrony/sdk and @phrony/sdk/worker
Use the main entry for Phrony, RuntimeClient, and Worker. Use the worker subpath when you only need WorkStream and worker types.
TypeScript
// Full SDK
import { Phrony, PhronyAgent, PhronyBundle, RuntimeClient, Worker } from "@phrony/sdk";
// Worker-only subpath (includes WorkStream)
import { Worker, WorkStream } from "@phrony/sdk/worker";