flux
bởi eckmantechllc
DevOps & CloudTóm tắt
Publish events and query shared world state via Flux state engine.
Mô tả
Kỹ năng này làm gì
Flux is a persistent, event-sourced state engine for sharing data between agents. Agents publish immutable events; Flux derives canonical entity state that any agent can query. State survives restarts and supports multi-tenant namespacing with token auth.
Unlike direct agent messaging, Flux decouples publishers from consumers so agents can read current state without knowing which agent last wrote it.
Khi nào nên dùng
- Sharing sensor readings across multiple monitoring agents
- Tracking service health status from distributed sources
- Coordinating IoT device state between autonomous agents
- Syncing agent observations in a multi-agent pipeline
- Querying live entity state without direct agent-to-agent calls
Quy trình ví dụ
User asks: track temperature from two sensors and let a reporting agent read the latest readings
- 1
Agent A publishes a temperature event to the sensors stream for dawn-coral/sensor-01 with property temperature:22.5
- 2
Agent B publishes a temperature event for dawn-coral/sensor-02 with property temperature:23.1
- 3
Reporting agent calls get on dawn-coral/sensor-01 and dawn-coral/sensor-02 to retrieve current state
- 4
Reporting agent formats both results and returns a summary to the user
Current readings: sensor-01 = 22.5°C, sensor-02 = 23.1°C
Yêu cầu
- FLUX_TOKEN environment variable (bearer token for authentication)
- Flux namespace purchased at flux-universe.com for the public instance, or a self-hosted Flux instance
Cài đặt
clawhub install eckmantechllc/fluxChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.