Managed capability SDK
SDK1.0.1 provides Python and TypeScript application frameworks, typed clients, all four I/O modes, declared credential reads, readiness/settings/surfaces, invocation-scoped discovery and durable inference jobs. Public MIT packages and author tools0.2.0 are available through Get SDK.
Start with the SDK1 package quickstart
and native author guide. Native applications
use CapabilityApp and the shared compiled contracts. Read the
composition guide for original-caller
permissions, authorized reads and inert proposals; preparing a proposal does not
approve or execute it. SDK package access is account-free. Host/runtime
installation and provider access have separate authorization requirements.
The retained Python APIs below support existing governed applications. Their protocol-four/runtime-two contract remains supported by SDK1; it is distinct from the native managed/2 application contract. The source-pinned SDK1 cohort records this boundary and the Integrator preview retains its older shipped inputs.
Choose the right path
| Need | Contract |
|---|---|
| A provider inside Skulk™, including streaming | skulk.extensions |
| A managed process with isolated dependencies and its own settings | This SDK, paired with a compatible managed host |
| A whole application with a discoverable UI | Managed capability plus declared application surfaces |
Retained governed Python providers support unary, server streaming, client streaming, and bidirectional calls with one active invocation per child. Their streaming requires protocol 4 and a compatible Skulk™ reader. See managed streaming for lifecycle, media and cancellation.
Start with your first managed child for descriptors, startup, authentication, health and invocation.
Retained governed module map
| Module | Responsibility | Guide |
|---|---|---|
contracts | Descriptors, manifests, startup and invocation vocabulary | Contracts |
wire | Bounded asynchronous local IPC framing | Wire |
storage | Owner-only files, identities and locks | Storage |
operations | Durable jobs beyond the unary invocation budget | Operations |
database | Explicit SQLite transaction and reconciliation ownership | Database |
streams | Duplex lifecycle, raw media and child stream execution | Streaming |
credentials | Declared protected credential access, separate from caller authority | Credentials |
serving | Bind addresses, advertised UI URLs and caller admission | Serving |
What your capability owns
Implement your operation, validate provider inputs, report readiness, and expose actionable failures. Declare the operations, settings and credentials your application needs. If you create external jobs or resources, implement their cancellation and reconciliation.
The managed host supplies startup, supervision, generic management, settings storage, and installation identity. Use the startup record it supplies rather than inventing a new identity whenever the child restarts.
Compatibility
The governed Python interface uses protocol 4 and accepts protocols 3 and 4. Protocol 3 unary children retain their startup shape; protocol 2 requires rebuilding. Protocol 4 adds independently authenticated media connections so slow consumers cannot block health. The window contains the current and previous protocol. An unsupported version is refused explicitly.
A protocol match alone does not establish runtime compatibility. Pin the SDK version, a supported Skulk™ release, and the managed-host artifact together. Python requires 3.13 or later in the current package metadata. That minimum does not establish that a qualified wheel exists for your interpreter and platform.
From development to an installable plugin
Define the manifest, implement the child contract, check readiness, then qualify packaging and signed installation. Manifest and configuration, permissions, signed catalogs, and cleanup describe the host-facing boundaries. The eight module references expose names, types and documented behavior without publishing implementation bodies.