Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
333 lines (333 loc) · 8.58 KB
/
Copy pathopencode.json
File metadata and controls
333 lines (333 loc) · 8.58 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
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"qwen": {
"name": "Qwen",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
"preserve_thinking": true
},
"models": {
"qwen3.6-plus": {
"name": "qwen3.6-plus",
"reasoning": true
},
"qwen3.6-35b-a3b": {
"name": "qwen3.6-35b-a3b",
"reasoning": true
},
"qwen3-8b": {
"name": "qwen3-8b",
"reasoning": false
}
}
},
"deepseek": {
"name": "DeepSeek",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://api.deepseek.com/v1"
},
"models": {
"deepseek-v4-pro": {
"name": "deepseek-v4-pro",
"reasoning": true
},
"deepseek-v4-flash": {
"name": "deepseek-v4-flash",
"reasoning": true
}
}
},
"moonshotai": {
"name": "Kimi",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://api.moonshot.ai/v1"
},
"models": {
"kimi-k2.6": {
"name": "Kimi2.6",
"reasoning": true
},
"kimi-k2.5": {
"name": "Kimi2.5",
"reasoning": true
}
}
}
},
"agent": {
"plan": {
"disable": true
},
"build": {
"disable": true
},
"planner": {
"description": "Project lead for coordinating architecture, quant, math, and test agents for derivatives trading systems",
"mode": "all",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"*": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"question": "allow",
"edit": "deny",
"glob": "allow",
"grep": "allow"
}
},
"architect": {
"description": "Architecture agent for system design, module boundaries, and technical specifications",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"database-*": "allow",
"improve-codebase-architecture": "allow",
"software-architecture": "allow",
"memori": "allow"
},
"edit": "deny",
"bash": "allow",
"read_sqlite": "allow",
"question": "allow",
"glob": "allow",
"grep": "deny"
}
},
"explore": {
"description": "Fast agent specialized for exploring codebases. ctx and memori skills should be used first before grep or glob",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"glob": "allow",
"grep": "deny",
"read": "allow"
}
},
"test-engineer": {
"description": "Primary test engineer orchestrator - routes tasks to 2-tier subagents based on complexity; handles numerical accuracy, Greeks, and risk model tests directly",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"memori": "allow",
"rust-testing": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow",
"grep": "deny",
"glob": "allow"
}
},
"test-basic": {
"description": "Ultra-lightweight subagent for trivial test stubs, basic assertions, and happy-path test cases",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"rust-testing": "allow"
},
"bash": "deny",
"outline": "deny",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow",
"grep": "deny",
"glob": "deny"
}
},
"developer": {
"description": "Primary developer orchestrator - routes tasks to 2-tier subagents based on complexity; handles non-trivial tasks directly",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"rust-*": "allow",
"memori": "allow",
"m15-anti-pattern": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow",
"glob": "allow",
"grep": "allow"
}
},
"developer-basic": {
"description": "Ultra-lightweight subagent for trivial text operations, formatting, and pattern-based edits",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"rust-best-practices": "allow",
"memori": "allow",
"m15-anti-pattern": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow",
"grep": "allow",
"glob": "allow"
}
},
"math-expert": {
"description": "Expert in advanced mathematics, proofs, numerical methods, and mathematical reasoning",
"mode": "subagent",
"permission": {
"task": {
"*": "deny",
"tester*": "allow",
"review*": "allow"
},
"skill": {
"quantitative-*": "allow",
"deep-research": "allow",
"memori": "allow",
"tavily-research": "allow",
"autoresearch": "allow"
},
"tool": {
"*": "allow"
},
"bash": "allow",
"edit": "allow",
"websearch": "allow",
"webfetch": "allow",
"grep": "deny",
"read_sqlite": "allow",
"memori": "allow",
"question": "allow"
},
"temperature": 0.2,
"steps": 5
},
"quant-researcher": {
"description": "Primary quant orchestrator - routes routine tasks to Quant-Basic subagent; handles complex pricing, calibration, and exotic derivatives directly",
"mode": "subagent",
"permission": {
"task": {
"*": "deny",
"math*": "allow",
"tester*": "allow",
"review*": "allow"
},
"skill": {
"quantitative-*": "allow",
"deep-research": "allow",
"autoresearch": "allow",
"tavily-research": "allow",
"memori": "allow"
},
"tool": {
"*": "allow"
},
"edit": "allow",
"bash": "allow",
"websearch": "allow",
"webfetch": "allow",
"question": "allow",
"grep": "deny",
"read_sqlite": "allow"
},
"temperature": 0.2,
"steps": 5
},
"quant-basic": {
"description": "Lightweight quant subagent for routine pricing formulas, basic strategies, and standard model explanations",
"mode": "subagent",
"permission": {
"task": {
"*": "allow"
},
"skill": {
"quantitative-research": "allow",
"memori": "allow"
},
"bash": "deny",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow",
"grep": "deny",
"glob": "allow"
}
},
"docs-writer": {
"description": "Technical writer for documentation, guides, and project documentation",
"model": "qwen3.6-35b-a3b",
"mode": "subagent",
"permission": {
"skill": {
"code-comments": "allow",
"memori": "allow",
"documentation-writer": "allow"
},
"bash": "allow",
"read_sqlite": "allow",
"edit": "allow",
"read": "allow"
}
},
"quant-reviewer": {
"description": "Independent reviewer to validate mathematical correctness and quantitative reasoning",
"mode": "subagent",
"permission": {
"task": {
"*": "deny",
"math*": "allow",
"memori": "allow",
"quant*": "allow"
},
"edit": "deny",
"bash": "allow",
"read_sqlite": "allow",
"read": "allow",
"grep": "deny"
}
},
"code-reviewer": {
"description": "Independent reviewer to critique good software design",
"mode": "subagent",
"permission": {
"task": {
"*": "deny",
},
"skill": {
"requesting-code-review": "allow",
"rust-best-practices": "allow",
"m15-anti-pattern": "allow"
},
"edit": "deny",
"bash": "allow",
"read_sqlite": "allow",
"read": "allow",
"grep": "deny"
}
}
}
}