Cadence 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Cadence 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Cadence 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g cadence # 方式二:npx 直接运行(无需安装) npx cadence --help # 方式三:项目依赖安装 npm install cadence # 方式四:从源码运行 git clone https://github.com/axledbetter/cadence cd cadence npm install npm start
# 命令行使用
cadence --help
# 基本用法
cadence [options] <input>
# Node.js 代码中使用
const cadence = require('cadence');
const result = await cadence.run(options);
console.log(result);
# cadence 配置说明 # 查看配置选项 cadence --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CADENCE_CONFIG="/path/to/config.yml"
Formerly known as@delegance/claude-autopilot. As of v8.0.0 the package has been renamed to@delegance/cadenceand the CLI binary iscadence. The oldclaude-autopilot(andguardrail) bins remain as aliases through the v8.x line. CLI / global-install migration:Library / in-process import migration is NOT alias-backed. The bin aliases (> # Uninstall BOTH legacy packages first to avoid global-bin collisions > npm uninstall -g @delegance/claude-autopilot @delegance/guardrail > npm install -g @delegance/cadence > cadence --version # 8.0.0 >claude-autopilot,guardrail) keep working through v8.x, but do not rely on legacy package imports for v8 code — update all@delegance/claude-autopilot/...imports to@delegance/cadence/...immediately.@delegance/claude-autopilotis deprecated and its subpath exports (.../run-state/sameness-detector,.../concurrent-dispatch) are reachable only under the new@delegance/cadencename:The old npm package is deprecated but still installable; the GitHub repo at> // before > import { computeFingerprint } from '@delegance/claude-autopilot/run-state/sameness-detector'; > // after (v8.0.0) > import { computeFingerprint } from '@delegance/cadence/run-state/sameness-detector'; >axledbetter/claude-autopilotredirects toaxledbetter/cadence.
The multi-model coding harness. Claude writes, Codex reviews, Cursor bugbot triages — role-split orchestration across 16+ providers (Anthropic, OpenAI, Google, Groq, Ollama, Bedrock, Azure, Cohere, Mistral, plus any OpenAI-compatible endpoint). Risk-tiered review depth. Concurrent multi-PR dispatch. Brainstorm → spec → plan → implement → migrate → validate → PR → review → merge, from your terminal, on your codebase, with your test suite.
Open source, MIT-licensed, runs on your machine with your API keys. No hosted agent, no per-seat subscription — npm install -g @delegance/cadence@latest and you're done.
cadence brainstorm "add rate limiting to the public API"
Features that are hard or impossible to find in the competitive set:
risk: low | medium | high in their frontmatter, with auto-escalation by keyword detection for sensitive categories (auth, multi-tenancy, sandboxing, billing, secrets, migrations, RLS, deploy/IAM, vector-DB tenancy — extend the list in the skill for your codebase). The pipeline runs 1 / 2 / 3 sequential Codex passes accordingly, each with a remediation cycle in between. Enforcement is encoded in .claude/skills/autopilot/SKILL.md (LLM-driven instructions, not a hard CLI gate), so it's auditable and editable. For teams that need hard enforcement, gate the merge step on the configured pass count by extending the skill or wrapping the CLI.@delegance/cadence/run-state/sameness-detector) for embedding into your own retry loops.cadence council dispatches the same prompt to 3+ models in parallel and synthesizes the consensus. Opt-in for the autopilot pipeline (wire it into Step 7 of the autopilot skill), or invoke standalone for design decisions and architecture questions.cadence fix --verify runs your full test suite after every patch and reverts on failure. Safer than any tool that proposes fixes without running your tests.The v7.x decoupling work (initially scoped for v8.0.0) is being re-staged now that v8.0.0 is reserved for the Cadence brand reset:
- tsx will eventually be removed from dependencies. Today it ships bundled and the launcher prefers a project-local install if you have one, falling back to the bundled copy with a once-per-day deprecation warning. When the bundled fallback goes away in a future major, you'll install tsx locally (npm install -D tsx) or set CLAUDE_AUTOPILOT_TSX=path to use a global install. (The env-var name keeps the CLAUDE_AUTOPILOT_ prefix for backward compatibility — renaming it would force another breaking change on operators for zero payoff.) - The hosted-dashboard upload may move to a separate optional package (@delegance/cadence-cloud) so you can skip Supabase entirely with npm install --omit=optional today, and skip the dep entirely later. The smoke workflow .github/workflows/omit-optional-smoke.yml verifies the install-with-omit path on every PR.
Track future plans and open issues at https://github.com/axledbetter/cadence/issues
npm install -g @delegance/cadence
Migrating from the old name? npm uninstall -g @delegance/claude-autopilot && npm install -g @delegance/cadence. The legacy claude-autopilot CLI continues to work as an alias through v8.x.
gh CLI (for PR phases)ANTHROPIC_API_KEY (recommended), OPENAI_API_KEY, GEMINI_API_KEY, or GROQ_API_KEYsuperpowers Claude Code plugin (required for pipeline phases — cadence doctor will remediation-hint if missing)---
---
npm install -g @delegance/cadence
cadence init
Configure your deploy target in guardrail.config.yaml under a deploy: block. Four adapters ship in 5.6:
vercel — Vercel v13 deployments API. SSE+NDJSON log streaming, native rollback via /promote. Auth: VERCEL_TOKEN.fly — Fly.io Machines API. WebSocket log streaming, native rollback with simulated fallback. Auth: FLY_API_TOKEN. Requires the image to be pre-pushed (fly deploy --build-only --push).render — Render REST API. Polling-based log stream with (timestamp, logId) cursor dedup, simulated rollback (re-deploys prior commit). Auth: RENDER_API_KEY.generic — runs any shell deployCommand (vercel --prod, kubectl apply, make deploy, etc). No platform integration; --watch and rollback aren't supported.Each adapter speaks the same DeployAdapter contract: deploy(), optional status() / rollback() / streamLogs(), plus a capabilities block (streamMode: 'websocket' | 'polling' | 'none', nativeRollback: boolean) so the CLI can degrade UX honestly (polling adapters print a one-line stderr notice under --watch). Auto-rollback is bounded: max one rollback per deploy attempt, with runHealthCheck capped at 5×6s. Log lines emitted into PR comments run through a redaction pass (AKIA…, sk-…, eyJ…, ghp_, xoxb-, plus configurable patterns) so build output can't leak secrets.
Example (Fly):
deploy:
adapter: fly
app: my-app
image: registry.fly.io/my-app:latest
region: ord
watchBuildLogs: true
healthCheckUrl: https://my-app.fly.dev/health
rollbackOn: [healthCheckFailure]
cadence doctor checks for the relevant auth env var when an adapter is configured. See docs/specs/v5.6-fly-render-adapters.md for the full adapter contract.
guardrail setup --profile <name> overlays a pre-baked rule + policy configuration on top of the detected stack preset:
| Profile | Rules | failOn | Best for |
|---|---|---|---|
security-strict | All security rules + hygiene | warning | Security audits, regulated environments |
team | Core security + hygiene | critical | Standard CI/CD on shared branches |
solo | Hygiene only | critical | Solo projects, low-noise baseline |
**Azure OpenAI:**yaml reviewEngine: adapter: azure
**Mistral:**yaml reviewEngine: adapter: mistral # Optional: # options: # model: mistral-large-latest
```
---
npx guardrail ci --new-only --fail-on critical
npm install -g @delegance/cadence
```bash
engine: enabled: true # default in v6.1+; explicit false is deprecated and removed in v7 budgets: perRunUSD: 10 # hard stop; mandatory runtime guard perPhaseUSD: 5
bash cadence scan --all # any command — engine writes a per-run dir cadence runs list # newest-first, with status / cost / lastPhase cadence runs show 01HZK7P3D8Q9V… # state snapshot + optional event tail cadence run resume 01HZK7P3D8Q9V… # lookup-only today; live execution in a later v8.x cadence runs gc --older-than-days 7 # retire completed runs ```
Every state transition appends a typed event to .guardrail-cache/runs/<ulid>/events.ndjson; every CLI verb supports --json with strict stdout-envelope / stderr-NDJSON channel discipline. Side-effect phase replay consults persisted externalRefs plus a live provider read-back so resume is safe by construction.
v6.1+ ships with the engine ON by default (flipped from v6.0's off-by-default after the stabilization criteria in docs/specs/v6.1-default-flip.md were met). Users who want the legacy v5.x output shape can opt out for one minor version via --no-engine, CLAUDE_AUTOPILOT_ENGINE=off, or engine.enabled: false — each prints a deprecation warning and is removed in v7.
→ docs/v6/quickstart.md — five-minute setup → docs/v6/migration-guide.md — full v5.x → v6 walkthrough with precedence matrix, per-phase idempotency rules, and troubleshooting
```yaml configVersion: 1 reviewEngine: adapter: auto # auto-selects best available key at runtime testCommand: npm test # null to disable; used by fix verified mode
protectedPaths: - data/deltas/ - .github/workflows/
staticRules: - hardcoded-secrets # Anthropic, OpenAI, Stripe, GitHub, Supabase, Twilio, SendGrid - npm-audit - sql-injection # template literals / concatenation in SQL context - missing-auth # Next.js/pages API routes with POST/PUT/DELETE, no auth pattern - ssrf # HTTP calls with user-controlled URL - insecure-redirect # redirect() with user-controlled target - console-log - todo-fixme - large-file - missing-tests - package-lock-sync - brand-tokens # opt-in: requires brand: block below
**Cohere:**yaml reviewEngine: adapter: cohere # Optional: # options: # model: command-r-plus-08-2024
Each phase is a Claude Code skill (.claude/skills/<name>/SKILL.md). You can invoke any phase directly (/brainstorm, /plan, /migrate, /validate) without running the full pipeline. You can also rewire the pipeline by editing the autopilot skill.
| Phase | Skill | What it does | Model role | |||
|---|---|---|---|---|---|---|
| **Brainstorm** | brainstorming | Turns a rough idea into an approved spec through guided questions | Claude (implementation model) | |||
| **Spec review** | codex-review | Second model critiques the spec before you commit to it | Codex / GPT-5 | |||
| **Plan** | writing-plans | Breaks spec into phased, checklist-shaped implementation plan | Claude | |||
| **Plan review** | codex-review | Second model critiques the plan before you execute it | Codex / GPT-5 | |||
| **Implement** | subagent-driven-development | Executes plan in a git worktree, one phase at a time, with per-phase tests | Claude | |||
| **Migrate** | migrate | Dispatches to the configured migration skill (see [Migrate phase](#migrate-phase)) — runs your migration tool dev → QA → prod with per-env validation | Deterministic | |||
| **Validate** | validate | Static rules + tests + type check + security scan + LLM review | Any | |||
| **PR** | commit-push-pr | Opens the PR with auto-generated title, summary, and test plan | Claude | |||
| **Review** | codex-pr-review (default) or council (opt-in) | Sequential Codex pass on the diff with risk-tiered iteration count (1/2/3 passes for low/medium/high). Swap in council for parallel multi-model dispatch if you want higher rigor. | Codex (default) or multi-model | |||
| **Triage** | bugbot | Fetches automated reviewer findings, auto-fixes real bugs, dismisses false positives | Claude | |||
| **Deploy** (opt-in) | deploy | Deploys via configured adapter (vercel \ | fly \ | render \ | generic) with optional log streaming, health check, and bounded auto-rollback (see [Deploy phase](#deploy-phase)). Not on the default /autopilot critical path: the autopilot loop ends at merge, and your CI/CD handles prod. Invoke cadence deploy directly, or wire it into the autopilot skill as Step 10. | Deterministic |
```bash
| Tool | Where code lives | Pricing model | Models | Pipeline | Intervenable? |
|---|---|---|---|---|---|
| **Devin** (Cognition) | Hosted sandbox | Per-ACU (cloud markup) | Cognition's stack | Opaque | No — dashboard only |
| **Factory Droids** | Hosted | Per-task + seat | Factory's stack | Fixed | Limited |
| **GitHub Copilot Workspace** | GitHub-hosted | Per-seat ($) | Copilot only | Fixed, non-extensible | Edit the plan |
| **Cursor / Copilot agent mode** | Local IDE | Per-seat ($) | Vendor's model | None — single-shot | Continuous |
| **Cursor BugBot / CodeRabbit** | Hosted | Per-PR or seat | Vendor's model | Review only | Post-hoc |
| **Aider / Cline** | Local CLI | Free + your API key | User's choice | None | Continuous |
| **OpenHands / SWE-agent** | Local research | Free | User's choice | Agent decides | Rare |
| **Cadence** (formerly claude-autopilot) | **Local CLI, your repo** | **Open source CLI + your model/API costs (Claude / Codex / Gemini / Groq / Ollama-local)** | **Multi-model per role (Claude + Codex + Gemini)** | **Skill-per-phase, rewireable** | **Every phase, all state on disk** |
Four things only this product gives you:
openai-compatible pointed at Ollama). Pointing only the review adapter at Ollama still ships prompts/diffs to Anthropic via Claude Code. For most teams, local-only isn't the goal; "no hosted orchestration + your existing provider keys" is.risk: low | medium | high in frontmatter. The autopilot skill runs 1 / 2 / 3 sequential Codex passes accordingly, each with a remediation cycle in between. Enforcement is encoded in the skill (an LLM-driven instruction set, not a hard CLI gate) so it's auditable and editable: read .claude/skills/autopilot/SKILL.md, swap the tier rules for your codebase, expand the auto-escalation keyword list. Designed for teams that want review depth to scale with change risk instead of running forensic-grade review on every typo./brainstorm, /autopilot, /migrate, /validate are first-class Claude Code commands. As Claude Code grows, autopilot rides that adoption. You don't switch tools to use it; it's already there.cadence council dispatches the same diff or design question to Claude + Codex + Gemini in parallel and synthesizes the consensus. Wire it into the autopilot pipeline by editing .claude/skills/autopilot/SKILL.md Step 7, or invoke standalone for one-off design decisions. The default pipeline uses sequential Codex review (cheaper, faster, often sufficient for routine changes); council is the higher-rigor option when you want broader model diversity.Plus the four practical differences:
npm test, your prisma migrate, your gh pr create. If it works in your terminal, it works in the pipeline.docs/specs/*.md, docs/plans/*.md, a branch, a PR. Stop, edit by hand, resume, or re-run any phase in isolation.cadence fix --verify patches a file, runs your tests, reverts on failure. Built into the CLI, not a wrapper.Real numbers from a real run: DEMO.md — autonomous multi-file change on a Python codebase, 12 minutes, $2.20, zero manual intervention.
Cadence是一个有前景的开源AI工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Cadence 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | cadence |
| Topics | ai-agentautonomous-codingautopilotci-cd-tools |
| GitHub | https://github.com/axledbetter/cadence |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-27 · 更新时间:2026-05-27 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端