173 lines
4.0 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"default_agent": "orchestrator",
"compaction": {
"reserved": 3000
},
"agent": {
"orchestrator": {
"mode": "all",
"model": "llama-server/Qwopus3.6-27B-v2-MTP-Q4_K_M",
"permission": {
"edit": "deny",
"bash": {
"*": "deny",
"* /tmp/.last-user-prompt.txt": "allow",
"* /tmp/.last-user-prompt.txt << *": "allow"
}
}
},
"build": {
"mode": "subagent",
"permission": {
"webfetch": "deny",
"websearch": "deny",
"question": "deny",
"todowrite": "deny",
"skill": "deny"
}
},
"research": {
"mode": "all",
"permission": {
"*": "allow"
}
}
},
"permission": {
"external_directory": {
"/tmp/**": "allow",
"~/dotfiles/**": "allow",
"~/.config/opencode/**": "allow",
"~/.local/share/opencode/log/**": "allow",
"~/.copilot/**": "allow",
"~/code/**": "allow"
},
"websearch": "allow"
},
"share": "disabled",
"lsp": true,
"provider": {
"llama-server": {
"npm": "@ai-sdk/openai-compatible",
"name": "llama-server",
"options": {
"baseURL": "http://127.0.0.1:8080/v1"
},
"models": {
"OmniCoder-2-9B.Q8_0": {
"name": "OmniCoder 2 9B Q8 (llama-server)",
"tools": true,
"agent": {
"plan": {
"temperature": 0.1
},
"build": {
"temperature": 0.3
},
"brainstorm": {
"temperature": 0.7
}
},
"limit": {
"context": 32768,
"output": 4096
}
},
"Qwopus3.5-9B-Coder-MTP-Q8_0": {
"name": "Qwopus3.5 9B Coder MTP Q8 (llama-server)",
"tools": true,
"agent": {
"plan": {
"temperature": 0.1
},
"build": {
"temperature": 0.3
},
"brainstorm": {
"temperature": 0.7
}
},
"limit": {
"context": 32768,
"output": 4096
}
},
"Qwopus3.6-27B-v2-MTP-Q4_K_M": {
"name": "Qwopus3.6 27B MTP Q4 (llama-server)",
"tools": true,
"agent": {
"plan": {
"temperature": 0.1
},
"orchestrator": {
"temperature": 0.2
},
"build": {
"temperature": 0.3
},
"brainstorm": {
"temperature": 0.7
}
},
"limit": {
"context": 32768,
"output": 4096
}
},
"Qwopus3.6-35B-A3B-v1-MTP-Q4_K_M": {
"name": "Qwopus3.6 35B A3B MTP Q4 (llama-server)",
"tools": true,
"agent": {
"plan": {
"temperature": 0.1
},
"orchestrator": {
"temperature": 0.2
},
"build": {
"temperature": 0.3
},
"brainstorm": {
"temperature": 0.7
}
},
"limit": {
"context": 32768,
"output": 4096
}
},
"agentica-org_DeepCoder-14B-Preview-Q5_K_M": {
"name": "DeepCoder 14B Q5 (llama-server)",
"tools": true,
"agent": {
"plan": {
"temperature": 0.1
},
"build": {
"temperature": 0.3
},
"brainstorm": {
"temperature": 0.7
}
},
"limit": {
"context": 32768,
"output": 4096
}
}
}
}
},
"mcp": {
"all-agents": {
"type": "local",
"command": [
"node",
"--experimental-strip-types",
"/home/dev/dotfiles/.agents/mcp/index.ts"
]
}
}
}