Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

flux

bởi eckmantechllc

DevOps & Cloud
1.0kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: track temperature from two sensors and let a reporting agent read the latest readings

AGENT
  1. 1

    Agent A publishes a temperature event to the sensors stream for dawn-coral/sensor-01 with property temperature:22.5

  2. 2

    Agent B publishes a temperature event for dawn-coral/sensor-02 with property temperature:23.1

  3. 3

    Reporting agent calls get on dawn-coral/sensor-01 and dawn-coral/sensor-02 to retrieve current state

  4. 4

    Reporting agent formats both results and returns a summary to the user

ĐẦU RA

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/flux

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết