一键导入
allora-worker-manager
Manage multiple Allora SDK workers by topic/address with lightweight local state. Use for add/deploy/start/stop/replace and health checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage multiple Allora SDK workers by topic/address with lightweight local state. Use for add/deploy/start/stop/replace and health checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guide creation of a prediction model for Allora using hypothesis-driven development methodology. Produces a complete pipeline: data loading, feature engineering, model training, and validation.
Guide creation of a prediction model for Allora using robustness-first development methodology. Produces a complete pipeline: data loading, feature engineering, model training, and validation.
Guide creation of a prediction model for Allora using signal-discovery development methodology. Produces a complete pipeline: data loading, feature engineering, model training, and validation.
| name | allora-worker-manager |
| description | Manage multiple Allora SDK workers by topic/address with lightweight local state. Use for add/deploy/start/stop/replace and health checks. |
Use WorkerManager when running multiple topics and ensuring one worker per (topic_id, address).
Workers need an ALLORA_API_KEY to submit predictions on-chain.
Do not silently use a discovered key — treat it as human-confirmed input.
(topic_id, address).topic_id + artifact will:
(topic_id, address) requires replace=True.from pathlib import Path
from allora_forge_builder_kit import WorkerManager
wm = WorkerManager(db_path="worker_state.db", secrets_path="worker_secrets.json")
result = wm.deploy_worker(topic_id=69, artifact_path=Path("predict.pkl"))
print(result.message)
wm.start_all()
print(wm.health_all())
worker_keys/ (chmod 600).worker_secrets.json maps identity aliases to {address, key_file} — never contains raw mnemonics.AlloraWalletConfig(mnemonic_file=...).cat worker_keys/<alias>.keyfrom allora_forge_builder_kit import WorkerMonitor, AlloraSDKEventFetcher
monitor = WorkerMonitor(db_path="worker_state.db", event_fetcher=AlloraSDKEventFetcher())
wm.attach_monitor(monitor, sync_now=True)
# CLI dashboard
# python -m allora_forge_builder_kit.workerctl dashboard
# Web dashboard
# python -m allora_forge_builder_kit.web_dashboard --host 0.0.0.0 --port 8787