-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathopencode.json
More file actions
144 lines (144 loc) · 5.09 KB
/
opencode.json
File metadata and controls
144 lines (144 loc) · 5.09 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
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"lmstudio": {
"npm": "@ai-sdk/openai-compatible",
"name": "LM Studio (local)",
"options": {
"baseURL": "http://10.5.0.2:1234/v1"
},
"models": {
"qwen3-32b-128k@q4_k_m": {
"name": "Qwen3 32B 128K Q4",
"options": {
"num_ctx": 60000
}
},
"qwen3-coder-30b-a3b-instruct": {
"name": "Qwen3 Coder 30B A3B",
"options": {
"num_ctx": 190000
}
},
"qwen3-30b-a3b-instruct": {
"name": "Qwen3 30B A3B",
"options": {
"num_ctx": 177728
}
},
"nemotron-3-nano-30b-a3b": {
"name": "nemotron-3-nano-30b-a3b",
"options": {
"num_ctx": 80000
}
}
}
}
},
"agent": {
"build": {
"description": "Primary build agent to orchestrate building features, fixing errors and do basic testing with build_general Claude sonnet subagent.",
"mode": "primary",
"temperature": 0.5,
"model": "anthropic/claude-sonnet-4-5",
"prompt": "{file:agents/build-agent.md}",
"tools": {
"read": true,
"write": true,
"edit": true,
"bash": true,
"list": true,
"glob": true,
"grep": true,
"task": true,
"todowrite": true,
"todoread": true,
"webfetch": true,
"batch": true,
"codesearch": true,
"lsp": true,
"multiedit": true,
"patch": true,
}
},
"plan": {
"description": "Strategic planning and project coordination",
"mode": "primary",
"temperature": 0.7,
"prompt": "{file:agents/planning-agent.md}"
},
"research": {
"description": "Technical research and information gathering",
"mode": "subagent",
"temperature": 0.7,
"prompt": "{file:agents/research-agent.md}"
},
"review": {
"description": "Code review and quality assurance",
"mode": "primary",
"temperature": 0.6,
"prompt": "{file:agents/review-agent.md}"
},
"redteam": {
"description": "Critical analysis, risk identification, and adversarial thinking",
"mode": "primary",
"temperature": 0.8,
"prompt": "{file:agents/red-team-agent.md}"
},
"testing": {
"description": "Test strategy design and test implementation",
"mode": "primary",
"temperature": 0.6,
"model": "anthropic/claude-haiku-4-5",
"prompt": "{file:agents/testing-agent.md}"
},
"sparring": {
"description": "Creative brainstorming and idea exploration partner",
"mode": "primary",
"model": "anthropic/claude-opus-4-5",
"temperature": 0.9,
"prompt": "{file:agents/sparring-agent.md}"
},
"explore": {
"description": "Fast agent for exploring codebases and finding files",
"mode": "subagent",
"model": "anthropic/claude-haiku-4-5",
"temperature": 0.5,
},
"general": {
"description": "General purpose subagent for complex research and search tasks using Claude Sonnet. The primary agent will decide if this Opus agent is required for the task, otherwise use the cheap_general subagent.",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-5",
"temperature": 0.7,
},
"build_general": {
"description": "General purpose subagent for normal build, research, file editing, creating, copying, performing git commits and search tasks that can be done with a small LLM to reduce context cost. The primary agent will decide if this sonnet agent is capable enough for the task.",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-5",
"temperature": 0.5,
},
},
"mcp": {
"serena": {
"type": "local",
"command": [
"/home/imqqmi/.local/bin/uvx",
"--from",
"git+https://github.com/oraios/serena",
"serena",
"start-mcp-server",
"--context",
"opencode",
],
"enabled": false
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "ctx7sk-11cc2c08-ff3a-4572-9737-000495007a27"
},
"enabled": false
},
},
}