Skip to main content
Crosslink is a monorepo of small packages. Most applications need exactly one or two of them; the rest are layers those two are built on.

Packages you import

@crosslink/sdk-browser also ships testing tools, notably MockSocket — an in-memory WsLike pair that drives a real host pairing manager and acceptor with no network at all. See Testing.

Packages the SDKs are built on

You rarely import these, but reading them is how you answer “what does it actually do”: Import @crosslink/core directly only when you are building a transport, or embedding Crosslink in a runtime that cannot use the sdk-node listener. composeCrosslinkHost(config) (from sdk-node) is the halfway point: it builds the identity, pairing manager, grant store and capability registry and hands them back for you to attach to your own server, without starting one.

Adapters

Services you can host

Neither is required for same-network use, and neither is required at all if you use remote mode. Running your own is covered in Self-Hosting.

Apps and examples in the repo

The protocol baselines under sdks/swift, sdks/kotlin, and sdks/rust are tested against the same canonical JSON/framing behavior. See Native protocol SDKs. Run any of them from the repo root, or use the workspace scripts directly:
The root demo:* scripts are convenience aliases around these workspace entrypoints. The complete list of repo workflows is in Local Development.