-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubagents.example.toml
More file actions
104 lines (94 loc) · 3.16 KB
/
Copy pathsubagents.example.toml
File metadata and controls
104 lines (94 loc) · 3.16 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
# Copy this template to ~/.config/graph-engineering/config.toml (private, mode 0600).
# It intentionally contains no endpoint, host, credential, or secret value. API adapters
# reference environment variable NAMES; inject their values with your own secret manager.
version = 1
[profiles.claude]
adapter = "subprocess"
model = "your-claude-model"
[profiles.claude.capabilities]
read = true
write = true
structured_output = true
worktree = true
resume = false
mcp = false
[profiles.claude.subprocess]
argv = ["claude", "--print", "--model", "{model}", "--output-format", "json", "--strict-mcp-config", "--mcp-config", "{{\"mcpServers\":{{}}}}", "--tools", "Read,Edit,Write,Glob,Grep"]
prompt_transport = "stdin"
output_format = "json"
env_allowlist = []
[profiles.codex]
adapter = "subprocess"
model = "your-codex-model"
[profiles.codex.capabilities]
read = true
write = true
structured_output = true
worktree = true
resume = false
mcp = false
[profiles.codex.subprocess]
argv = ["codex", "exec", "-", "--model", "{model}", "--json", "--sandbox", "workspace-write", "--ephemeral", "--ignore-user-config", "-C", "{cwd}"]
prompt_transport = "stdin"
output_format = "jsonl"
env_allowlist = []
[profiles.grok]
adapter = "subprocess"
model = "your-grok-model"
[profiles.grok.capabilities]
read = true
write = true
structured_output = true
worktree = true
resume = false
mcp = false
[profiles.grok.subprocess]
argv = ["grok", "--prompt-file", "{prompt_file}", "--model", "{model}", "--output-format", "streaming-json", "--cwd", "{cwd}", "--tools", "read_file,grep,list_dir,search_replace", "--deny", "MCPTool(*)", "--disable-web-search", "--no-memory", "--no-subagents", "--sandbox", "strict", "--max-turns", "24"]
prompt_transport = "file"
output_format = "jsonl"
env_allowlist = []
# Kimi and GLM use the same implemented subprocess boundary through OpenCode. Install the
# restricted graph-worker agent from examples/opencode-agents/graph-worker.md first. Replace
# model aliases with provider/model identifiers configured in your own OpenCode installation.
[profiles.kimi-k3]
adapter = "subprocess"
model = "your-provider/your-kimi-model"
[profiles.kimi-k3.capabilities]
read = true
write = true
structured_output = true
worktree = true
resume = false
mcp = false
[profiles.kimi-k3.subprocess]
argv = ["opencode", "run", "--pure", "--agent", "graph-worker", "--model", "{model}", "--format", "json", "--dir", "{cwd}"]
prompt_transport = "stdin"
output_format = "jsonl"
env_allowlist = []
[profiles."glm-5.2"]
adapter = "subprocess"
model = "your-provider/your-glm-model"
[profiles."glm-5.2".capabilities]
read = true
write = true
structured_output = true
worktree = true
resume = false
mcp = false
[profiles."glm-5.2".subprocess]
argv = ["opencode", "run", "--pure", "--agent", "graph-worker", "--model", "{model}", "--format", "json", "--dir", "{cwd}"]
prompt_transport = "stdin"
output_format = "jsonl"
env_allowlist = []
[pools.coding]
profiles = ["claude", "codex", "grok", "kimi-k3", "glm-5.2"]
strategy = "stable-hash"
[pools.verification]
profiles = ["claude", "kimi-k3", "glm-5.2"]
strategy = "stable-hash"
[tiers.mechanical]
pool = "coding"
[tiers.judgment]
pool = "verification"
[routing]
default_tier = "mechanical"