经 AI Skill Hub 精选评估,Cube 工作流 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Cube 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Cube 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install cube-harness
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install cube-harness
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/The-AI-Alliance/cube-harness
cd cube-harness
pip install -e .
# 验证安装
python -c "import cube_harness; print('安装成功')"
# 命令行使用
cube-harness --help
# 基本用法
cube-harness input_file -o output_file
# Python 代码中调用
import cube_harness
# 示例
result = cube_harness.process("input")
print(result)
# cube-harness 配置文件示例(config.yml) app: name: "cube-harness" debug: false log_level: "INFO" # 运行时指定配置文件 cube-harness --config config.yml # 或通过环境变量配置 export CUBE_HARNESS_API_KEY="your-key" export CUBE_HARNESS_OUTPUT_DIR="./output"
<img alt="cube-harness banner" src="docs/assets/images/cube_harness_banner.png" />
cube-harness is a universal evaluation platform for agentic benchmarks and an RL data generation framework built on top of the CUBE Standard.
make install ```
```bash
The hello_miniwob recipe demonstrates running a ReAct agent on the MiniWob benchmark.
Start here — first 2 tasks, in-process (fast, no Ray required):
make debug # → uv run recipes/hello_miniwob.py --limit 2
Full benchmark (parallel via Ray):
make hello # → uv run recipes/hello_miniwob.py
A recipe is a declarative config file: it imports canonical configs by name, tweaks a few attributes, builds one or more Experiment objects, and ends with run(...). Copy a recipe from recipes/ and edit it — recipes are documentation-by-example, not a CLI.
from cube_harness.agents.genny_configs import GENNY_CONFIGS # "default", "swe"
from cube_harness.infra import INFRA_CONFIGS # ~/.cube/infra.py; "local" built in
from cube_harness.recipe import run
agent = GENNY_CONFIGS["swe"] # every lookup is a fresh deep copy
agent.budget.cost_limit = 2.0 # validated at the assignment site
exp = Experiment(name="x", agent_config=agent, benchmark_config=..., infra=INFRA_CONFIGS["local"])
if __name__ == "__main__":
run(exp) # or run(exp_a, exp_b)
run() is the only CLI, identical for every recipe and not extensible: --limit N (first N tasks, in-process), --ray N (worker count), --set dotted.path=value (ad-hoc override). For anything structural, clone the file. Config objects are typed Pydantic models, serialized with every experiment for reproducibility.
Infra is machine-local in ~/.cube/infra.py (a dict[str, InfraConfig], never committed; credentials come from env). "local" works with zero setup. To use a cluster/cloud, copy recipes/infra_template.py to ~/.cube/infra.py and edit it — it documents the process and shows LocalInfraConfig plus commented Toolkit/Azure examples.
See docs/configuration.md for the full philosophy, a comparison with Hydra/YAML/CLI approaches, and how to run sweeps.
Set your OpenAI API key:
export OPENAI_API_KEY=your-key-here
Any LiteLLM-supported provider works — just change model_name in the recipe.

Cube工作流是一个有价值的开源项目,推动数据整理和评估标准
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:Cube 工作流 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | cube-harness |
| 原始描述 | 开源AI工作流:Drive OSS standards and tools for data curation and evaluation creation for stat。⭐53 · Python |
| Topics | AI数据整理评估标准 |
| GitHub | https://github.com/The-AI-Alliance/cube-harness |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-09 · 更新时间:2026-06-09 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端