经 AI Skill Hub 精选评估,数据流 获评「强烈推荐」。已获得 6.3k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
数据流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
数据流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install dataflow
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install dataflow
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/OpenDCAI/DataFlow
cd DataFlow
pip install -e .
# 验证安装
python -c "import dataflow; print('安装成功')"
# 命令行使用
dataflow --help
# 基本用法
dataflow input_file -o output_file
# Python 代码中调用
import dataflow
# 示例
result = dataflow.process("input")
print(result)
# dataflow 配置文件示例(config.yml) app: name: "dataflow" debug: false log_level: "INFO" # 运行时指定配置文件 dataflow --config config.yml # 或通过环境变量配置 export DATAFLOW_API_KEY="your-key" export DATAFLOW_OUTPUT_DIR="./output"
Generate, Clean, and Prepare LLM Data, All-in-One
<img src="https://github.com/user-attachments/assets/a19865e5-221d-4c12-bb57-17421df87c8a">
<a href="https://trendshift.io/repositories/16045" target="_blank"><img src="https://trendshift.io/api/badge/repositories/16045" alt="OpenDCAI%2FDataFlow | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
Visual, low-code pipelines with flexible orchestration across domains and use cases.💪
Turn raw data into high-quality LLM training datasets.🔧
🎉 Get smarter LLMs cheaply — give us a star ⭐ on GitHub for the latest update.
Beginner-friendly learning resources (continuously updated): [[🎬 Video Tutorials]](https://space.bilibili.com/3546929239689711?spm_id_from=333.337.0.0) [[📚 Written Tutorials]](https://wcny4qa9krto.feishu.cn/wiki/I9tbw2qnBi0lEakmmAGclTysnFd)
简体中文 | English
</div>
DataFlow supports Python>=3.10 environments, tested passed on Windows, Linux, and MacOS with Python 3.10, 3.11, and 3.12.
Please use the following commands for environment setup and installation👇
We recommend use uv to install DataFlow for speed up.
pip install uv
uv pip install open-dataflow
If you want to use your own GPU for local inference, please use:
pip install uv
uv pip install open-dataflow[vllm]
After installation, you can use the following command to check if dataflow has been installed correctly:
dataflow -v
If installed correctly, you should see:
open-dataflow codebase version: 1.0.0
Checking for updates...
Local version: 1.0.0
PyPI newest version: 1.0.0
You are using the latest version: 1.0.0.
We also provide a Dockerfile for easy deployment and a pre-built Docker image for immediate use.
You can directly pull and use our pre-built Docker image:
```shell
dataflow -v
##### Option 2: Build from Dockerfile
Alternatively, you can build the Docker image from the provided Dockerfile:
shell
docker build -t dataflow:custom .
dataflow -v ```
Note: The Docker image includes CUDA 12.4.1 support and comes with vLLM pre-installed for GPU acceleration. Make sure you have NVIDIA Container Toolkit installed to use GPU features.
operators, and automatically orchestrates them into pipelines based on specific task objectives.</details>
You can start your first DataFlow translation project directly on Google Colab. By following the provided guidelines, you can seamlessly scale from a simple translation example to more complex DataFlow pipelines.
llm_serving = APILLMServing_request( api_url="https://api.openai.com/v1/chat/completions", )
prompted_generator = PromptedGenerator( llm_serving=llm_serving, # pre-configured LLM backend system_prompt="Please solve this math problem." )
prompted_generator.run( storage=self.storage.step(), # data management (details omitted) input_key="problem", # read from this column output_key="solution" # write to this column )
After running, the operator will append the generated results into output_key. For example, the output data (json/jsonl-style) becomes:
json // dataflow_step1.json [ {"problem":"What is 17 + 25?","solution":"42"}, {"problem":"If x = 3, compute 2x^2 + 1.","solution":"19"} ] ```
<details> <summary><h2>🛠️ 6. Pipelines (Click to expand)</h2></summary>
For detailed usage instructions and getting started guide, please visit our DataFlow Documentation.
<a name="dfwebui"></a>
Current Pipelines in Dataflow are as follows:
In this framework, operators are categorized into Fundamental Operators, Generic Operators, Domain-Specific Operators, and Evaluation Operators, etc., supporting data processing and evaluation functionalities. Please refer to the documentation for details.
高质量的开源AI工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:数据流 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | DataFlow |
| Topics | 数据处理工作流LLM |
| GitHub | https://github.com/OpenDCAI/DataFlow |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-07-13 · 更新时间:2026-07-13 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端