Plugins
A plugin gives Tumult faults to inject and probes to read. Tumult ships 16 plugins. This page lists them and shows how a step calls one.
flowchart TD
accTitle: How a step reaches a plugin
accDescr: A step names a plugin and a function. A script plugin runs as a shell script that reads TUMULT variables. A native plugin is Rust code inside the tumult binary. Both act on your system, and their output goes into the journal.
step[A step in the experiment] -->|type: script| script[Shell script of the plugin]
step -->|type: native| native[Rust code in tumult]
script --> system[Your system]
native --> system
script -.->|output| journal[Journal]
native -.->|output| journal
Two kinds of plugin
| Script plugin | Native plugin | |
|---|---|---|
| What it is | A folder with plugin.toon and shell scripts | Rust code built into tumult |
| Provider type | script | native |
| Arguments reach it as | Environment variables TUMULT_<NAME> | JSON values |
| Runs on | Linux and macOS (/bin/sh) | Every system that runs tumult |
| Write your own | Yes, no Rust needed | Only by changing Tumult |
A step runs on the machine that runs Tumult. To act on another host, use tumult-ssh.
Call a script plugin
method[1]:
- name: pause-the-database
activity_type: action
provider:
type: script
plugin: tumult-containers
function: pause-container
arguments:
container_id: orders-db
timeout_s: 30.0
Each argument reaches the script as an environment variable: container_id becomes TUMULT_CONTAINER_ID. Numbers and true or false arrive as text. timeout_s ends a script that runs too long. A native step names plugin, function and arguments the same way, with type: native; its arguments stay JSON values.
Where Tumult finds script plugins
Tumult looks in these folders, in this order. When two plugins have the same name, the first one wins.
./plugins/in the folder where you runtumult~/.tumult/plugins/- each folder in
TUMULT_PLUGIN_PATH(separate them with:)
Native plugins are always there. tumult discover lists both kinds:
tumult discover
tumult discover --plugin tumult-network
The Author page of Krönika shows the script plugins as a catalog, with a form for each action:

Bundled plugins
Native (5)
| Plugin | What it does |
|---|---|
| tumult-ssh | Runs a command on a remote host over SSH |
| tumult-kubernetes | Deletes pods, scales deployments, drains nodes, adds latency or stress inside a pod |
| tumult-windows | Kills a process, loads the CPU or blocks traffic on a Windows host |
| tumult-net (blog post) | A TCP proxy that adds latency, limits bandwidth, splits, corrupts or cuts connections |
| tumult-cloud (README) | Starts and stops AWS FIS and Azure Chaos Studio experiments, stops EC2 and GCP instances |
Script (11)
| Plugin | What it does |
|---|---|
| tumult-containers | Kills, stops, pauses or limits a Docker or Podman container |
| tumult-db | Three plugins: tumult-db-postgres, tumult-db-mysql, tumult-db-redis |
| tumult-kafka | Kills or cuts off a broker; reads lag, brokers and replicas |
| tumult-loadtest | Starts and stops k6, reads its numbers |
| tumult-network | Latency, packet loss, DNS faults and partitions on the host |
| tumult-process | Kills, suspends or resumes a process |
| tumult-pumba | Network faults, kills and stress for one container, through Pumba |
| tumult-stress | CPU, memory and disk load with stress-ng |
| tumult-timewarp (README) | Clock skew, certificate and token expiry, load on the random number generator |
Next
- Write your own: Write a plugin
- All the keys of a step: Experiment format