{"added":"2026-11-05T11:42:07-05:00","apiVersion":1,"behindSince":null,"buildDepends":["devel/gmake","lang/bun","lang/zig","security/ca_root_nss","www/node24","www/npm-node24"],"categories":["ai"],"comment":"AI coding agent for the terminal","compare":null,"dependentCount":null,"description":"OpenCode is an open-source, model-agnostic AI coding agent that runs in the\nterminal.  It combines a full-screen TUI and a scriptable CLI with a\nclient/server architecture, LSP awareness, and multi-session support, and can\ntalk to dozens of model providers or local models.","flavors":[],"html":"https://daemonports.org/midnightbsd/ai/opencode2/","kind":"port","lastUpdate":"2026-11-05T11:42:07-05:00","license":["mit"],"licenses":["MIT"],"maintainer":"ports@MidnightBSD.org","name":"opencode2","newest":false,"newestVersion":null,"noVulnData":true,"origin":"ai/opencode2","otherSystems":[],"packages":null,"pkgName":"opencode2-2.2.5","related":["ai/opencode"],"repository":"mports","requiredBy":[],"requiredByCount":0,"runDepends":["textproc/ripgrep"],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"2.2.5","versions":[{"commit":"f2fe4fecc912f98e33b354f35f5891f3b0c4275f","date":"2026-11-05","version":"2.2.5"}],"vulnerabilities":null,"www":"https://opencode.ai/"}
