OpenCode: Top 10 Killer Features

OpenCode is not just another coding agent. It's a platform with unique capabilities competitors don't have. Ten features worth trying.

1. Multi-Session — Multiple Agents on One Project

Run opencode in multiple terminal tabs or desktop windows — each agent works in its own session with isolated context. One writes tests, another refactors, third writes docs. All see shared files but have independent conversation histories.

2. TypeScript/JS Plugins

Hook into lifecycle: session:start, tool:call, tool:result, notification. Write logic in TS, drop in .opencode/plugins/ — works instantly. Examples: auto-format on write, lint before commit, Slack/Telegram notifications.

3. MCP Servers Out of the Box

Connect GitHub, PostgreSQL, Filesystem, Brave Search, Linear, Figma, Sentry, Notion, Slack, Supabase, Stripe — just configure .opencode/mcp.json. Agent gets access to your data and tools without custom code.

4. Custom Agents

Create specialized agents: backend-expert, frontend-dev, security-auditor, devops-engineer. Each has own system prompt, model, toolset. Switch with /agent backend-expert.

5. Agent Skills (SKILL.md)

Procedural memory for agents. File in .opencode/skills/ with YAML frontmatter — agent learns your workflow: deploy, code review, DB migration, PR creation. Write once, use forever with /skill deploy.

6. Slash Commands (Custom Commands)

Turn routine into commands: /refactor, /deploy, /test, /migrate. Parameters via args, steps in markdown. /refactor src/api/users.ts "extract service" runs full pipeline.

7. Permissions — Granular Control

Three levels: allow (auto), ask (prompt), deny (block). Patterns: bash(rm -rf*), write(*.env), bash(sudo*). Configure in .opencode/permissions.json.

8. Undo / Redo — Time Machine

/undo rolls back not just files but conversation history too. /redo restores. Saves you when agent "over-refactors".

9. 200+ LLM Providers via Models.dev

OpenAI, Anthropic, Google, OpenRouter, Ollama, LM Studio, vLLM, Together, Fireworks, Groq, Cohere, Mistral, local models — all through unified interface. Free models work without keys.

10. Free Tier + OpenCode Go

Built-in free models via Models.dev — no account, no card. OpenCode Go — $10/mo for curated models without limits. BYOK — connect your subscriptions (ChatGPT Plus, GitHub Copilot, Anthropic, OpenRouter).

Bonus: Desktop + Mobile + SDK

  • Desktop App — tabs, sessions, diffs, browser, extensions
  • Mobile — iOS (TestFlight) / Android — manage sessions from phone
  • SDK — drive OpenCode from your scripts, CI, tools

Links: opencode.ai | GitHub 227k★ | Docs