能力标签
AI-Q
⚙️
Agent工作流

AI-Q

基于 Python · 无代码搭建完整 AI 自动化流程
英文名:aiq
⭐ 735 Stars 🍴 203 Forks 💻 Python 📄 Apache-2.0 🏷 AI 8.0分
8.0AI 综合评分
AINVIDIAPython
✦ AI Skill Hub 推荐

AI-Q 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

AI-Q 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

AI-Q 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.0 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

AI-Q 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 735
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
正常维护,社区驱动
开源协议
Apache-2.0
AI 综合评分
8.0 分
工具类型
Agent工作流
Forks
203

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

AI-Q 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install aiq

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install aiq

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/NVIDIA-AI-Blueprints/aiq
cd aiq
pip install -e .

# 验证安装
python -c "import aiq; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
aiq --help

# 基本用法
aiq input_file -o output_file

# Python 代码中调用
import aiq

# 示例
result = aiq.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# aiq 配置文件示例(config.yml)
app:
  name: "aiq"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
aiq --config config.yml

# 或通过环境变量配置
export AIQ_API_KEY="your-key"
export AIQ_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 70/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

NVIDIA AI-Q Blueprint

🏆 BENCHMARK NOTE 🏆 To obtain results consistent with the nvidia-aiq DeepResearch Bench leaderboard and DeepResearch Bench II benchmark repository results, please use the drb1 and drb2 branches, respectively.

Overview

The NVIDIA AI-Q Blueprint is a deployable research backend built on the NVIDIA NeMo Agent Toolkit and LangChain Deep Agents. Teams can self-host the application boundary and connect deployment-owned models, data sources, authentication, policy controls, storage, and observability. It provides both quick, cited answers and in-depth, report-style research, plus benchmarks and evaluation harnesses for measuring quality. AI-Q is focused on governed research workflows; it is not a general-purpose coding-agent harness.

<p align="center"> <img src="./docs/assets/AIQ-arch-light.png" alt="AI-Q Architecture" width="800"> </p>

Key features:

  • Orchestration node — One node classifies intent (meta vs. research), produces meta responses (for example, greetings, capabilities), and sets research depth (shallow vs. deep).
  • Shallow research — Bounded, faster researcher with tool-calling and source citation.
  • Structured deep research — Advisory source routing, structured planning, concurrent researcher workers, bounded source-tool batching, and a dedicated writer produce citation-backed reports and other requested output shapes.
  • Report follow-up — Ask questions about a completed report, create a child-job cosmetic rewrite, or run delta research with the parent report as context.
  • Workflow configuration — YAML configs define agents, tools, LLMs, and routing behavior so you can tune workflows without code changes.
  • Modular workflows — All agents (orchestration node, shallow researcher, deep researcher, clarifier) are composable; each can run standalone or as part of the full pipeline.
  • Skills, sandbox execution, and durable outputs — Built-in research/synthesis skills are exposed as host-side, read-only definitions. Skills that invoke code use a provider-neutral sandbox contract; Modal and OpenShell create one physical sandbox per deep-research job. Opt-in rich-file capture checkpoints manifest-declared files after successful sandbox commands, finalizes on success/failure, stores bytes in SQL or S3-compatible storage, and delivers metadata to the Files tab live and on replay.
  • Portable Agent Skillsaiq-deploy selects, starts, and validates an AI-Q deployment; aiq-research calls routed chat and async research from compatible coding harnesses.
  • Data source registry — UI toggles and request payloads can select web, paper, enterprise, collaboration, and knowledge-layer sources per message.
  • Expanded sources — Paper search supports Serper, SerpAPI, and SearchAPI; You.com adds web, contents, general-research, and finance-research tools; Nimble adds configurable web search; focused profiles demonstrate DuckDuckGo news, Polymarket, OpenSearch, and Azure AI Search knowledge retrieval.
  • Production API and auth — REST endpoints, async job ownership, per-user OAuth-protected MCP sources, token validator entry points, and provider lifecycle hooks support authenticated deployments; a separate public MCP server exposes stateless research tools for trusted networks.
  • Opt-in policy controls — NeMo Guardrails middleware covers selected workflow and agent boundaries, and narrow application-level encryption can protect final async output plus selected artifact-event content.
  • Observability, profiling, and cost analysis — NeMo Relay preserves task, named-agent, LLM, and tool hierarchy across interactive turns and async researchers. ATOF feeds local debugging and tokenomics reports; OTEL exports traces to external observability backends.
  • Evaluation harnesses — Built-in benchmarks (for example, FreshQA, DeepResearch) and evaluation scripts to measure quality and iterate on prompts and agent architecture.
  • Frontend options — Run through CLI, web UI, or async jobs. Refer to Getting started and Ways to run the agents.
  • Deployment options - Deployment assets for Docker Compose and Helm; the repository source chart honors the Helm release namespace for every namespaced resource.

What's New

Recent changes include:

- Structured, concurrent deep research — Advisory source routing, structured planning, concurrent researcher workers, bounded source-tool batching, and a dedicated writer replace the earlier three-role flow and move plan ownership out of the clarifier. - Work that continues from a completed report — Users can ask questions against an existing report, create child-job rewrites, or run delta research with the parent report as context. - Portable skills, sandboxes, and durable files — Provider-neutral sandbox execution, the new aiq-deploy skill, expanded aiq-research workflows, opt-in artifact capture, SQL or S3-compatible storage, and live or replayed Files-tab access turn generated files into durable outputs. - Sources, integrations, and policy controls — OpenSearch and Azure AI Search join the knowledge backends; You.com adds four search and research tools, Nimble adds configurable web search, and the standalone public MCP server exposes submit/poll/report operations; per-user MCP OAuth, opt-in NeMo Guardrails middleware, and narrowly scoped async-content encryption add deployment controls without making them universal defaults. - Operations and user experience — Async traces preserve the agent hierarchy, the source Helm chart honors the selected release namespace, and the UI improves concurrent-research activity, session recovery, and WebSocket reliability.

AI-Q v2.2.0 is published on NVIDIA NGC as the aiq-agent backend container, aiq-frontend web container, and aiq2-web Helm chart. Each artifact uses version 2.2.0.

See the changelog for detailed release history; the linked feature docs describe configuration and current limitations.

Prerequisites

  • Python 3.11–3.13
  • uv package manager
  • NVIDIA API key from NVIDIA AI (for NIM models)
  • Node.js 22+ and npm (optional, for web UI mode)

Optional requirements: - A web-search API key for the configured provider: Tavily, Exa, Nimble, or You.com - A paper search API key for one of the supported providers: Serper (SERPER_API_KEY), SerpAPI (SERPAPI_API_KEY), or SearchAPI (SEARCHAPI_API_KEY)

Note: Configure at least one data source (web search, paper search, or knowledge layer) to enable research functionality.

If these optional API keys are not provided, the agent continues to operate without the corresponding search capabilities. Refer to Obtain API Keys for details.

Hardware Requirements

When using NVIDIA API Catalog (the default), inference runs on NVIDIA-hosted infrastructure and there are no local GPU requirements. The hardware references below apply only when self-hosting models via NVIDIA NIM.

ComponentDefault ModelSelf-Hosted Hardware Reference
LLM (intent classifier, shallow researcher)nvidia/nemotron-3.5-lightning-30b-a3b[Nemotron 3.5 Lightning](https://build.nvidia.com/nvidia/nemotron-3.5-lightning-30b-a3b/modelcard)
LLM (clarifier and all deep-research roles)nvidia/nemotron-3-ultra-550b-a55b[Nemotron 3 Ultra](https://build.nvidia.com/nvidia/nemotron-3-ultra-550b-a55b)
Document summary (optional)google/gemma-4-31b-it[Gemma 4 31B IT](https://build.nvidia.com/google/gemma-4-31b-it)
Text embeddingnvidia/nemotron-3-embed-1b[NeMo Retriever embedding support matrix](https://docs.nvidia.com/nim/nemo-retriever/text-embedding/latest/support-matrix.html)
VLM (image/chart extraction, optional)nvidia/nemotron-3-nano-omni-30b-a3b-reasoning[Nemotron 3 Nano Omni](https://build.nvidia.com/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning)
Knowledge layer (Foundational RAG, optional)--[RAG Blueprint support matrix](https://docs.nvidia.com/rag/latest/support-matrix.html)

For detailed installation instructions, refer to Installation -- Hardware Requirements.

Install core with development dependencies

uv pip install -e ".[dev]"

Getting Started

Automated Setup

Run the setup script to initialize the environment:

./scripts/setup.sh

This script: - Creates a Python virtual environment with uv - Installs all Python dependencies (core, frontends, benchmarks, data sources) - Installs UI dependencies (if Node.js is available)

Manual Installation

For selective installation, install packages individually:

```bash

Install frontends (pick what you need)

uv pip install -e ./frontends/cli # CLI frontend uv pip install -e ./frontends/debug # Debug console uv pip install -e ./frontends/aiq_api # Unified API (includes debug)

Install benchmarks (pick what you need)

uv pip install -e ./frontends/benchmarks/freshqa

Install data sources (pick what you need)

uv pip install -e ./sources/tavily_web_search uv pip install -e ./sources/exa_web_search uv pip install -e ./sources/google_scholar_paper_search uv pip install -e ./sources/nimble_web_search uv pip install -e ./sources/you_com uv pip install -e "./sources/knowledge_layer[llamaindex,foundational_rag]" ```

Or run directly with the NeMo Agent Toolkit CLI (dotenv loads deploy/.env into the environment)

dotenv -f deploy/.env run nat run --config_file configs/config_cli_default.yml --input "How do I install CUDA?" ```

The CLI frontend source is in frontends/cli/.

No-auth local setup (LlamaIndex default)

docker compose --env-file ../.env -f docker-compose.yaml up -d --build

To select a different backend config, set BACKEND_CONFIG in deploy/.env, for example:

Step 1: Install the dataset

The dataset files are not included in the repository. We have included a script to retrieve them from the Deep Research Bench Github Repository and format them for the NeMo Agent Toolkit evaluator.

To download the dataset files, run the following script:

python frontends/benchmarks/deepresearch_bench/scripts/download_drb_dataset.py

Create and activate virtual environment

uv venv --python 3.13 .venv source .venv/bin/activate

Set Up Environment Variables

Create a .env file in deploy/ directory:

cp deploy/.env.example deploy/.env

Replace your API keys.

Note: Depending on your usecase, deep research report quality can be enhanced by enabling searching across academic research papers. We use Serper for this. If you want to use paper search, follow the steps in the Customization guide to enable it.

Configuration Files

The configs/ directory holds YAML workflow configs that define agents, tools, LLMs, and routing. Use the one that matches your run mode and data sources:

ConfigModelsDescription
config_cli_default.ymlNemotron 3.5 Lightning; Nemotron 3 UltraCLI chat pipeline with Tavily and clarification; no knowledge backend. Paper search is a commented opt-in.
config_web_default_llamaindex.ymlNemotron 3.5 Lightning; Nemotron 3 Ultra; Gemma 4 summaryDefault web/API chat pipeline with LlamaIndex/ChromaDB and Tavily. Paper search is commented out.
config_web_frag.ymlNemotron 3.5 Lightning; Nemotron 3 UltraWeb/API and Helm base with Foundational RAG plus Tavily. Requires separately deployed RAG query and ingestion services.
config_web_opensearch.ymlNemotron 3.5 Lightning; Nemotron 3 Ultra; Nemotron 3 EmbedWeb/API with built-in OpenSearch knowledge retrieval plus Tavily; supports self-hosted, es, and aoss authentication modes.
config_web_azure_ai_search.ymlNemotron 3.5 Lightning; Nemotron 3 Ultra; Nemotron 3 EmbedWeb/API with Azure AI Search knowledge retrieval plus Tavily; supports API-key and Azure identity authentication.
config_frontier_models.ymlGPT Sol/Luna; Gemma 4 summaryLlamaIndex frontier profile using GPT Luna for intent, shallow research, source routing, and research, with GPT Sol for clarification, orchestration, planning, and writing. Requires OPENAI_API_KEY, NVIDIA_API_KEY, and TAVILY_API_KEY for the enabled Tavily tools.
config_web_default_guardrails.ymlNemotron 3.5 Lightning; Nemotron 3 Ultra; Gemma 4 summaryLlamaIndex profile with workflow Guardrails explicitly attached, shallow-agent Guardrails dynamically attached through workflow_functions, and async deep-agent Guardrails applied by the AI-Q runner from the same target configuration.
config_web_frag_mcp_auth.ymlNemotron 3.5 Lightning; Nemotron 3 UltraFoundational RAG plus an opt-in protected per-user OAuth MCP source example. Requires a real MCP endpoint and shared token store.
config_domain_routing_and_skills.ymlNemotron 3 Ultra; Gemma 4 summaryDirect deep-research profile with domain routing, DuckDuckGo news, Polymarket, enabled Serper paper search, LlamaIndex, built-in skills, and a fresh per-job Modal sandbox.
config_openshell.ymlNemotron 3.5 Lightning; Nemotron 3 Ultra; Gemma 4 summaryExperimental web/API skills profile with artifact capture, fail-closed policy attestation, and one OpenShell sandbox per deep-research job.
config_mcp.ymlNemotron 3.5 Lightning; Nemotron 3 UltraStandalone MCP server. Public NIM + Tavily research with PostgreSQL-backed stateless submit/poll/report. Requires NVIDIA_API_KEY, TAVILY_API_KEY, and AIQ_CHECKPOINT_DB.

Activate the virtual environment

source .venv/bin/activate

BACKEND_CONFIG=/app/configs/config_web_frag.yml

```

For more details, refer to: - deploy/compose/README.md

Optional: Phoenix Tracing

If your config enables Phoenix tracing, start the Phoenix server before running nat eval.

Start server (separate terminal):

uvx --from arize-phoenix phoenix serve

For detailed benchmark documentation, refer to: - Deep Research Bench README - FreshQA README

Obtain API Keys

APIEnvironment VariablePurposeRequired
NVIDIA APINVIDIA_API_KEYLLM inference through NIMYes
TavilyTAVILY_API_KEYWeb searchNo (if not specified, agent continues without web search)
ExaEXA_API_KEYWeb searchNo (required only when Exa search is configured)
NimbleNIMBLE_API_KEYConfigurable web searchNo (required only when Nimble search is configured)
You.comYDC_API_KEYWeb, contents, and research APIsNo (required only when You.com tools are configured)
Paper searchSERPER_API_KEY, SERPAPI_API_KEY, or SEARCHAPI_API_KEYAcademic paper searchNo (choose one matching the configured provider)

Obtain an NVIDIA API Key

  1. Sign in to NVIDIA Build
  2. Click on any model, then select "Deploy" > "Get API Key" > "Generate Key"

Obtain a Tavily API Key

  1. Sign in to Tavily
  2. Navigate to your dashboard
  3. Generate an API key

Obtain an Exa API Key

  1. Sign in to Exa
  2. Create an API key from the dashboard
  3. Add it to deploy/.env as EXA_API_KEY

Refer to the exa_web_search section in the Configuration Reference for workflow usage.

Obtain a You.com API Key

Follow the You.com quickstart to create an API key and add it to deploy/.env as YDC_API_KEY. Refer to You.com API Suite for tool configuration.

Obtain a Paper Search API Key

Paper search supports three interchangeable providers. Set the provider field on the paper_search function in your workflow config (defaults to serper):

ProviderEnvironment VariableSign-up
Serper (default)SERPER_API_KEY[serper.dev](https://serper.dev/)
SerpAPISERPAPI_API_KEY[serpapi.com](https://serpapi.com/)
SearchAPISEARCHAPI_API_KEY[searchapi.io](https://www.searchapi.io/)

Refer to sources/google_scholar_paper_search/README.md for configuration details.

Command-line interface (CLI)

The CLI provides an interactive research assistant in your terminal:

```bash

Software Components

The checked-in default CLI and web profiles use these core components:

Known hosted-serving limitation: Nemotron 3.5 Lightning can intermittently produce citation-incomplete or malformed shallow drafts when served through NVIDIA API Catalog. AI-Q fails closed instead of publishing those drafts. The Brev getting-started launchable uses Nemotron Ultra for shallow research; the general-purpose shipped profiles retain Lightning. See Troubleshooting for details and the self-hosted Lightning option.

The shipped frontier profile, configs/config_frontier_models.yml, uses GPT-5.6 Luna for intent classification, shallow research, source routing, and deep-research execution, with GPT-5.6 Sol for clarification, orchestration, planning, and writing. Treat any bring-your-own model or modified profile as an experimental customization until the complete workflow is evaluated with that exact model, prompt, hyperparameter, tool-calling, and structured-output configuration. Refer to Configuration Files; there is no single all-features profile.

Evaluating the Workflow

The frontends/benchmarks/ directory contains evaluation pipelines for assessing agent performance.

🎯 aiskill88 AI 点评 A 级 2026-06-15

高质量的开源AI工作流示例

📚 实用指南(长尾问题)
适合谁
  • 需要 aiq 解决具体问题的开发者与运营人员
最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
aiq 中文教程aiq 安装报错怎么办aiq 与同类工具对比aiq 最佳实践aiq 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 aiq 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

aiq 是一款Python开发的AI辅助工具。开源AI工作流:The AI-Q NVIDIA Blueprint is an open reference example for building intelligent 。⭐735 · Python 主要应用场景包括:智能工作流构建。
💡 AI Skill Hub 点评

经综合评估,AI-Q 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ Apache-2.0 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 AI-Q
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 aiq
原始描述 开源AI工作流:The AI-Q NVIDIA Blueprint is an open reference example for building intelligent 。⭐735 · Python
Topics AINVIDIAPython
GitHub https://github.com/NVIDIA-AI-Blueprints/aiq
License Apache-2.0
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/NVIDIA-AI-Blueprints/aiq 🌐 官方网站  https://docs.nvidia.com/aiq-blueprint/latest/index.html

收录时间:2026-06-15 · 更新时间:2026-06-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →