wanman — AI Agent 工作流中文教程 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
wanman — AI Agent 工作流中文教程 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
wanman — AI Agent 工作流中文教程 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g wanman # 方式二:npx 直接运行(无需安装) npx wanman --help # 方式三:项目依赖安装 npm install wanman # 方式四:从源码运行 git clone https://github.com/chekusu/wanman cd wanman npm install npm start
# 命令行使用
wanman --help
# 基本用法
wanman [options] <input>
# Node.js 代码中使用
const wanman = require('wanman');
const result = await wanman.run(options);
console.log(result);
# wanman 配置说明 # 查看配置选项 wanman --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export WANMAN_CONFIG="/path/to/config.yml"
Agent Matrix framework — run a supervised network of Claude Code or Codex agents that collaborate on your machine.
wanman is an open-source local-mode agent matrix framework. Runs a supervised network of Claude Code or Codex agents on your machine, coordinated through a JSON-RPC supervisor.
The name wanman comes from the Japanese ワンマン電車 / one-man train: a train operated by one driver without a conductor. wanman's design goal is similar in spirit: the human user steps back into an observer role and watches the agent matrix run automatically from every angle.
wanman.ai provides the fully automated 24/7 sandbox edition of wanman, running for free on Sandbank Cloud's sandbox cloud.
git clone git@github.com:chekusu/wanman.git wanman.dev cd wanman.dev pnpm install pnpm build
```bash
| Env var | Meaning |
|---|---|
WANMAN_URL | Supervisor HTTP URL for the CLI (default http://localhost:3120). |
WANMAN_AGENT_NAME | Identifies the current agent; used as default sender/receiver inside agent processes. |
WANMAN_RUNTIME | claude (default) or codex — selects the per-agent CLI adapter. |
WANMAN_MODEL, WANMAN_CODEX_MODEL, WANMAN_CODEX_REASONING_EFFORT | Per-runtime model overrides. |
WANMAN_CODEX_FAST | When set, biases the Codex adapter toward lower-latency defaults. |
WANMAN_SKILL_SNAPSHOTS_DIR | Override where the runtime materializes skill-activation snapshots (default: sibling of the shared-skills dir, falling back to $TMPDIR/wanman-skill-snapshots). |
An optional @sandbank.dev/db9 brain adapter can be attached for cross-run memory — see docs/architecture.md.
Agent definitions live in a single JSON file:
{
"agents": [
{ "name": "echo", "lifecycle": "24/7", "model": "standard", "systemPrompt": "..." },
{ "name": "ping", "lifecycle": "on-demand", "model": "standard", "systemPrompt": "..." }
],
"dbPath": ".wanman/wanman.db",
"port": 3120,
"workspaceRoot": ".wanman/agents"
}
Each agent entry has: - name — unique identifier used on the message bus. - lifecycle — 24/7 (continuous respawn loop), on-demand (idle until triggered), or idle_cached (idle until triggered, but the prior Claude session_id is preserved across triggers via claude --resume so context survives idle periods). idle_cached is Claude-only: pairing it with runtime: codex (or WANMAN_RUNTIME=codex) is rejected at startup since Codex has no equivalent resume mechanism in this runtime. - model — usually an abstract tier (high or standard); the runtime adapter maps it to Claude or Codex defaults, with environment overrides available. - systemPrompt — baked-in persona/mission; agents also auto-discover shared skill files at ~/.claude/skills/. - Optional cron, events, and tools fields — see the architecture doc for the full schema.
| Command | What it does |
|---|---|
wanman send <agent> <msg> | Send a message to an agent (--steer interrupts the target). |
wanman recv [--agent <name>] | Receive and mark pending messages as delivered. |
wanman agents | List registered agents and their current states. |
wanman context get / context set | Read or write shared key/value context. |
wanman escalate <msg> | Escalate to the CEO agent. |
wanman task … | Manage the task pool: create, list, get, update, done. Supports --after dependencies. |
wanman initiative … | Manage long-lived initiatives: create, list, get, update. |
wanman capsule … | Manage change capsules: create, list, mine, get, update. |
wanman artifact … | Store and retrieve structured artifacts: put, list, get. |
wanman hypothesis … | Track hypotheses with status transitions: create, list, update. |
wanman watch | Live-stream supervisor and agent activity. |
wanman run <goal> | Start a matrix against a one-shot goal. |
wanman takeover <path> | Take over an existing git repo with the full agent matrix. |
wanman skill:check [path] | Validate that skill docs reference only real CLI commands. |
Run wanman --help for the full, current list.
pnpm --filter @wanman/cli exec wanman takeover /path/to/any/git/repo
If you want a single-file CLI bundle instead:
bash pnpm --filter @wanman/cli standalone node packages/cli/dist/wanman.mjs takeover /path/to/any/git/repo ```
If wanman is already on your PATH, you can also run wanman takeover . from inside the target repository.
See docs/quickstart.md for the full walkthrough.
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,wanman — AI Agent 工作流中文教程 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | wanman |
| 原始描述 | wanman is an open-source agent matrix runtime inspired by Japanese one-man trains. It lets human users step back into an observer role while local agent runtimes coordinate autonomous multi-agent workflows, task execution, and artifacts. |
| Topics | agentclaude-codecodexllm |
| GitHub | https://github.com/chekusu/wanman |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-05-22 · 更新时间:2026-05-22 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端