Skip to content

NATS: KV Agent State

Key-value store for real-time agent state management with watches.

Source: examples/nats/kv-agent-state.js

Usage

bash
node examples/nats/kv-agent-state.js

What It Does

  1. Creates a NATS KV bucket for agent state
  2. Stores and updates agent status, progress, and metrics
  3. Demonstrates watches for real-time state change notifications

Released under the MIT License.