agentic_coding_flywheel_setup Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。已获得 1.5k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
面向开发者的开源工作流,可自动将Ubuntu VPS配置成完整的多智能体AI开发环境。集成多种AI工具链和工作流框架,支持快速启动AI代理项目。适合需要快速搭建AI开发基础设施的工程师和创业团队。
agentic_coding_flywheel_setup Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
面向开发者的开源工作流,可自动将Ubuntu VPS配置成完整的多智能体AI开发环境。集成多种AI工具链和工作流框架,支持快速启动AI代理项目。适合需要快速搭建AI开发基础设施的工程师和创业团队。
agentic_coding_flywheel_setup Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup cd agentic_coding_flywheel_setup # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 agentic_coding_flywheel_setup --help # 基本运行 agentic_coding_flywheel_setup [options] <input> # 详细使用说明请查阅文档 # https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup
# agentic_coding_flywheel_setup 配置说明 # 查看配置选项 agentic_coding_flywheel_setup --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENTIC_CODING_FLYWHEEL_SETUP_CONFIG="/path/to/config.yml"
Displays installation status in under 1 second by reading cached state (no verification).
acfs info # Terminal output (default)
acfs info --json # JSON output for scripting
acfs info --html # Self-contained HTML page
acfs info --minimal # Just essentials (IP, key commands)
Example output:
╔══════════════════════════════════════════════════════════════╗
║ ACFS System Info ║
╠══════════════════════════════════════════════════════════════╣
║ Host: vps-12345.contabo.net ║
║ IP: 192.168.1.100 ║
║ User: ubuntu ║
║ Uptime: 3 days, 4 hours ║
║ ║
║ Quick Commands: ║
║ cc → Claude Code (dangerous mode) ║
║ cod → Codex CLI (dangerous mode) ║
║ agy → Antigravity CLI (Gemini 3.8 Flash High) ║
║ ntm → Named Tmux Manager ║
╚══════════════════════════════════════════════════════════════╝
Design Philosophy: - Speed: Must complete in <1 second - Read-only: Never verifies or tests (that's doctor's job). The one write it makes is benign: successful IP lookups are cached for an hour at ~/.acfs/cache/ip_address so repeat runs stay fast - Offline: No network calls; IP discovery reads local interfaces and routing tables only - Fallback: Graceful degradation if data missing
<p align="center"> <strong>🌐 <a href="https://agent-flywheel.com">agent-flywheel.com</a></strong> — Interactive setup wizard for beginners </p>
From zero to fully-configured agentic coding VPS in 30 minutes. A complete bootstrapping system that transforms a fresh Ubuntu or Arch-based machine into a professional AI-powered development environment.
|
The Vision Beginner with laptop → Wizard → VPS → Agents coding for you |
{ acfs_installer="$(curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh")" || acfs_installer="$(curl -fsSL "https://cdn.jsdelivr.net/gh/Dicklesworthstone/agentic_coding_flywheel_setup@main/install.sh")"; } && printf '%s\n' "$acfs_installer" | bash -s -- --yes --mode vibe
[!NOTE]raw.githubusercontent.comis listed first deliberately. jsDelivr caches a mutable@mainreference, so it can serve an installer that is hours or days behind the repository. When that happens the stale installer's bootstrap extraction list does not match the current checksum ledger and the install fails withINTEGRITY: <file> missing— a failure that looks like a repository defect but is purely a CDN cache artifact. Keeping the authoritative source primary and the CDN as fallback preserves the resilience without that failure mode. Please do not reorder these. Each download is buffered before execution so a failed request cannot concatenate a partial installer with the fallback response.
The installer is idempotent—if interrupted, simply re-run it. It will automatically resume from the last completed phase without prompts.
Production environments: For stable, reproducible installs, pin to a tagged release or specific commit:Tagged releases are tested and stable. Passing> # Preferred: use a tagged release (e.g., v0.9.0) > curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/v0.9.0/install.sh" | bash -s -- --yes --mode vibe --ref v0.9.0 > > # Alternative: pin to a specific commit SHA > curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/abc1234/install.sh" | bash -s -- --yes --mode vibe --ref abc1234 >--refensures all fetched scripts use the same version.
---
./scripts/lib/security.sh --update-checksums > /tmp/acfs-checksums.candidate.yaml diff -u checksums.yaml /tmp/acfs-checksums.candidate.yaml # Review what changed cp /tmp/acfs-checksums.candidate.yaml checksums.yaml git commit -m "chore: update upstream checksums" ```
The installer is the heart of ACFS—a modular Bash script that transforms a fresh Ubuntu or Arch-based machine into a fully-configured development environment.
| Mode | Passwordless Sudo | Agent Flags | Best For |
|---|---|---|---|
| **vibe** | Yes | --dangerously-skip-permissions | Throwaway VPS, maximum velocity |
| **safe** | No | Standard confirmations | Production-like environments |
The installer provisions a few keys in ~/.claude/settings.json, always merging non-destructively (a value you have already set is never overridden):
| Key | Value | Mode | Why |
|---|---|---|---|
cleanupPeriodDays | 99999 | all modes | Claude Code silently deletes session transcripts older than this (default **30 days**) from ~/.claude/projects — with no warning or log line. That default destroys history before cass can index it, so ACFS sets an explicit high value; lower it yourself if you actually want pruning. |
skipDangerousModePermissionPrompt | true | vibe only | Avoids interactive workspace-trust prompts for coding agents. |
Before a verified installer replaces a tool binary, the previous binary is retained at <binary>.prev. After the install, a smoke check probes the fresh binary with a per-tool argument (update_tool_smoke_probe in scripts/lib/update.sh: fsfs version, mdwb --help, pfr --help) or, for tools without an entry, the chain --version → --help → version. Every probe is headless-safe and runs with stdin detached under a 20 s ceiling. Verdicts:
- healthy — a probe exited 0. - unsupported — every probe was rejected as an unknown argument (usage error). The binary ran, so it is kept and logged as POST-INSTALL VERIFICATION UNAVAILABLE; no rollback, no backoff. - broken — a probe timed out, could not execute, died by signal, or failed without a usage-style rejection (crash, traceback, missing runtime). The previous binary is restored atomically and the failure is recorded in ~/.local/state/acfs/update-rollback.state so nightly runs back off instead of reinstalling the same broken release every night.
acfs doctor reports rolled back tools; acfs-update --force retries immediately.
acfs-update exit codes distinguish partial from total failure: 0 all succeeded, 1 total failure (nothing updated), 2 partial failure (some tools updated, some failed).
The installer transforms a fresh VPS. The update command maintains an existing installation. Separating them allows: - Focused updates: Update just agents without touching system packages - Dry-run previews: See what would change before committing - Skip flags: Temporarily exclude categories that are working fine - Stack control: Stack updates are included by default; skip with --no-stack - Automated updates: Run via cron with --yes --quiet
---
Build a portable acfs-installer-cache/ directory containing the checksum-pinned upstream installer scripts selected from acfs.manifest.yaml. On Ubuntu, pass either that directory or its parent to a later installation:
acfs installer-cache build --output /mnt/acfs-cache
./install.sh --yes --verified-installer-cache /mnt/acfs-cache
Explicit cache selection is fail-closed: if a required cached entrypoint is missing, stale, malformed, for another Ubuntu/architecture target, or does not match the current manifest and checksums.yaml, ACFS refuses it instead of fetching that entrypoint live.
This is not a complete offline installer. The cached entrypoint scripts still need network access for release archives, package registries, Git repositories, APT packages, and other transitive payloads. The initial ACFS bootstrap is also separate; use --bootstrap-archive for that layer. The roadmap below retains full pre-downloaded package bundles as future work.
Interactive wizard for configuring AI agent credentials and cloud service logins.
acfs services-setup # Run full setup wizard
Guides you through: - Claude Code: API key configuration - Codex CLI: ChatGPT account login - Antigravity CLI: Google account authentication - GitHub CLI: gh auth login - Cloud CLIs: Wrangler, Supabase, Vercel authentication
Also offers to install DCG (Destructive Command Guard), a Claude Code hook that blocks destructive commands like rm -rf /.
Full vibe mode (recommended for throwaway VPS):
{ acfs_installer="$(curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh")" || acfs_installer="$(curl -fsSL "https://cdn.jsdelivr.net/gh/Dicklesworthstone/agentic_coding_flywheel_setup@main/install.sh")"; } && printf '%s\n' "$acfs_installer" | bash -s -- --yes --mode vibe
Interactive mode (asks for confirmation):
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash
Safe mode (no passwordless sudo, agent confirmations enabled):
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash -s -- --mode safe
acfs-update # Update apt, runtimes, shell, agents, cloud CLIs, and stack tools
acfs-update --agents-only # Only update coding agents
acfs-update --runtime-only # Only update runtimes (bun, rust, uv, go)
acfs-update --dry-run # Preview changes without making them
acfs-update --yes --quiet --no-self-update
# Automated mode that avoids changing the ACFS tree itself
acfs-update --bootstrap-self-update
# Explicitly convert a non-git or incomplete install into a git checkout
--bootstrap-self-update replaces ACFS repository files with origin/main. Copy local files elsewhere or commit local edits before opting in. Routine updates leave non-git and incomplete Git installs untouched.
The control-plane boundary: with --no-self-update (the shipped nightly timer's default), automated runs update your stack tools but never ACFS itself -- neither the git checkout nor the deployed runtime copies under ~/.acfs (bin/acfs, bin/acfs-update, scripts/lib/*.sh). The control plane therefore needs its own periodic refresh: run acfs-update without --no-self-update from time to time, or git pull --rebase the checkout and then run acfs-update --shell-only to redeploy the runtime copies. acfs doctor warns (updates.runtime_skew) when the checkout and the deployed runtime disagree, so a stack kept current by the nightly cannot silently outrun a stale dispatcher.
ACFS generates a machine-wide agent guide (installed tools with live versions, workflows, safety rules). The guide lives only in ACFS-owned storage, and ACFS refreshes it there on install/update:
~/.acfs/docs/flywheel-agent-guide.md # canonical, freely regenerated by ACFS
~/.acfs/docs/AGENTS.workspace.md # workspace AGENTS.md template (canonical copy)
ACFS never automatically writes /AGENTS.md, ~/.codex/AGENTS.md, or a project's AGENTS.md — those files can contain user-authored rules and belong to you. (/data/projects/AGENTS.md is seeded once on a fresh install only when absent, and is never overwritten afterward.) Deploying the guide into a real instruction surface is an explicit step:
acfs agents update # regenerate the canonical guide
acfs agents path # print the canonical path
acfs agents install --codex-global # deploy to ~/.codex/AGENTS.md (Codex global scope)
acfs agents install --project DIR # deploy to DIR/AGENTS.md (project scope)
acfs agents install --workspace # deploy to /data/projects/AGENTS.md
acfs agents install --root # deploy to /AGENTS.md (legacy; not auto-discovered)
acfs agents install --to PATH # deploy anywhere else
Deployment creates the destination only when it is absent. If the destination already exists with different content, the deploy refuses, leaves your file untouched, and writes a merge candidate next to it (<dest>.acfs-new) so you can diff and merge manually. Redeploying identical content is an idempotent no-op.
Discovery scopes worth knowing: Codex reads global guidance from ~/.codex/AGENTS.md and project guidance from the project root down to the working directory; filesystem-root /AGENTS.md is not automatically read by any major harness, which is exactly why ACFS no longer writes it.
Tool detection always runs in the target user's context (including under sudo, resolved via SUDO_USER with ~/.local/bin, ~/go/bin, etc. on PATH), so user-local tools are reported accurately.
Category Selection:
--apt-only Only update system packages
--agents-only Only update coding agents
--cloud-only Only update cloud CLIs
--shell-only Only update shell tools (OMZ, P10K, plugins, Atuin, Zoxide)
--runtime-only Only update runtimes (bun, rust, uv, go)
--stack Include Agent Flywheel stack tools (enabled by default)
Skip Categories:
--no-apt Skip apt updates
--no-agents Skip agent updates
--no-cloud Skip cloud CLI updates
--no-shell Skip shell tool updates
--no-runtime Skip runtime updates (bun, rust, uv, go)
Behavior:
--force Install missing tools (not just update existing)
--dry-run Preview changes without making them
--yes, -y Non-interactive mode (skip prompts)
--quiet, -q Minimal output (only errors and summary)
--verbose, -v Show detailed command output
--abort-on-failure Stop on first failure (default: continue)
After installation, the acfs command provides a unified interface for managing your environment. Each subcommand is designed to be fast, informative, and scriptable.
acfs info # Lightning-fast system overview
acfs cheatsheet # Discover installed aliases
acfs dashboard generate # Generate HTML status page
acfs doctor # Health checks
acfs newproj # Create a new project (TUI or CLI)
acfs agents update # Regenerate the flywheel agent guide (ACFS-owned)
acfs agents install --help # Explicitly deploy the guide (never overwrites)
acfs update # Update all tools
acfs holds # List per-tool version holds (acfs hold/unhold to manage)
acfs services status # Check Agent Mail, CM, and CASS daemons
acfs services-setup # Configure agent credentials
acfs continue # View upgrade progress after reboot
acfs installer-cache build # Cache checksum-pinned installer entrypoints
The Command Reference documents every installed tool:
| Category | Commands |
|---|---|
| **Agents** | cc, cod, agy |
| **Search** | rg, fd, sg, fzf |
| **Git** | lg, gh, git-lfs |
| **System** | z, bat, lsd, atuin, tmux |
| **Stack** | ntm, am, br, bv, cass, cm, ubs, dcg, ru, rch, slb, caam |
| **Languages** | bun, uv, cargo, go |
| **Cloud** | wrangler, supabase, vercel, vault |
| Component | Path | Technology | Purpose |
|---|---|---|---|
| **Manifest** | acfs.manifest.yaml | YAML | Single source of truth for all tools |
| **Generator** | packages/manifest/src/generate.ts | TypeScript/Bun | Produces installer scripts from manifest |
| **Website** | apps/web/ | Next.js 16 + Tailwind 4 | Step-by-step wizard for beginners |
| **Installer** | install.sh | Bash | One-liner bootstrap script |
| **Lib Scripts** | scripts/lib/ | Bash | Modular installer functions |
| **Generated Scripts** | scripts/generated/ | Bash/data | Source-only category libraries and harness, doctor checks, manifest metadata, and the schema-1 internal checksum ledger |
| **Configs** | acfs/ | Shell/Tmux configs | Files deployed to ~/.acfs/ |
| **Onboarding** | acfs/onboard/ | Bash + Markdown | Interactive tutorial system |
| **Checksums** | checksums.yaml | YAML | SHA256 hashes for upstream installers |
---
The TypeScript generator (packages/manifest/src/generate.ts) reads the manifest and produces:
1. Category Libraries (scripts/generated/install_base.sh, install_agents.sh, etc.) - One source-only file per category with private module functions - Consistent logging and error handling - Verification checks after each module - Direct execution fails closed because a single category cannot satisfy cross-category dependencies
2. Doctor Checks (scripts/generated/doctor_checks.sh) - All verify commands extracted into a runnable health check - Tab-delimited format (to safely handle || in shell commands) - Reports pass/fail/skip for each module
3. Generated Harness (scripts/generated/install_all.sh) - Sources all category libraries - Invokes private module functions in global dependency order - Sourceable generated-module harness; direct execution refuses because it omits orchestration-owned modules and production dispatcher semantics
4. Runtime Data (scripts/generated/manifest_index.sh, internal_checksums.sh) - Deterministic module/category/generated-ownership metadata - Closed-grammar schema-1 digests for checksum-controlled runtime scripts
Note: Productioninstall.shis the only supported installation entry point. It sources the category libraries and dispatches their private functions through its phase runner; it does not callinstall_all.sh.
To regenerate after manifest changes:
cd packages/manifest
bun run generate # Generate scripts
bun run generate:dry # Preview without writing
The wizard website includes specialized components for guiding beginners:
ConnectionCheck Component: A prominent visual that helps users verify they're connected to their VPS before running commands: - Side-by-side comparison: "Wrong (laptop)" vs "Right (VPS)" - Terminal prompt examples for Windows, Mac, and Linux - Clear "STOP!" warning with color-coded styling
CommandCard Component: CLI instruction cards with: - Syntax-highlighted code blocks - One-click copy button - Platform-specific variations (bash/zsh/PowerShell) - Expandable explanations
Jargon Component (Responsive Technical Terms): A tooltip system (apps/web/components/jargon.tsx) that adapts to the pointer type:
Desktop behavior: - Hover or keyboard focus reveals a floating definition card, rendered through a portal so it escapes stacking contexts - Viewport-aware positioning (auto-flips when near edges) - A short close delay so the pointer can travel into the card
Mobile behavior: - Tap opens a bottom sheet (apps/web/components/ui/bottom-sheet.tsx, framer-motion) with the full definition - Swipe-to-dismiss from the handle, Escape and backdrop dismissal, focus returned to the term - Body scroll locked while open and restored on close
Visual features: - Dotted primary-colored underline marks a term as interactive - Reduced-motion users get fades instead of slides - Colors come from the OKLCH design tokens
Content structure per term:
{
term: "VPS",
short: "Virtual Private Server - a remote computer you rent",
long: "A VPS is your own slice of a powerful computer...",
analogy: "Think of it like renting an apartment in a building",
whyWeUseIt: "You get root access, dedicated resources...",
relatedTerms: ["SSH", "Ubuntu", "RAM"]
}
Confetti Celebration: On lesson completion: - Burst of celebratory confetti particles - Randomized encouraging messages - Special celebration for completing all lessons - Respects prefers-reduced-motion setting
Stepper Component: Multi-step progress indicator: - Visual step-by-step progress - Clickable navigation - Completion checkmarks - Mobile-responsive design
优秀的基础设施自动化项目,降低AI开发环境搭建门槛。Star数合理,维护活跃,对需要快速迭代的团队很有价值。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,agentic_coding_flywheel_setup Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | agentic_coding_flywheel_setup |
| 原始描述 | 开源AI工作流:Bootstraps a fresh Ubuntu VPS into a complete multi-agent AI development environ。⭐1.5k · Shell |
| Topics | 多智能体自动化部署AI开发环境VPS配置工作流自动化 |
| GitHub | https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup |
| License | NOASSERTION |
| 语言 | Shell |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端