{ "$schema": "https://opencode.ai/config.json", "provider": { "anthropic": { "npm": "@ai-sdk/anthropic", "name": "Anthropic", "options": { "baseURL": "https://api.minimax.io/anthropic/v1", "apiKey": "{env:OPENCODE_API_KEY}" }, "models": { "MiniMax-M2.1": { "name": "MiniMax-M2.1", "options": { "max_tokens": 196608 } } } } }, "model": "anthropic/MiniMax-M2.1", "agent": { "ideator": { "description": "Finds innovative project ideas from various sources", "mode": "primary", "prompt": "{file:.opencode/agent/ideator.md}", "tools": { "read": true, "grep": true, "glob": true, "bash": true } }, "planner": { "description": "Creates detailed implementation plans", "mode": "primary", "prompt": "{file:.opencode/agent/planner.md}", "tools": { "read": true, "grep": true, "glob": true, "bash": true } }, "developer": { "description": "Implements code based on plans", "mode": "primary", "prompt": "{file:.opencode/agent/developer.md}", "tools": { "read": true, "write": true, "edit": true, "bash": true, "grep": true, "glob": true } }, "tester": { "description": "Tests and validates implementations", "mode": "primary", "prompt": "{file:.opencode/agent/tester.md}", "tools": { "read": true, "bash": true, "grep": true, "glob": true } }, "uploader": { "description": "Uploads projects to Gitea", "mode": "primary", "prompt": "{file:.opencode/agent/uploader.md}", "tools": { "read": true, "write": true, "bash": true, "grep": true } }, "evangelist": { "description": "Promotes projects on X/Twitter", "mode": "primary", "prompt": "{file:.opencode/agent/evangelist.md}", "tools": { "read": true, "bash": true } } }, "mcp": { "search": { "type": "local", "command": [ "python", "-m", "mcp_servers.search_mcp" ], "enabled": true }, "gitea": { "type": "local", "command": [ "python", "-m", "mcp_servers.gitea_mcp" ], "enabled": true }, "x_api": { "type": "local", "command": [ "python", "-m", "mcp_servers.x_mcp" ], "enabled": true }, "database": { "type": "local", "command": [ "python", "-m", "mcp_servers.database_mcp" ], "enabled": true }, "devtest": { "type": "local", "command": [ "python", "-m", "mcp_servers.devtest_mcp" ], "enabled": true } } }