# OpenCode

OpenCode is an open-source AI (artificial intelligence) coding agent for terminal, editor, and desktop environments that helps developers write, debug, refactor, and explain code through multi-session workflows while. It is open source and self-hosted, installable on Docker Hub and Umbrel.

Canonical page: https://ourlocalhost.com/app/3711/opencode

## Description

OpenCode is an open-source AI (artificial intelligence) coding agent for terminal, editor, and desktop environments that helps developers write, debug, refactor, and explain code through multi-session workflows while keeping full control over their code and data.

## Platform availability

Available on 4 of 10 platforms: Unraid, Umbrel, Mac, Linux.

## Desktop and other devices

Mac, Linux.

## Health score

82/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 19 days ago)
- Popular: 100 (224,070 GitHub stars)
- Easy to install: 65 (4 install platforms, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Official website: https://opencode.ai
- desktop: https://github.com/anomalyco/opencode/releases/latest
- Docker Hub: https://hub.docker.com/r/anomalyco/opencode
- Umbrel: https://apps.umbrel.com/app/opencode
- Documentation: https://opencode.ai/v2/docs
- GitHub: https://github.com/anomalyco/opencode

## Common questions

### How can I prove OpenCode makes no outbound API calls when using a local model?

A guide explains how to self-host OpenCode with a local model and use tcpdump to verify zero outbound API tokens.

### Can OpenCode use npm plugins for code review?

A Reddit post describes an npm plugin that installs a code review command for OpenCode, and the author notes it is not perfect.

### Where are common OpenCode issues documented?

The official troubleshooting page lists common issues and how to resolve them.

## Alternatives

- Claude Code: Claude Code is a self-hosted Docker container that keeps an always-on Claude Code session on your homelab, so the agent stays reachable fro…
- Codex: Codex is a web-based comic archive browser and reader for organizing, importing, and reading personal CBZ, CBR, CB7, CBT, and PDF comic lib…
- Cursor: The AI-first Code Editor.
- DSH: DeepSeek Harness (DSH) is an open-source artificial intelligence (AI) coding agent you drive from the browser: it reads and writes your pro…
- Devin Desktop: Windsurf is an IDE that enables anyone to collaborate in lockstep with AI.
- Dify - LLMOps Platform: Unifies plugin and dataset integration with a single API, offers visual orchestration for AI application creation, analytics, annotation, a…
- Emdash: EmDash is a full-stack TypeScript CMS based on Astro; the spiritual successor to WordPress
- Firebase Studio: A cloud-based, agentic development environment designed to accelerate how you build, test, deploy and run production-quality AI application…
- GitHub Copilot: GitHub Copilot leverages the power of OpenAI Codex to provide real-time suggestions for code and complete functions, all within your editor.
- Google Antigravity: Google Antigravity is an agentic IDE and coding environment designed to support real world software projects through autonomous development…
- Sourcegraph: Sourcegraph is a self-hosted code search and code intelligence platform that helps large development teams explore complex codebases with A…
- TabbyML: Tabby is an open-source, self-hosted AI coding assistant.

---
Source: Our Local Host (https://ourlocalhost.com/app/3711/opencode), the self-hosted and open-source app directory.
