OpenWorkerDeveloper
DocumentationHarness SDK

SDK reference

Use the public SDK interfaces to build your application.

The guides teach one task at a time. The package references describe method shapes, configuration and errors in more detail. Match them to your installed release; GitHub main may include changes newer than the published package.

InterfaceGuide and reference
Harness startup and shutdownDesktop tutorial · TypeScript reference · Rust reference
Providers and credentialsModels and keys
Agent definitions and tool callbacksTools and MCP
Session creation, follow-ups and recoverySessions
Structured messages and filesAttachments
Delegation and coordinated workSub-agents and teams
Streaming, cancellation and interruptionsStreaming and retries
Approvals and reviewAgent alignment
Recording and exportObservability
Remote service and managementService CLI · Deployment

Find the exact types

The npm package includes TypeScript declarations. Use your editor’s Go to Definition on Harness, Agent, Session or a configuration type to read the installed version. Generate Rust API documentation from your pinned checkout with:

cargo doc --manifest-path harness/Cargo.toml -p openworker-sdk --no-deps --open

For release pins and native runtime requirements, see versions and installation.

Search guides, examples and deployment instructions.