AI Skill Hub 强烈推荐:AutoRAG Agent工作流 是一款优质的Agent工作流。已获得 4.8k 颗 GitHub Star,AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
AutoRAG是专业的RAG评估开源框架,提供自动化的检索增强生成工作流与基准测试工具。支持文档解析、向量嵌入、工作流分析等功能,适合AI研究者、RAG应用开发者和模型评估团队使用。
AutoRAG Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AutoRAG是专业的RAG评估开源框架,提供自动化的检索增强生成工作流与基准测试工具。支持文档解析、向量嵌入、工作流分析等功能,适合AI研究者、RAG应用开发者和模型评估团队使用。
AutoRAG Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install autorag
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install autorag
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Marker-Inc-Korea/AutoRAG
cd AutoRAG
pip install -e .
# 验证安装
python -c "import autorag; print('安装成功')"
# 命令行使用
autorag --help
# 基本用法
autorag input_file -o output_file
# Python 代码中调用
import autorag
# 示例
result = autorag.process("input")
print(result)
# autorag 配置文件示例(config.yml) app: name: "autorag" debug: false log_level: "INFO" # 运行时指定配置文件 autorag --config config.yml # 或通过环境变量配置 export AUTORAG_API_KEY="your-key" export AUTORAG_OUTPUT_DIR="./output"
RAG AutoML tool for automatically finding an optimal RAG pipeline for your data.
<a href="https://trendshift.io/repositories/7832" target="_blank"><img src="https://trendshift.io/api/badge/repositories/7832" alt="Marker-Inc-Korea%2FAutoRAG | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
There are many RAG pipelines and modules out there, but you don’t know what pipeline is great for “your own data” and "your own use-case." Making and evaluating all RAG modules is very time-consuming and hard to do. But without it, you will never know which RAG pipeline is the best for your own use-case.
AutoRAG is a tool for finding the optimal RAG pipeline for “your data.” You can evaluate various RAG modules automatically with your own evaluation data and find the best RAG pipeline for your own use-case.
AutoRAG supports a simple way to evaluate many RAG module combinations. Try now and find the best RAG pipeline for your own use-case.
Explore our 📖 Document!!
---
We recommend using Python version 3.10 or higher for AutoRAG.
pip install AutoRAG
If you want to use the local models, you need to install gpu version.
pip install "AutoRAG[gpu]"
Or for parsing, you can use the parsing version.
pip install "AutoRAG[gpu,parse]"
https://github.com/Marker-Inc-Korea/AutoRAG/assets/96727832/c0d23896-40c0-479f-a17b-aa2ec3183a26
Muted by default, enable sound for voice-over
You can see on YouTube
You can run this pipeline as an API server.
Check out the API endpoint at here.
import nest_asyncio
from autorag.deploy import ApiRunner
nest_asyncio.apply()
runner = ApiRunner.from_trial_folder('/your/path/to/trial_dir')
runner.run_api_server()
autorag run_api --trial_dir your/path/to/trial_dir --host 0.0.0.0 --port 8000
The cli command uses extracted config YAML file. If you want to know it more, check out here.
you can run this pipeline as a web interface.
Check out the web interface at here.
autorag run_web --trial_path your/path/to/trial_path
<img width="1491" alt="web_interface" src="https://github.com/Marker-Inc-Korea/AutoRAG/assets/96727832/f6b00353-f6bb-4d8f-8740-1c264c0acbb8">
Here is the AutoRAG RAG Structure that only show Nodes.
Here is the image showing all the nodes and modules.
You can create QA dataset with just a few lines of code.
import pandas as pd
from llama_index.llms.openai import OpenAI
from autorag.data.qa.filter.dontknow import dontknow_filter_rule_based
from autorag.data.qa.generation_gt.llama_index_gen_gt import (
make_basic_gen_gt,
make_concise_gen_gt,
)
from autorag.data.qa.schema import Raw, Corpus
from autorag.data.qa.query.llama_gen_query import factoid_query_gen
from autorag.data.qa.sample import random_single_hop
llm = OpenAI()
raw_df = pd.read_parquet("your/path/to/parsed.parquet")
raw_instance = Raw(raw_df)
corpus_df = pd.read_parquet("your/path/to/corpus.parquet")
corpus_instance = Corpus(corpus_df, raw_instance)
initial_qa = (
corpus_instance.sample(random_single_hop, n=3)
.map(
lambda df: df.reset_index(drop=True),
)
.make_retrieval_gt_contents()
.batch_apply(
factoid_query_gen, # query generation
llm=llm,
)
.batch_apply(
make_basic_gen_gt, # answer generation (basic)
llm=llm,
)
.batch_apply(
make_concise_gen_gt, # answer generation (concise)
llm=llm,
)
.filter(
dontknow_filter_rule_based, # filter don't know
lang="en",
)
)
initial_qa.to_parquet('./qa.parquet', './corpus.parquet')
aiskill88点评:AutoRAG是RAG领域专业工具,4.8k星证明受认可度高,完善的工作流和评估框架对RAG应用开发者很有价值,持续维护。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,AutoRAG Agent工作流 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | AutoRAG |
| 原始描述 | 开源AI工作流:AutoRAG: An Open-Source Framework for Retrieval-Augmented Generation (RAG) Evalu。⭐4.8k · Python |
| Topics | RAG评估检索增强生成工作流自动化基准测试文档解析 |
| GitHub | https://github.com/Marker-Inc-Korea/AutoRAG |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端