能力标签
n8n AI工作流自动化
🛠
AI工具

n8n AI工作流自动化

基于 Shell · 开源免费,本地部署,数据完全自主可控
英文名:n8n-install
⭐ 856 Stars 🍴 225 Forks 💻 Shell 📄 Apache-2.0 🏷 AI 8.2分
8.2AI 综合评分
工作流自动化本地部署AI智能体开源平台
✦ AI Skill Hub 推荐

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

📚 深度解析

n8n AI工作流自动化 是一款基于 Shell 的开源工具,在 GitHub 上收获 1k+ Star,是工作流自动化、本地部署、AI智能体、开源平台领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
n8n AI工作流自动化 依赖 Shell 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Shell 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 n8n AI工作流自动化 的版本更新,及时通知重要功能变化。

📋 工具概览

n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 856
开发语言
Shell
支持平台
macOS / Linux
维护状态
正常维护,社区驱动
开源协议
Apache-2.0
AI 综合评分
8.2 分
工具类型
AI工具
Forks
225

📖 中文文档

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

n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 克隆仓库
git clone https://github.com/kossakovsky/n8n-install
cd n8n-install

# 查看安装说明
cat README.md

# 按 README 完成环境依赖安装后即可使用
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
n8n-install --help

# 基本运行
n8n-install [options] <input>

# 详细使用说明请查阅文档
# https://github.com/kossakovsky/n8n-install
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# n8n-install 配置说明
# 查看配置选项
n8n-install --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export N8N_INSTALL_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 72/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Selfhost AI — One-Command Self-Hosted AI Stack (n8n, Ollama, Open WebUI, OpenClaw)

GitHub stars Latest release License Ubuntu

Deploy 30+ open-source AI and automation tools on your own server with a single command. Selfhost AI is a Docker Compose installer for a private AI homelab: n8n workflow automation, local LLMs with Ollama, a ChatGPT-style chat in Open WebUI, AI agents (OpenClaw, Flowise, Keelflow, Dify, Letta), RAG engines and vector databases (Qdrant, Weaviate, LightRAG, RAGFlow), Supabase, ComfyUI and Grafana monitoring. An interactive wizard picks the services, generates every secret and puts them all behind Caddy with automatic HTTPS. A free, self-hosted alternative to Zapier, Make and ChatGPT.

Key Features

  • One-command install: an interactive wizard, generated secrets and no manual configuration
  • Private AI homelab: run LLMs locally with Ollama, on CPU, NVIDIA or AMD GPUs, including multi-GPU; your data stays on your server
  • ChatGPT alternative: Open WebUI for local and API models, with an optional code-execution sandbox
  • Workflow automation: n8n with 400+ integrations, queue mode with scalable workers, an MCP server for AI IDEs, and 300+ optional community workflows
  • AI agents and RAG: OpenClaw (with Telegram), Flowise, Keelflow, Dify, Letta, LightRAG, RAGFlow, Qdrant, Weaviate
  • Automatic HTTPS: Caddy reverse proxy with Let's Encrypt; services are reached only through Caddy (see security notes for Supabase's ports); optional Cloudflare Tunnel
  • Built-in monitoring: Grafana and Prometheus with an n8n workflow dashboard and ready-made alerts
  • Production ready: health checks, service dependencies, make doctor diagnostics, and updates that preserve your settings
  • Free and open source: Apache 2.0, no vendor lock-in

What's Included

Always installed: Caddy (reverse proxy and HTTPS), PostgreSQL, and Valkey (Redis-compatible). Everything below is optional and chosen in the wizard. "internal" means the service has no public URL and is reachable only from other containers.

Installation

Prerequisites

1. A domain name with a wildcard A record, *.yourdomain.com, pointing to your server's IP, configured before installing. 2. A VPS with a public IP address. Home servers, shared hosting and localhost setups are not supported. - Operating system: Ubuntu 24.04 LTS, 64-bit - n8n, Monitoring, Databasus and Portainer: 4 GB RAM / 2 CPU cores / 40 GB disk - All services: at least 20 GB RAM / 4 CPU cores / 60 GB disk

Run the installer over SSH:

git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh

The installer updates the system, configures the firewall and brute-force protection, installs Docker, generates .env with all secrets, and starts the services. It asks for:

  1. Your domain (e.g. yourdomain.com).
  2. Your email, used for service logins and for the Let's Encrypt certificate.
  3. Which services to install, in a checklist wizard, plus follow-ups for some of them (hardware profile, Telegram bot token, Cloudflare token, ...).
  4. An optional OpenAI API key (used by Supabase AI and Crawl4AI).
  5. If n8n is selected: whether to import ~300 community n8n workflows (takes 20-30 minutes) and the number of n8n workers (each gets its own task runner).

At the end it prints the Welcome Page URL and login (save them). The Welcome dashboard at welcome.yourdomain.com lists every service's URL and credentials.

Quick Start

You need a VPS with a public IP running Ubuntu 24.04 LTS (4 GB RAM / 2 CPU for n8n and monitoring; 20 GB RAM / 4 CPU / 60 GB disk for everything), a domain, and a wildcard DNS record A *.yourdomain.com -> YOUR_SERVER_IP. Then run:

git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh

The wizard does the rest; see Installation for what it asks.

Guides

Workflow Automation

ServiceWhat it doesURL
[n8n](https://n8n.io/)Workflow automation with 400+ integrations and AI nodes, in queue mode with workers ([guide](docs/n8n.md))n8n.
[n8n-MCP](https://github.com/czlonkowski/n8n-mcp)MCP server that gives Claude Code, Cursor, Windsurf and VS Code n8n node docs and workflow toolsn8n-mcp.
[n8n Assistant sandbox](https://docs.n8n.io/deploy/host-n8n/configure-n8n/set-up-n8n-assistant)Code-execution sandbox for n8n's AI Assistant and Agents, isolated with Sysbox, or privileged if you accept that ([guide](docs/n8n-assistant-sandbox.md))internal
[Postiz](https://postiz.com/)Social media scheduling and publishingpostiz.
[WAHA](https://waha.devlike.pro/)WhatsApp HTTP API (WEBJS, NOWEB and GOWS engines)waha.
Python RunnerRuns your own Python code from python-runner/ (main.py, requirements.txt, installed on every start) on the internal networkinternal

Troubleshooting

  • Sites don't load. The server is usually out of RAM or CPU for the services you selected. Check free -h and make monitor, start with n8n only, and enable other services one by one. make doctor checks DNS, certificates and containers.
  • "Dangerous site" warning right after install. Caddy briefly serves a temporary certificate while it gets one from Let's Encrypt. This normally clears within hours; if it lasts more than a day, check make logs s=caddy and your DNS records.
  • Docker images fail to pull. Temporarily disable your VPN. make update retries a failed pull one service at a time. Services that still could not be updated but have an image on the server are started from it and listed at the end; finish them with make pull && make restart. If a service has no image at all, or the local n8n/OpenClaw images cannot be built, make update stops before restarting anything; run make pull, then make update again.
  • make update fails. Force-sync with upstream. This discards local changes to tracked files:
  git config pull.rebase true && git fetch origin && git checkout main && git reset --hard "origin/main" && make update
  
🇨🇳 中文文档镜像 AI 翻译 2026-06-02
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

n8n-install 是一个专为开发者设计的私有化部署 AI 自动化平台。它允许你在自己的服务器上构建一个强大的 AI Homelab,通过集成多种开源工具,实现从本地 LLM 运行到复杂工作流自动化的全栈能力,确保数据隐私与掌控力。

⚡ 功能介绍

本项目集成了多种顶尖 AI 工具:支持通过 Ollama 在本地运行 LLM,并利用 Open WebUI 提供类似 ChatGPT 的交互体验;通过 n8n 实现拥有 400+ 集成能力的自动化工作流;同时支持 Flowise、Dify、LangChain 以及 Qdrant、Weaviate 等向量数据库,构建强大的 AI Agents 与 RAG 应用。所有服务均可通过交互式脚本一键部署。

📋 环境依赖

在开始安装之前,请确保满足以下前提条件:1. 拥有一个已注册的域名(例如 `yourdomain.com`);2. 完成 DNS 配置,将域名的 A 记录指向你服务器的公网 IP 地址,以便 Caddy 进行反向代理和 SSL 证书管理。

🛠 安装步骤(Docker/pip/源码)

推荐使用官方提供的自动化安装脚本进行部署。首先通过 SSH 连接到你的服务器,然后执行以下命令:`git clone https://github.com/kossakovsky/n8n-install && cd n8n-install && sudo bash ./scripts/install.sh`。该脚本会自动完成系统更新、防火墙配置、基础安全设置以及 Docker 容器的编排,实现全自动化的环境搭建。

🚀 使用教程

安装完成后,脚本会生成一份包含所有服务访问 URL 和凭据的总结报告。请务必保存该报告。你可以通过配置好的子域名(如 `n8n.yourdomain.com`)访问各个服务。对于 AI 自动化需求,你可以直接参考 n8n 官方提供的 AI Agent 或 OpenAI Assistant 工作流模板进行快速上手。

⚙️ 配置说明(含 MCP / env)

本项目提供了一个可选的内部工具:Python Runner。它是一个运行在 Docker 内部网络的服务,允许你在与 n8n、Postgres、Qdrant 等服务相同的网络环境下执行自定义 Python 代码。该服务不会暴露外部端口,也不会通过 Caddy 进行代理,确保了高度的安全性。你可以在安装或更新时的 Service Selection Wizard 中手动开启此功能。

🔄 工作流/模块

本项目内置了丰富的社区工作流库,包含超过 300 个预构建的自动化方案。这些工作流涵盖了 AI Agents、Chatbots(支持 RAG、LangChain、Ollama、OpenAI、Claude、Gemini 等)、Gmail 集成以及各类复杂的业务逻辑,支持在安装过程中选择性导入,帮助你快速构建智能化应用。

❓ FAQ 摘要

如果在安装或使用过程中遇到问题,请参考本项目提供的 Troubleshooting 章节。常见的维护工作包括通过交互式向导更新服务或通过 Cloudflare Tunnel 实现零信任安全访问,以隐藏服务器 IP 并获得 DDoS 防护。

🎯 aiskill88 AI 点评 A 级 2026-05-21

优质的AI自动化部署方案,集成度高、组件丰富。活跃维护确保兼容性。适合寻求私有化AI工作流的用户。

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

⚡ 核心功能

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

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • −安装和初始配置可能需要一定技术基础
  • −功能完整性通常不如成熟商业产品
  • −技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

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

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

📄 License 说明

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

🔗 相关工具推荐

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

❓ 常见问题 FAQ

通过Ollama支持本地开源模型如Llama、Mistral等,也可集成OpenAI等云端模型。
💡 AI Skill Hub 点评

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

📚 深入学习 n8n AI工作流自动化
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 n8n-install
原始描述 开源n8n工作流:🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabas。⭐856 · Shell
Topics 工作流自动化本地部署AI智能体开源平台
GitHub https://github.com/kossakovsky/n8n-install
License Apache-2.0
语言 Shell
🔗 原始来源
🐙 GitHub 仓库  https://github.com/kossakovsky/n8n-install 🌐 官方网站  https://github.com/kossakovsky/n8n-install#readme

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

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