跳到正文
TakoAPI
返回技能列表

flux

由 eckmantechllc 提供

DevOps & Cloud
1.0k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Publish events and query shared world state via Flux state engine.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

Current readings: sensor-01 = 22.5°C, sensor-02 = 23.1°C

前置要求

  • 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

安装

clawhub install eckmantechllc/flux

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接