OpenCode AI Coding Agent
Set up the OpenCode terminal coding agent with a valid config and ready prompts
OpenCode AI Coding Agent — build your opencode.json, pick models and MCP servers, and plan prompts for the terminal tool
How to use OpenCode AI Coding Agent
- Pick your AI provider and main model, then set a small model for fast tasks.
- Choose the default agent, updates, sharing, and permission rules for edit, bash, webfetch, and external directories.
- Add MCP servers as local commands or remote URLs to give the agent extra tools.
- Optionally add a custom agent with its own description, mode, and system prompt.
- Copy or download the generated opencode.json and save it in your project or at ~/.config/opencode/opencode.json.
- Follow the Setup Guide to install OpenCode, sign in with /connect, and start it in your project folder.
- Use the Prompt Studio to build a task prompt, then paste it into OpenCode.
Features
- Valid opencode.json generator using the real config schema with $schema reference
- Eight providers with real model IDs including Anthropic, OpenAI, Google, OpenRouter, DeepSeek, Groq, xAI, and local Ollama
- Build and plan agent selection with update, sharing, theme, and snapshot options
- Permission ruleset for edit, bash, webfetch, and external directory access
- MCP server builder for local commands and remote servers with environment variables and headers
- Custom agent builder with mode, description, system prompt, and model override
- Four step setup guide with copyable install and sign in commands
- Prompt studio with six task templates for fixing bugs, adding features, reviews, tests, refactoring, and explanations
- One click copy and download for both the config file and the finished prompt
Frequently asked questions
Is it free?
Yes, unlimited.
Login to use this free online tool. Create a free account to get started.