-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoh-my-openagent.jsonc
More file actions
356 lines (356 loc) · 13.1 KB
/
Copy pathoh-my-openagent.jsonc
File metadata and controls
356 lines (356 loc) · 13.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
"auto_update": false,
"telemetry": false,
"experimental": {},
"hashline_edit": true,
"sisyphus_agent": {
"default_builder_enabled": true,
"planner_enabled": true,
"replace_plan": false
},
"git_master": {
"git_env_prefix": "GIT_MASTER=1",
"commit_footer": true,
"include_co_authored_by": true
},
"codegraph": {
"enabled": true,
"auto_init": false,
"auto_provision": false,
"telemetry": false
},
"team_mode": {
"enabled": true,
"max_parallel_members": 4,
"max_members": 8,
"tmux_visualization": true,
"max_member_turns": 1000,
"max_messages_per_run": 20000,
"max_wall_clock_minutes": 240,
"message_payload_max_bytes": 65536,
"recipient_unread_max_bytes": 262144,
"mailbox_poll_interval_ms": 3000
},
"tmux": {
"enabled": true,
"layout": "main-vertical",
"isolation": "inline",
"main_pane_size": 60,
"main_pane_min_width": 120,
"agent_pane_min_width": 40
},
"model_fallback": true,
"runtime_fallback": {
"enabled": true,
"max_fallback_attempts": 6,
"cooldown_seconds": 120,
"restore_primary_after_cooldown": true
},
"agents": {
// ── Sisyphus · 主编排器 ──────────────────────────────────────────────
// 角色: 用户交互入口,意图识别,任务分解,委托调度
// 频率: 极高 (每次交互) 并发: 1
// thinking=ON: 编排需要深度推理(意图解析、任务分解、上下文理解)
"sisyphus": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Hephaestus · 深度自主执行 ──────────────────────────────────────
// 角色: 8h+自主研究+实现,复杂问题端到端解决
// 频率: 低 并发: 1
// thinking=ON: 长时自主任务需要持续深度推理
// allow_non_gpt_model: 必须开启,否则非GPT模型会被拒绝
"hephaestus": {
"allow_non_gpt_model": true,
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Prometheus · 战略规划 ──────────────────────────────────────────
// 角色: 访谈模式规划器,需求澄清,结构化任务分解,生成并行执行计划
// 频率: 低 并发: 1
// thinking=ON: 规划需要考虑依赖关系和并行机会
"prometheus": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Oracle · 高IQ顾问 ──────────────────────────────────────────────
// 角色: 只读深度推理,架构设计,复杂调试,安全/性能分析
// 频率: 中 (在困难问题时或ulw模式进行任务验收) 并发: 1
// thinking=ON: 深度推理任务
"oracle": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Librarian · 外部参考搜索 ────────────────────────────────────────
// 角色: 外部文档/开源代码/API文档检索 (Reference Grep)
// 频率: 中高 (常2-3并行) 并发: 2-3
// thinking=OFF: 搜索检索类,速度优先
"librarian": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5-turbo",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
},
// ── Explore · 上下文搜索 ────────────────────────────────────────────
// 角色: 代码库内搜索,模式发现,结构分析 (Contextual Grep)
// 频率: 高 并发: 3-5
// thinking=OFF: grep类任务,速度优先,不需要长链推理
"explore": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5-turbo",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
},
// ── Multimodal-Looker · 多媒体分析 ─────────────────────────────────
// 角色: 分析PDF/图片/图表,提取信息/摘要
// 频率: 低 并发: 1
// thinking=ON: 内容提取/摘要/理解
"multimodal-looker": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-4.6v"
],
"thinking": {
"type": "enabled",
"budgetTokens": 16384
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Metis · 规划前置分析 ───────────────────────────────────────────
// 角色: 识别隐藏意图、歧义、AI失败点 (Pre-planning Consultant)
// 频率: 低中 并发: 1
// thinking=ON: 需要识别隐含需求和潜在陷阱
"metis": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Momus · 计划评审 ───────────────────────────────────────────────
// 角色: 评估工作计划的清晰性、可验证性、完整性 (Plan Critic)
// 频率: 低中 并发: 1
// thinking=ON: 评审需要深度审视每个维度
// 选择另外两个制定计划的agent不同的主模型,避免计划评审时发现不了该模型固有的能力缺陷或偏见
"momus": {
"model": "deepseek/deepseek-v4-pro",
"fallback_models": [
"zhipuai-coding-plan/glm-5.2",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── Atlas · 任务指挥与执行 ─────────────────────────────────────────
// 角色: 读取计划,委派子任务给专门Agent,逐个验证结果
// 频率: 中 并发: 1
// thinking=OFF: 执行类任务,不需要深度思考
"atlas": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5-turbo",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
},
// ── Sisyphus-Junior · 轻量级工作者 ─────────────────────────────────
// 角色: 以更低成本处理委派的子任务,通过category路由获得领域配置
// 频率: 高 (所有category任务) 并发: 1/category任务
// thinking=OFF: 工作者任务,速度优先
// 注: category任务时模型由对应category配置覆盖,此处为无category时的默认
"sisyphus-junior": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5-turbo",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
}
},
"categories": {
// ── visual-engineering · 前端UI/UX ─────────────────────────────────
// 角色: 前端、UI/UX、样式、动画、布局
// 频率: 中 并发: 1
// thinking=ON: 设计决策需要考虑布局、交互、美学
"visual-engineering": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"kimi-for-coding/k2p7",
"deepseek/deepseek-v4-pro"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── ultrabrain · 硬核逻辑 ─────────────────────────────────────────
// 角色: 真正困难的逻辑密集型任务,架构决策,算法
// 频率: 低 并发: 1
// thinking=ON: 硬核逻辑问题必须深度思考
"ultrabrain": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── deep · 深度自主 ───────────────────────────────────────────────
// 角色: 目标导向的自主问题解决,需深入理解的复杂任务
// 频率: 低 并发: 1
// thinking=ON: 自主问题解决需要持续深度推理
"deep": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── artistry · 创意求解 ────────────────────────────────────────────
// 角色: 超越标准模式的创意性问题解决
// 频率: 低中 并发: 1
// thinking=ON: 创造性推理
"artistry": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5.2",
"deepseek/deepseek-v4-pro"
],
"thinking": {
"type": "enabled",
"budgetTokens": 16384
},
"variant": "max",
"reasoningEffort": "max"
},
// ── quick · 快速小任务 ─────────────────────────────────────────────
// 角色: 单文件改动、typo修复、简单修改
// 频率: 高 并发: 1
// thinking=OFF: 简单任务不需要thinking
"quick": {
"model": "zhipuai-coding-plan/glm-5-turbo",
"fallback_models": [
"kimi-for-coding/k2p7",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
},
// ── unspecified-low · 低复杂度通用 ─────────────────────────────────
// 角色: 不属于其他category的低复杂度任务
// 频率: 中 并发: 1
// thinking=OFF: 低复杂度不需要thinking
"unspecified-low": {
"model": "kimi-for-coding/k2p7",
"fallback_models": [
"zhipuai-coding-plan/glm-5-turbo",
"deepseek/deepseek-v4-flash"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
},
// ── unspecified-high · 高复杂度通用 ────────────────────────────────
// 角色: 不属于其他category的高复杂度任务
// 频率: 中 并发: 1
// thinking=ON: 高复杂度任务需要深度推理
"unspecified-high": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "enabled"
},
"variant": "max",
"reasoningEffort": "max"
},
// ── writing · 文档写作 ─────────────────────────────────────────────
// 角色: 文档、技术写作、长文本输出
// 频率: 低中 并发: 1
// thinking=OFF: 写作是生成任务,不是推理任务
"writing": {
"model": "zhipuai-coding-plan/glm-5.2",
"fallback_models": [
"deepseek/deepseek-v4-pro",
"kimi-for-coding/k2p7"
],
"thinking": {
"type": "disabled"
},
"reasoningEffort": "none"
}
}
}