OpenCode is an open-source terminal coding agent published by Anomaly Innovations, formerly the SST (Serverless Stack) team. The project ships under MIT license at github.com/sst/opencode and is organized as a Bun workspace monorepo with 20-plus packages and Turbo build orchestration; the Go SDK published on pkg.go.dev indicates a Go component in the backend stack. The TUI is designed by Neovim users, which is visible in the keyboard-first interaction model. The project has accumulated tens of thousands of GitHub stars since its mid-2025 release.
The architecture is client-server: a persistent local server process holds session state and connects to LLM providers, while a TUI client, a desktop app, a VS Code extension, or a web UI talks to it over the local socket. Sessions survive terminal disconnects, SSH drops, and machine sleep; reconnecting picks up where the previous session left off. The model layer abstracts over 75-plus LLM providers including Anthropic, OpenAI, Google, and local model runners. Two built-in agents ship: build (full read-write access) and plan (read-only, for analysis and exploration), toggled via Tab. Language Server Protocol integration provides language-aware navigation and diagnostics for the agent.
Distribution-wise, opencode-sdk-go on pkg.go.dev exposes the API for embedding the agent into other Go programs. The mobile-first portal project (github.com/hosenur/portal) provides a web UI with git integration and in-browser terminal, illustrating that the client-server split enables non-Anomaly teams to ship their own front ends against the same backend.
HRF awarded OpenCode in the November 24, 2025 AI for Individual Rights round. The grant funds work on the platform's use by civil-society teams under authoritarian rule, where routing sensitive software work through corporate AI infrastructure is a surveillance risk. The local-first runtime is the structural defense: code that never leaves the developer's machine cannot be subpoenaed from a vendor, and the open codebase lets security teams audit what the agent actually does before deploying it on sensitive repositories. The competing alternatives are Claude Code, Cursor, GitHub Copilot, and Aider; OpenCode's differentiation is the provider-agnostic backend plus the client-server split that lets the same agent state serve a TUI, an IDE, and a mobile client.
Recipient
OpenCode
Funder
Human Rights Foundation · foundation · Global
Funds open-source AI tools that put inference, agentic capability, and private compute into the hands of dissidents and civil society under authoritarian regimes.
Primary source
https://hrf.org/latest/hrf-announces-support-for-projects-advancing-ai-for-individual-rights/
Additional sources
More from Human Rights Foundation
- Stringer Safety 2026-01-18 · Hackathon prize
Safety app for journalists in high-risk environments. Reporters maintain a trusted contact network with shared location and status; a one-click SOS triggers response recommendations using the encrypted Maple AI assistant.
- Pathos 2026-01-18 · Hackathon prize
Application running on the decentralized Nostr protocol so it cannot be shut down by governments. Built at HRF's first AI Hack for Freedom in Austin, January 2026.
- Maple AI 2025-11-24 · Undisclosed
Open-source, end-to-end encrypted AI assistant built by OpenSecret using secure enclaves and confidential computing. Activists in authoritarian environments can use frontier LLMs without their queries being scanned, stored, or handed to governments. HRF support funds capability improvements and new features for activist research workflows.
- Routstr 2025-11-24 · Undisclosed
LLM routing marketplace built on the Nostr decentralized communications protocol. Users connect pseudonymously to buy and sell access to each other's AI accounts in an uncensorable peer-to-peer marketplace, giving activists inference even when governments or corporate providers block them.
- PlebDevs AI Development Course 2025-11-24 · Undisclosed
Developer education platform focused on Bitcoin and open-source technology launching an AI development course for beginners building open-source AI tools in repressive environments.