Skip to content

Transport glossary ​

Status: Current — these terms describe the shipped session transport. They cover the wire/session layer only; page-model terms live in the Dashboard glossary.

TermDefinitionWhat it is not
Session runtimeThe shared transport foundation all sessions run on: tcp/tls + framing + mux + reconnect + heartbeat + drainA message history store, a queue, or a per-call connection
SubprotocolAn application-layer protocol variant running on top of the session runtime; differs in handshake message, registration content, and routing semantics"Custom configuration", a plugin system, or a separate transport
sdk-agent subprotocolThe SDK → sidecar session (local TCP listener on port 19091) used for function registration and invocationA direct SDK → Server connection; the SDK never listens on a local port
agent-server subprotocolThe agent → server control session (outbound dial to port 19090) carrying registration, health, tasks, and forwarded requestsAn inbound server→agent connection; agents always dial out
FrameThe wire unit on a session: 4-byte frame length prefix, 8-byte header, protobuf body; maximum 32 MiB per frameA whole request (a request may span multiple frames, e.g. streams) or an HTTP payload
HandshakeThe first frame of a session; negotiates identity and capabilities (for providers it carries ProviderConnectRequest)An HTTP upgrade, a TLS-only step, or optional — every session starts with one
reqID multiplexingCorrelating concurrent in-flight requests on one connection by request id, in both directionsOne-connection-per-request, head-of-line-free ordering, or HTTP/2 streams
DrainGraceful session shutdown: stop accepting new work, let in-flight work finish, then closeAn abort, a hard cancel, or a config reload
L1 Core ProviderThe minimal provider surface every SDK must implement: construct / register / session / service loop / stopAn optional add-on or a server-side feature
L2 Provider extensionsOptional provider capabilities: JSON Schema, drain, control-plane manifest, TLS, file transferRequired for L1 compliance; caller-side features
L3 InvokerCaller-side capability (invoking registered functions), shipped as an independent moduleA provider-side requirement; not needed to be invoked
L4 language extensionsLanguage/engine-specific add-ons (DI, Unity, Lua, Spring Boot starter, Skynet)Part of the wire protocol; guaranteed on every SDK

Where to read more ​