OpenCode setup tutorial: build an app and review Git changes

Learn OpenCode's desktop workflow on Apple Silicon, use Plan and Build modes, and turn a local-storage to-do app into a Kanban board.

Player not loading? Watch on YouTube

This beginner tutorial introduces OpenCode as an open source coding assistant that connects models to file editing, shell commands and other development tools. The speaker explains the distinction between the agent harness, provider layer and model, with comparisons to Codex and Claude Code. Local models appear among the supported options discussed, but the walkthrough uses OpenCode Zen rather than demonstrating how to run models locally.

The setup follows the desktop beta on an Apple Silicon Mac. The speaker also lists Windows and Linux desktop versions, alongside terminal and IDE interfaces. The tour covers project folders, sessions, model selection and permission settings, with automatic permission approval left disabled.

The practical example starts with a to-do web app that stores tasks in local storage. The speaker requests a plan, answers questions about styling and file structure, then manually switches to Build mode to apply it. Later prompts combine active and completed tasks, add a Kanban layout and introduce a deletion confirmation dialog. The app opens in an external browser after the speaker cannot find an in-app preview.

The final sections demonstrate Git diffs, reverting a change and drafting an agents.md file. The speaker favors the DeepSeek version 4 Flash model's speed in this small example, but does not test a complex production application.