设置
Agent 配置
选择 Agent Profile,并为子 Agent 与上下文压缩指定模型。
Agent profile 决定 Agent 的工作方式和工具集。North Coder 内置以下 profile:
| Profile | 说明 | 适用模型 |
|---|---|---|
| General | 默认 coding profile;Responses API 自动使用 apply_patch,其他 API 自动使用 write_file / replace | 任意 |
| RFC Mode | RFC 驱动开发,包含需求澄清和设计文档能力 | 任意 |
| Plan Mode | 只读探索 + 实现规划,不直接修改代码 | 任意 |
| Evo Mode | Agent 进化系统,通过 trace 分析迭代优化 profile | 任意 |
为 Profile 指定默认模型
建议为每个 profile 设置默认模型:在设置页选中一个 profile 后,为它指定对应的 LLM Profile。这样切换 Agent Profile 时会自动使用匹配的模型,无需每次手动切换。典型搭配:
- General profile → GPT、Claude 或 N2-Pro 等 coding LLM Profile
- RFC / Plan profile → 与其职责匹配的 LLM Profile
子 Agent
设置页的「子 Agent」面板用于为每个子 Agent 单独指定模型。默认情况下子 Agent 跟随主 Agent 使用的模型,但你可以覆盖为其他 LLM Profile。
| 子 Agent | 职责 | 推荐模型 |
|---|---|---|
| Worker | 经用户、项目指令或 skill 明确授权后的通用子任务;实际读写能力受当前 Mode 限制 | 跟随主 Agent 即可 |
North Coder 默认由 root 直接执行,不会为普通搜索、简单修改或严格顺序任务主动启动 Worker。需要委派时可以为 Worker 指定独立模型;未指定则跟随主 Agent。
上下文压缩模型
「子 Agent」面板下方还有 上下文压缩模型 设置——当会话过长需要压缩历史时使用的模型。同样默认跟随主 Agent,也可以指定一个更快或更便宜的模型,避免长对话压缩时阻塞主流程。