OpenCode: the open-source Claude Code rival that runs GPT, Gemini or local models
thisdudelikesAI · x · 2026-10-20
OpenCode is a fully open-source (MIT) terminal coding agent positioned as a serious Claude Code competitor. It reads your codebase, edits files, runs commands and fixes bugs in the same loop, but lets you plug in Claude, GPT, Gemini or local models and swap anytime as pricing or quality shifts. Key details:
- Two built-in agents, toggled with Tab: build (full access for real work) and plan (read-only, denies file edits, asks before running bash — built for exploring unknown codebases)
- Terminal UI plus desktop apps for macOS, Windows and Linux
- One-line install via curl, npm, brew, scoop, nix or pacman
- 20,500+ commits, 28.8k forks
- New in 2.0: one background service for terminal and desktop, Code Mode for MCP tools, and background subagents
The read-only plan agent is the underrated piece for safely scoping out an unfamiliar repo before touching it.
More from coding & agent
- LLM masters undocumented compiler framework, raising the question: should DSLs be designed for machines? — GianniMariani · 2026-10-20
- Cursor Pro+ $60/month quota shown: Cursor Models 25% used, Other Models 21% — pramodk73 · 2026-10-20
- Cohestry: an Apple-native second brain that feeds curated, redacted context to AI agents via MCP — Emojinapp · 2026-10-20
- Context Mode plugin cuts agent tool output 98%, making Claude Code sessions last 10x longer — thisguyknowsai · 2026-10-20
- DUMEdb: open-source engine replaces 100k-token context replay with 1959-style unit-record memory — MadBradSmith · 2026-10-20
- Qdrant at Agent Conf Berlin on token usage, vector search and AI dev workflows — qdrant_engine · 2026-10-20