能力标签
零栈AI工作流
⚙️
Agent工作流

零栈AI工作流

基于 Rust · 无代码搭建完整 AI 自动化流程
英文名:zerostack
⭐ 1.1k Stars 🍴 73 Forks 💻 Rust 📄 GPL-3.0 🏷 AI 8.0分
8.0AI 综合评分
AIRust工作流智能代理
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:零栈AI工作流 是一款优质的Agent工作流。已获得 1.1k 颗 GitHub Star,AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。

📚 深度解析

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

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

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

📋 工具概览

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

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

📖 中文文档

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

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

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

# 方式二:从源码编译
git clone https://github.com/gi-dellav/zerostack
cd zerostack
cargo build --release
# 二进制在 ./target/release/zerostack
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
zerostack --help

# 基本运行
zerostack [options] <input>

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

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

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

简介

---

Features

  • Multi-provider: OpenRouter, OpenAI, Anthropic, Gemini, Ollama, plus custom providers
  • Standard tools: all of the standard tools exposed to coding agents, as described by the opencode documentation.
  • Permission system: five configurable modes with per-tool patterns, session allowlists, and configurable mode-to-rule application policies
  • Session management: save/load/resume sessions, auto-compaction to stay within context windows
  • Terminal UI: crossterm-based, markdown rendering, mouse selection/copy, scrollback, reasoning visibility toggle
  • Prompts system: switch between system prompt modes at runtime (code, plan, review, debug, etc.) to tailor the agent's behavior to the task without having to manage Skills.
  • MCP support: connect MCP servers for extended tooling (exposed as an optional compile-time feature)
  • Integrated Exa search: allows for WebFetch and WebSearch tools
  • Integrated Ralph Wiggum loops: looping capabilities for long-horizon tasks
  • Integrated Git Worktrees integration: Use /worktree to move the agent from one worktree to another.
  • ACP support (gated): Agent Communication Protocol server — lets editors (Zed, etc.) connect to zerostack as an ACP agent
  • Persistent memory (gated): plain-Markdown memory across sessions: a global MEMORY.md plus per-project daily logs, scratchpad, and notes, injected into the system prompt each session
  • Lifecycle hooks (gated): observe or gate tool calls, prompts, and session lifecycle events via external commands, using a settings.json schema largely compatible with Claude Code hooks
  • Advisor (gated): a second model the agent can consult mid-session for strategic guidance, with an optional human-handoff mode
  • Multimodal input (gated): attach images and PDFs to messages
  • Subagents: Parallel and fast, used for exploring the codebase
  • ARCHITECTURE.md: Our own companion file for AGENTS.md, it allows to offer a shared core knowledge for all agents working on the same codebase
  • Prompt chaining: offers to advance brainstorm → plan → code → review as each phase finishes, config-gated per transition
  • Status signals: emits start/stop/git-conflict events over a Unix socket for external status bars or tooling

NOTE: Windows support is not tested is any way, but feel free to try and open an issue if you encounter any bugs!

With all features

cargo install zerostack --all-features

With specific features

cargo install zerostack --features acp,memory,hooks,advisor ```

Installation

brew install multistack # Run this to also install multistack (parallel agent manager)

```

Quick start

```bash

Loop usage

/loop Implement the user authentication system
/loop stop
/loop status
  • /loop <prompt> — Start a loop with the given prompt
  • /loop stop — Stop the active loop
  • /loop status — Show current loop state

Each iteration includes the original task, the evolving LOOP_PLAN.md, a summary of the previous iteration, and any validation output. Non-slash input is blocked while a loop is active.

Git worktree usage

The worktrees integrations offers 3 slash commands:

CommandDescription
/worktree <name>Create a git worktree on a new branch <name> and move into it. Fails if the branch exists or the target path is occupied
/wt-merge [branch]Merge the worktree branch into [branch] (default: main/master), clean up, and return to the main repo. Does not push — run git push yourself
/wt-exitReturn to the main repo without merging

Example workflow for git worktrees

  1. Create/worktree feature-x creates a new branch and worktree directory and moves you there.
  2. Work — Use zerostack normally; changes stay on the feature branch.
  3. Merge/wt-merge tells the agent to merge the branch, push, clean up, and return to the main repo.
  4. Exit/wt-exit immediately returns to the main repo without merging.

ACP usage

```bash

Optional: sandbox mode

Install bubblewrap for --sandbox, which runs every bash command inside an isolated environment to contain the damage a mistaken command can do to your system (a seatbelt, not a boundary against untrusted code):

```bash

Configuration

See docs/CONFIG.md for config file location, accepted keys, provider aliases, permission rules, and MCP server configuration.

You can run /prompt autoconfig in order to use a specialized agent that allows to navigate the documentation and customize your zerostack setup.

ACP config

In ~/.local/share/zerostack/config.yaml:

acp_servers:
  my-editor:
    host: 127.0.0.1
    port: 7243

ACP mode requires setting up an LLM provider (the standard --provider, --model, and API key env vars apply). Without it, zerostack cannot process prompts.

Set your API key (OpenRouter is default)

export OPENROUTER_API_KEY="[api_key]"

Git worktrees integration

zerostack provides a branch-per-task workflow using git worktrees. You can create, work in, merge, and exit worktrees entirely from the chat UI.

NOTE The git worktrees integration is an experimental feature.

Side questions (`/btw`)

/btw <message> asks a quick "by the way" question in parallel with the main agent, without interrupting it. Like /queue, it works even while the agent is busy. It forks the current context (including a trace of the agent's in-flight turn, when one is running) and answers using four read-only tools (read, grep, find_files, list_dir); it cannot write files or run commands. It then prints the reply inline. Nothing is written to conversation history, and its token usage is tracked separately in the status bar as btw:…. Press Ctrl-C to cancel an in-flight /btw without disturbing the main agent.

You can point a question at a specific file with @: pick /btw from the command menu, then type @ to open the file picker (for example /btw then @src/main.rs then "how does this work?"), and /btw reads the file you reference.

🇨🇳 中文文档镜像 AI 翻译 2026-06-04
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

zerostack 是一个开源项目,旨在提供一个多供应商的编程代理系统,支持多种编程语言和工具。它提供了一个标准的工具集,包括权限系统、会话管理和多供应商支持。

⚡ 功能介绍

zerostack 的主要功能包括多供应商支持(OpenRouter、OpenAI、Anthropic 等)、标准工具集、权限系统和会话管理。它还支持自定义供应商和配置模式。

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

安装 zerostack 需要先安装 Cargo 和 Git,然后运行 `cargo install zerostack` 即可。也可以使用 Docker 或源码方式安装。

🚀 使用教程

zerostack 的使用方法包括使用 `/loop` 命令循环执行任务、使用 `/worktree` 命令管理 Git 工作树以及使用 `/prompt` 命令自定义代理设置等。

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

zerostack 的配置文件位于 `~/.local/share/zerostack/config.json` 中,包含了 MCP 服务器配置、权限规则和供应商配置等信息。用户可以使用 `/prompt autoconfig` 命令自动生成配置文件。

🔌 API 说明

zerostack 支持 OpenRouter API,用户需要设置 API 密钥才能使用 zerostack。API 密钥可以通过环境变量 `OPENROUTER_API_KEY` 设置。

🔄 工作流/模块

zerostack 支持使用 Git 工作树来管理任务,用户可以使用 `/worktree` 命令创建、工作和合并工作树。zerostack 还支持使用 ACP 来与编辑器进行通信,用户可以使用 `cargo install zerostack --features acp` 来安装 ACP 支持。

❓ FAQ 摘要

zerostack 的常见问题包括如何使用 `/btw` 命令、如何配置 ACP 服务器以及如何使用 Git 工作树等。

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

高性能AI工作流,值得关注

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

⚡ 核心功能

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

👥 适合人群

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

🎯 使用场景

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

⚖️ 优点与不足

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

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

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

📄 License 说明

⚠️ GPL 3.0 — 强 Copyleft,衍生作品须开源,含专利保护条款,不可闭源使用。

🔗 相关工具推荐

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

❓ 常见问题 FAQ

zerostack 是一款Rust开发的AI辅助工具。开源AI工作流:Minimal coding agent written in Rust, optimized for memory footprint and perform。⭐1.1k · Rust 主要应用场景包括:自动化工作流和AI任务。
💡 AI Skill Hub 点评

总体来看,零栈AI工作流 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码(GPL)
⚠️ 本工具使用 GPL-3.0 协议。您可以自由下载和使用,但衍生作品必须以相同协议开源,不可商业闭源。使用前请确认符合协议要求。
📚 深入学习 零栈AI工作流
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 zerostack
原始描述 开源AI工作流:Minimal coding agent written in Rust, optimized for memory footprint and perform。⭐1.1k · Rust
Topics AIRust工作流智能代理
GitHub https://github.com/gi-dellav/zerostack
License GPL-3.0
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/gi-dellav/zerostack 🌐 官方网站  https://gi-dellav.github.io/zerostack/

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

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