Credential access
May access repository files, tool configs, and environment variables available to the agent session.
brew
AI coding agent, built for the terminal. Version 1.17.10 via Homebrew; verified 2026-06-26.
agent safety
opencode is an agent-facing coding tool that can read files and invoke local developer workflows.
May access repository files, tool configs, and environment variables available to the agent session.
Can trigger local tools that mutate Git, cloud, or package state.
Can generate code or commands that become release artifacts.
Run under containment and gate sensitive tool actions.
Use with scanned worktrees; require approval before commands that expose credentials or mutate remote systems.
install
brew install opencodelocal Homebrew formula metadata
sudo port install opencodeMacPorts ports tree · llm/opencode/Portfile · source: api.github.com
nix profile install nixpkgs#opencodenixpkgs package indexes · pkgs/by-name/op/opencode/package.nix · source: api.github.com
sudo pacman -S opencodeArch Linux sync databases · opencode · source: geo.mirror.pkgbuild.com
choco install opencodeChocolatey community package catalog · opencode · source: community.chocolatey.org
scoop install main/opencodeScoop official bucket manifest trees · bucket/opencode.json · source: api.github.com
winget install --id SST.OpenCodeDesktop -eWindows Package Manager source index · SST.OpenCodeDesktop · source: cdn.winget.microsoft.com
overview
AI coding agent, built for the terminal
history
OpenCode is an open-source AI coding agent distributed for terminal, IDE, and desktop workflows. The project positions the CLI as a coding assistant with a native terminal interface, LSP awareness, multi-session work, session sharing, and support for many model providers.
The official documentation and repository present OpenCode as a rapidly distributed developer tool rather than a project with a deeply documented pre-release history. Its packaging moved across the JavaScript ecosystem, Homebrew, Arch, Windows package managers, Nix, and a beta desktop app, which reflects the AI-coding-agent pattern of shipping a local CLI plus integrations rather than only a hosted service.
The repository installation notes distinguish the project-maintained Homebrew tap from the Homebrew core formula, saying the tap is recommended for faster updates while `brew install opencode` is maintained by Homebrew and updated less frequently. That distinction matters because the package in this batch is the Homebrew formula rather than the upstream tap.
OpenCode's own site makes large adoption claims, including GitHub stars, contributors, commits, and monthly developer usage. Those are project-published metrics rather than independent measurements, but they show how the project presents itself: as a mainstream open-source alternative in the coding-agent ecosystem.
Developers use `opencode` as an interactive agent for repository work: asking questions, requesting features, making code changes, undoing changes, and running parallel sessions. The docs list API keys as a prerequisite and describe use from a modern terminal emulator, with desktop and IDE forms for users who do not want only a TUI.
OpenCode is package-nerdy because it is a CLI front end over a fast-moving agent stack: releases must coordinate model-provider auth, terminal UI behavior, editor integration, desktop artifacts, and package managers that update at different speeds. Its Homebrew formula is part of a broader install matrix rather than the single canonical upstream channel.
security posture
No matching local secret-handling manifest was found for opencode. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/Library/Application Support/opencode/auth.json~/Library/Application Support/opencode/account.json$XDG_DATA_HOME/opencode/auth.json$XDG_DATA_HOME/opencode/account.json~/.local/share/opencode/auth.json~/.local/share/opencode/account.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
opencode | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:opencode |
|---|---|
| Version | 1.17.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/opencode |
| Homepage | https://opencode.ai |
| Repository | https://github.com/anomalyco/opencode |
| Upstream docs | https://opencode.ai/docs |
| License | MIT |
| Source archive | https://registry.npmjs.org/opencode-ai/-/opencode-ai-1.17.10.tgz |
| Last updated | 2026-06-26T02:25:21Z |
| Pulse | updated |
| Dependencies | node, ripgrep |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencode |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
opencode
nix profile install nixpkgs#opencodeopencode 1.17.3-1
The open source coding agent
https://github.com/anomalyco/opencode
sudo pacman -S opencodeopencode
sudo port install opencodeopencode
choco install opencodemain/opencode
scoop install main/opencodeSST.OpenCodeDesktop
winget install --id SST.OpenCodeDesktop -eSST.opencode
winget install --id SST.opencode -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.