Deterministic replay
Every effect routed through the context is recorded; on replay each step returns its stored result
without re-running. Divergence detection catches a workflow that drifts from its history.
A crash mid-run resumes exactly where it stopped, with no step repeated and no state
lost.
Opt-in retries
A per-step, per-workflow, or per-runtime retry policy with exponential backoff and a retryable predicate.
The default is a single attempt, so a non-idempotent step never repeats by surprise.
A transient tool-call failure recovers on its own; the workflow never notices.
Cycle detection
Native graph cycle detection via depth headers. A workflow that re-enters its own ancestry, or a child
chain past the configured depth, fails fast with a clear error.
An agent that would loop forever stops at the first cycle, before the token bill climbs.
Token budget
Declare a budget and charge against it with ctx.spend; the execution halts the moment a
charge would pass the declared limit.
A runaway agent halts instead of draining a balance; the cost ceiling is enforced, not
hoped for.
Signals and lifecycle
waitForSignal, signal, query, pause,
resume, and cancel drive a live or suspended execution from the outside.
Human-in-the-loop approval and pauses that last minutes or months are first-class, not
bolted on.
continueAsNew
End and restart the same execution id with fresh input and an empty history, carrying a compact summary
forward instead of replaying thousands of past events.
A long-horizon agent runs for days without its history growing without bound.
Swappable battery cells
A StateStore contract with four cells: in-memory, node:sqlite, and
dependency-injected Postgres and Redis. Hot-swap or migrate at runtime.
Start in memory, recharge into a durable file or your own database, with no change to the
workflow.
Multi-agent task board
A durable task board with explicit states, heartbeats, lease-based zombie reclaim, a cycle-checked
dependency graph, and an event log, the NPM equivalent of the Hermes Agent Kanban.
Many agents coordinate on shared work without a fragile in-process swarm.
SLSA provenance
Every published version signed with npm publish --provenance through GitHub Actions OIDC.
Lockfile committed; zero runtime dependencies shrink the supply-chain surface to nothing.
Verify in one command that the tarball you installed was built from the source commit you
trust.