OpenCode — AI Coding Agent
Complete guide to OpenCode, the terminal-based AI coding agent. Covers installation, prompt engineering, configuration, providers, skills, and best practices.
OpenCode — AI Coding Agent
OpenCode is an interactive CLI tool that helps users with software engineering tasks. It reads your codebase, writes and edits files, runs terminal commands, and can autonomously complete multi-step engineering tasks.
Navigation
- Getting Started — Install, configure, and begin your first session
- Prompt Engineering — Write effective prompts, master AGENTS.md conventions, and use slash commands
- Configuration Reference — Complete reference for opencode.json, skills, plugins, MCP servers, and permission rules
- Patterns — Cross-tool workflows: the OpenCode ↔ Hermes iterative cleanup loop
- Tutorials — Multi-model workflows: switch between Gemini, GLM, DeepSeek, and MiniMax mid-session
Quick Start
# Install
npm install -g opencode
# Run in your project
opencode
Key Features
- Provider flexibility — Supports 75+ LLM providers, switch mid-session
- Skills system — Customizable skill configurations for specialized workflows
- MCP support — Full Model Context Protocol integration
- Custom rules — AGENTS.md conventions for project-specific instructions
- Pricing tiers — Free, Zen, and Go pricing options
Related Articles
Tool Blueprints
Hands-on tutorials for building developer tools — sandboxed code execution, agent toolkits, and more. Complete with working code you can copy and run.
Antigravity CLI — Getting Started
Install, authenticate, and run your first Antigravity CLI session. Covers curl install, npm, Homebrew, OAuth, API key auth, and essential commands.
Antigravity CLI — Patterns
Reusable patterns for Antigravity CLI. Multi-agent workflows, async tasks, hooks, model routing, cross-model review, and CI/CD integration.