AI资讯大全AIPPXP.CN搜索 ↗
图文教程 · 手把手

Graphic tutorial: build your own team of AI colleagues in half an hour, from setting up the environment to letting lead party and regularly running weekly newspapers图文教程:半小时搭起自己的 AI 同事团队,从装环境到让 lead 派活、定时跑周报

Then do it again: prepare Node and the engine → source to → build the first agent → group with a post on the desktop. A lead + expert team will → set up a weekly automatic running routine. No Docker or model subscription required.

跟着做一遍:准备 Node 与引擎 → 源码起桌面端 → 建第一个有岗位的 agent → 组一个 lead + 专家小队 → 设成每周自动跑的 Routine。不需要 Docker,也不需要模型订阅。

2026-10-25 更新 · 免费
图文教程:半小时搭起自己的 AI 同事团队,从装环境到让 lead 派活、定时跑周报
1

Step 1: Assemble the three prerequisites第一步:把三个前置条件凑齐

Node.js 22 or later; uv (Python package manager, used in scripts); and at least one available engine.

The most troublesome part of the engine is the Claude Code or Codex CLI installed on the machine and logged in - the command line can run normally, and Open Duet can take over. You can also use the Gemini CLI and Cursor to use the ACP protocol.

I don't want to install the CLI at all, just add an OpenAI compatible interface (Ollama, LM Studio) or OpenRouter key in Settings → Engines, the effect is the same, but the available tool capabilities will be less.

中文

Node.js 22 或更高版本;uv(Python 包管理器,脚本里会用到);以及至少一个可用的引擎。

引擎最省事的是本机已装并已登录的 Claude Code 或 Codex CLI——命令行里能正常跑,Open Duet 就能接管。用 Gemini CLI、Cursor 也可以,走 ACP 协议。

完全不想装 CLI,就在 Settings → Engines 里配一个 OpenAI 兼容接口(Ollama、LM Studio)或 OpenRouter 的 key,效果一样,只是可用的工具能力会少一些。

第一步:把三个前置条件凑齐
2

Step 2: Desktop from source第二步:从源码起桌面端

Three commands: git clone https://github.com/Anil-matcha/open-duet.git → cd open-duet/desktop → npm run app. For the first time, I will pretend to be dependent, patient, etc.

Launch the Setup Wizard for the first time: it will check that the engine is ready, let you select a workspace directory, select the default approval mode, and easily create a starting agent.

After entering the main screen, do one thing first - open Settings → Engines and confirm that an engine shows ready; this step is not passed, and all subsequent conversations will fail.

Note: Windows exe/macOS DMG is also officially available, but they are more than 25MB and are not signed. This tutorial has a more controlled route to the source code.

中文

三条命令:git clone https://github.com/Anil-matcha/open-duet.git → cd open-duet/desktop → npm run app。第一次会装依赖,耐心等。

首次启动进入设置向导:它会检查引擎是否就绪、让你选一个工作区目录、选默认审批模式,还能顺手创建一个起步 agent。

进主界面后先做一件事——打开 Settings → Engines,确认某个引擎显示 ready;这一步没过,后面所有对话都会失败。

说明:官方也提供 Windows exe / macOS DMG,但都超过 25MB 且未签名,本教程走源码路线更可控。

第二步:从源码起桌面端
3

Step 3: Build the first agent, don't rush to build ten第三步:建第一个 agent,别急着建十个

Click to create a new agent, and write down four things: the name (such as "research assistant"), the job command (what it is responsible for, what format it outputs, and what circumstances should stop asking), the workspace (the folder that can only be read and written), and the model (which engine).

Ask first for approval mode: It stops every time you need to move a file or run a command and waits for you to nod. The first few times you just took the opportunity to see what it did.

Then send a real task in the conversation, such as “Read the three materials in the workspace and list five questions worth following up.” Observe its tool call record and confirm that the behavior meets expectations before relaxing to Accept edits.

中文

点新建 agent,四件事写清楚:名字(比如「研报助手」)、岗位指令(它负责什么、输出什么格式、什么情况该停下来问)、工作区(只能读写的那个文件夹)、模型(哪家引擎)。

审批模式先选 Ask first:它每次要动文件或跑命令都会停下来等你点头,前几次你正好借机看清它到底做了什么。

然后在对话里派一个真实任务,比如「读完 workspace 里这三份材料,列出五个值得跟进的问题」。观察它的工具调用记录,确认行为符合预期再放宽到 Accept edits。

第三步:建第一个 agent,别急着建十个
4

Step 4: Team up and let lead party第四步:组队,让 lead 派活

Build two more agents: one researcher (responsible for checking materials and organizing key points), one editor (responsible for completing manuscripts and unifying calibres), and three agents pointing to the same project work area.

Set the first agent to lead and the engine must be Claude or Codex (only these two are supported by the current team delegation).

Say to lead: "Let the researcher write a 200-word bulletin for each of these three materials, and you will compile it into a weekly report and submit it to the editor for a unified tone." It will disassemble tasks, dispatch, and receive results by itself; if you want to see the details, you can click on the corresponding sub-session.

Memory is useful here: Researchers write down conclusions that can be recalled in the next week's session; you can change the misremembered entries in the memory panel.

中文

再建两个 agent:一个研究员(负责查资料、整理要点),一个编辑(负责成稿、统一口径),三个 agent 指向同一个项目工作区。

把第一个 agent 设为 lead,引擎必须是 Claude 或 Codex(当前团队委派只支持这两个)。

对 lead 说:「让研究员把这三份材料各写 200 字要点,你汇总成一份周报,交编辑统一语气。」它会自己拆任务、分派、收结果;想看细节就点开对应子会话。

记忆在这里很有用:研究员记下的结论,下周的会话里还能被召回;你可以在记忆面板里改掉记错的条目。

第四步:组队,让 lead 派活
5

Step 5: Become a Routine and let it run on its own第五步:变成 Routine,让它自己跑

The weekly report process is running smoothly, just create a new one in Routines: prompt write "Generate the project weekly report in the format of last week, the material is taken from the workspace/weekly directory", the trigger method is selected every Monday morning, or let another system trigger it for a webhook.

Remember two hard rules: Routine runs on the back end, so the back-end process must always be on; it will never approve the action itself, it will stop waiting for you when it needs to be approved, and you can see the progress and pending items of each run in the app.

If you want the computer to shut down and continue to run, take the docs/SELF-HOSTING.md part to the Linux server (domain name + HTTPS + Docker or Node), position it for single use, device pairing, and do not use it as a multi-person organization platform.

Finally, take a look at the dosage page: the token cost is calculated by agent and session, and it is clear which agent is burning money.

中文

周报流程跑顺了,就在 Routines 里新建一条:prompt 写「按上周格式生成项目周报,素材取自 workspace/weekly 目录」,触发方式选每周一早上,或给一个 webhook 让别的系统来触发。

记住两条硬规则:Routine 跑在后端,所以后端进程必须常开;它永远不会自己批准动作,需要审批时会停下等你,你可以在 App 里看到每次运行的进展和待批项。

想让电脑关机也继续跑,就照 docs/SELF-HOSTING.md 部到 Linux 服务器(域名 + HTTPS + Docker 或 Node),定位是单人使用、设备配对,不要当多人组织平台用。

最后看一眼用量页:token 花费按 agent 和会话统计,哪个 agent 在烧钱一目了然。

第五步:变成 Routine,让它自己跑
6

Use reminder使用提醒

The model call fee is charged by your service provider. The project is in the active development stage. Team delegation and server mode are new features. Please read the Known limitations of the warehouse before important work. Resources are for learning exchanges only and are licensed under the Apache-2.0 license.

中文

模型调用费用由你的服务商收取。项目处于活跃开发阶段,团队委派、服务器模式属新功能,重要工作前请先读仓库的 Known limitations。资源仅供学习交流,遵循 Apache-2.0 许可。

资源下载 · Download

⬇ Download · 点击下载:教程配套:Open Duet 官方仓库源码包(1.78MB)

含 desktop 桌面端、backend 后端、docs 文档(自托管/引擎/团队/Routine 指南),按教程三步启动即可。

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告