---
title: "Transport — NATS for wasmCloud Hosts | wasmCloud"
description: "NATS connective technology provides the distributed transport between wasmCloud hosts and the operator for control-plane and lattice communication."
canonical: "https://wasmcloud.com/docs/overview/transport/"
---

Version: v2

# Transport

### NATS provides transport between hosts and the operator.

In wasmCloud, transport between hosts and the operator is handled by [**NATS**](https://nats.io/), an open source connective technology hosted by the Cloud Native Computing Foundation (CNCF). NATS enables secure application-layer networking across diverse environments including edge, different vendors' clouds, and on-premise datacenters.

NATS is designed to provide seamless connectivity tailored specifically to distributed systems, avoiding the complexities and limitations of 1:1 communication frameworks like HTTP or gRPC in distributed use cases.

**Note**: Calls between [services](https://wasmcloud.com/docs/overview/workloads/services/) and [components](https://wasmcloud.com/docs/overview/workloads/components/) **do not** use NATS. See [Workloads](https://wasmcloud.com/docs/overview/workloads/) for more information.

## Essential NATS concepts

NATS conceptualizes communications as **messages**. Applications send and receive messages identified by **subject** strings. In addition to the subject, messages contain a byte array payload and any number of header fields.

> **Topics and subjects**
>
> What is called a **"subject"** in NATS is often called a **"topic"** in messaging systems more generally, including Apache Kafka, Google Cloud Pub/Sub, and Confluent, as well as the [`wasi-messaging` proposal](https://github.com/WebAssembly/wasi-messaging). In this documentation, we use "subject" in NATS-specific contexts, but you can think of "topic" and "subject" as essentially interchangeable.

An entity that sends a message is a **publisher**. When a publisher sends a message, it may be received by one or more **subscribers**. This one-to-many communication pattern is called the [**publish-subscribe**](https://docs.nats.io/nats-concepts/core-nats/pubsub) model.

NATS supports a **[request-reply](https://docs.nats.io/nats-concepts/core-nats/reqreply)** pattern built on the publish-subscribe model. A publisher may send a "reply" message (the "request") on a given subject. Entities subscribed to the subject may send replies which are automatically directed back to the original request publisher.

In addition to the core publish-subscribe functionality, NATS provides **streaming** and **key-value storage** through its distributed persistence system called **[JetStream](https://docs.nats.io/nats-concepts/jetstream)**:

- **[Streams](https://docs.nats.io/nats-concepts/jetstream/streams)** are stores for messages on a given subject.
- **[Buckets](https://docs.nats.io/nats-concepts/jetstream/key-value-store)** are immediately consistent key-value stores using strings as keys and byte arrays as values (used in wasmCloud for tasks such as storing application manifests).

## Using the NATS CLI

You can interact directly with NATS using the NATS CLI. While it is not necessary to install the NATS CLI to use wasmCloud, it can be useful for troubleshooting. Installation instructions for the CLI are available on the [NATS CLI GitHub repo](https://github.com/nats-io/natscli).

To list all streams on your NATS network:

shell

```shell
nats stream list
```

You can list all key-value buckets on your NATS instance with:

shell

```shell
nats kv list
```

## Keep reading

- For more information on NATS, see the [NATS documentation](https://docs.nats.io/).

Last updated on **Jun 10, 2026** by **Liam Randall**
