megachangelog
Improvement5.0.0-beta.19

Workflow SDK now compresses run and step payloads

The Workflow SDK now automatically compresses run, hook, and step payloads using zstd compression, which kicks in only when beneficial. This reduces storage costs by up to 85% for typical JSON payloads (like AI conversations) and improves performance, with no code changes required.

The 5 beta now compresses all run, hook, and step inputs and outputs with .Workflow SDKzstd

Compression kicks in automatically, but only when it helps. Small payloads stay as-is, larger ones get compressed before they're persisted.

Compressed payloads use less storage and are faster to read and write, so your workflows run faster and cost less. The savings are largest for JSON payloads typical of AI conversations, where storage size and cost can drop by up to 85%.

One typical Workflow, run and stored without compression (52 MB):

The same Workflow, run and stored with compression (10 MB):zstd

Since builds durable agents on the Workflow SDK, the same compression now applies to the conversation history and state it persists for every session. That means eve agents store less and run faster, with no code to change.eve

Update to or later and learn more in the .workflow@5.0.0-beta.19documentation

Read more

workflow-sdkperformancestoragecompressionai

Source: original entry ↗