main
 1{
 2  "$schema": "https://opencode.ai/config.json",
 3  "instructions": [
 4    "~/.config/opencode/AGENTS.md"
 5  ],
 6  "skills": [
 7    "~/.config/claude/skills"
 8  ],
 9  "provider": {
10    "ollama": {
11      "npm": "@ai-sdk/openai-compatible",
12      "name": "Ollama (aomi)",
13      "options": {
14        "baseURL": "http://192.168.1.23:8000/v1"
15      },
16      "models": {
17        "llama3.1:8b": {
18          "name": "Llama 3.1 8B (Best for OpenCode)",
19          "tools": true,
20          "reasoning": true
21        },
22        "mistral-nemo:latest": {
23          "name": "Mistral Nemo (Fast tools)",
24          "tools": true
25        },
26        "qwen-opencode:latest": {
27          "name": "Qwen OpenCode (16k context)",
28          "tools": true,
29          "reasoning": true
30        },
31        "qwen2.5-coder:7b": {
32          "name": "Qwen2.5 Coder 7B",
33          "tools": true,
34          "reasoning": true
35        },
36        "deepseek-r1:7b": {
37          "name": "DeepSeek R1 7B (Reasoning)",
38          "tools": true,
39          "reasoning": true
40        },
41        "qwen-coder-tools:latest": {
42          "name": "Qwen2.5 Coder 7B (Custom)",
43          "tools": true
44        },
45        "codestral:latest": {
46          "name": "Codestral 22B"
47        },
48        "phi4-reasoning:latest": {
49          "name": "Phi-4 14B (Reasoning)",
50          "reasoning": true
51        },
52        "phi3.5:3.8b": {
53          "name": "Phi-3.5 3.8B (Fast)"
54        }
55      }
56    }
57  },
58  "mcp": {
59    "playwright": {
60      "type": "local",
61      "command": ["mcp-server-playwright", "--browser", "google-chrome-stable"],
62      "enabled": true
63    }
64  }
65}