anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

An open source AI coding agent for the terminal, the desktop and the web. It connects to many model providers and to local models. Mindket’s setup notes cover installing, models, agents, permissions, MCP servers and moving from OpenCode 1.
OpenCode is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
curl -fsSL https://opencode.ai/v2/install | bash opencode
And 1 more in Where to use it
OpenCode is an open source AI coding agent. You use it in a full-screen terminal interface, in a desktop app that the README marks BETA, or in a web app. You describe a change in plain words. The agent searches and reads your code, edits files and runs commands, and asks first where your rules say so. By default one shared background server owns the sessions, and every local client connects to it. This listing holds Mindket’s setup notes for it, written from the maker’s README and docs.
Developers who want a coding agent in the terminal that works with the model they already have. That can be a provider key, a ChatGPT Plus or Pro sign-in, GitHub Copilot with Copilot Chat access, OpenCode’s free models, or a local model from Ollama, LM Studio or vLLM. It also suits people who keep a project’s rules in files: an AGENTS.md for conventions, agents, commands and skills as Markdown, and permission rules in opencode.jsonc. Admins can set policies that a repository cannot undo.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Developers | Ask for an outcome in a project folder and let the agent pick its tools | The Tools page’s example asks it to find where request timeouts are configured, change the default to 30 seconds and run the relevant existing tests. |
| Code review | Reviewers and teams | Add a read-only reviewer as a subagent | The Agents page’s reviewer denies edit and shell, and lists findings in severity order with file and line references. |
| Scripts and CI | Developers who automate | Run one prompt with no interface | The CLI page gives opencode run "Explain this repository" for scripts and CI jobs. |
| Remote and shared hosts | People with an always-on machine | Run the server on that host and connect from elsewhere | The Web page runs opencode serve on port 4096, then connects a client with opencode --server. |
| Organizations | Admins | Deploy policies that deny providers or tools | The Policies page’s first example denies one provider everywhere. |
Skip it if you need something settled. The desktop app is marked BETA, and OpenCode 2 changes plugins, the server API and the terminal settings from OpenCode 1.
OpenCode runs in these places.
The Intro page says OpenCode has built-in support for many LLM providers. Setup covers provider keys, a ChatGPT sign-in, GitHub Copilot, Ollama, LM Studio, vLLM and a custom OpenAI-compatible endpoint.
Get it saves a zip of Mindket’s setup notes in your downloads folder, with every command copied from the OpenCode docs. The main route is one install line, then a model.
| Need | Detail |
|---|---|
| A terminal | The docs suggest Ghostty, WezTerm, Alacritty and Kitty. A terminal without truecolor gets less accurate theme colors |
| A model | A provider account or key, a ChatGPT Plus or Pro sign-in, GitHub Copilot with Copilot Chat access, a local model server such as Ollama, or OpenCode’s free models, which work signed out. OPENCODE_DISABLE_FREE_MODELS=1 hides them |
| Git | Only for /undo to restore files. Outside a repository it rolls back the conversation but not the files |
| mise | Version 2026.10.9 or later, if you install with mise. Older versions install OpenCode 1 |
| OpenCode 1 | Remove a package-managed copy before you install version 2 |
| Windows | The Intro page says Windows package managers are not supported |
curl -fsSL https://opencode.ai/v2/install | bash opencode
The README labels the curl line “YOLO”. The line downloads a script and runs it at once with bash. It installs OpenCode to $HOME/.opencode/bin. Package managers are the other route, for example brew install anomalyco/tap/opencode-v2 or npm install -g @opencode/cli.
Ask for the outcome and let the agent choose its tools. The Tools page’s example prompt is below.
Find where request timeouts are configured, change the default to 30 seconds, and run the relevant existing tests.
The TUI page says Shift+Tab cycles agents, and Ctrl+X then A, or /agents, picks one. There are two built-in primary agents. Build has full access. Plan is read-only and denies file edits by default. The README adds that plan asks before shell commands, but the Permissions page’s defaults give plan no shell rule, so add one yourself.
| Command | What it does |
|---|---|
| /connect | Connects a model provider |
| /models | Picks a model for the session |
| /undo | Rolls back the last response and its file changes. /redo cancels the rollback |
| opencode run "Explain this repository" | Runs one prompt with no interface |
| opencode pair | Prints a link that opens the web interface |
| opencode service status | Shows the shared background server’s address |
You want a second look at your changes, and you do not want the agent to edit anything. You saved the Agents page’s reviewer, shown below, as .opencode/agents/reviewer.md. You ask your main agent:
Use the reviewer subagent to review my current changes.
The reviewer runs in a child session with fresh context and its own permissions. It cannot edit files or run shell commands, so it reads your changes. Its prompt tells it to list findings in severity order, with file and line references.
This is the reviewer file from the Agents page. Change the model line to a model you have connected.
---
description: Reviews changes for correctness and regressions
mode: subagent
model: anthropic/claude-sonnet-5-5#high
permissions:
- action: edit
resource: "*"
effect: deny
- action: shell
resource: "*"
effect: deny
---
Review the current changes. List findings in severity order with file and line references.The parent agent’s subagent rules decide which subagents it may launch.
If you are new. A coding agent is more than a chat box. It reads your project, edits files and runs commands, and it does that through tools. In OpenCode the default policy allows every tool except reading .env files, which ask first. Start in a Git repository, so /undo can restore files. Try the plan agent on a project you do not know yet. Run /models before your first prompt to see what you can use. The Intro page also points to Boot.dev’s course on AI coding with OpenCode, which Boot.dev created in consultation with the OpenCode team. It says the course information is free to read and watch, though some interactive features may require payment.
For experts. Most of what OpenCode does is set by files and a server.
OpenCode acts on your machine, and a few of its paths reach out.
This kit holds setup notes only. Mindket wrote them. OpenCode installs from its maker's own installers and packages, and its source is at https://github.com/anomalyco/opencode
These notes are not made or endorsed by the OpenCode team. The README calls OpenCode "The open source AI coding agent." The documentation is at https://opencode.ai/v2/docs. The README asks any project that uses "opencode" in its name to say that it is not built by the OpenCode team and is not affiliated with it. This kit is such a project.
License: MIT. The LICENSE file (https://github.com/anomalyco/opencode/blob/dev/LICENSE) reads "Copyright (c) 2025 opencode".
$HOME/.opencode/bin. Source: https://github.com/anomalyco/opencode/blob/dev/README.md ("Installation Directory") and https://opencode.ai/v2/docs/cli/~/.local/share/opencode/opencode.db, the log is ~/.local/share/opencode/log/opencode.log, and your own settings go in ~/.config/opencode/opencode.json(c). Sources: https://opencode.ai/v2/docs/troubleshooting and https://opencode.ai/v2/docs/configThe README's first line, marked "YOLO":
curl -fsSL https://opencode.ai/v2/install | bash
It downloads a script and runs it at once. The README then lists package managers, among them:
npm i -g @opencode/cli@latest
brew install anomalyco/tap/opencode-v2
The README also carries this tip: "Remove versions older than 0.1.x before installing." Source: the README, "Installation".
Then start OpenCode in a project folder:
opencode
The update setting in your global config decides what OpenCode does about updates: "disable" skips the check, "notify" shows an available update before installing it, and "auto" installs it. Without the setting it is "notify". Source: https://opencode.ai/v2/docs/config ("Updates").
To remove OpenCode, preview first:
opencode uninstall --dry-run
Then run opencode uninstall to confirm. The CLI page says session data, configuration and state are never removed, and that a curl install prints the final command for removing the executable by hand. Source: https://opencode.ai/v2/docs/cli/
README.md 5 KB setup/agents-commands-skills.md 6 KB setup/desktop-app.md 3 KB setup/install-cli.md 5 KB setup/mcp-and-plugins.md 5 KB setup/models-and-providers.md 8 KB setup/permissions-and-safety.md 5 KB setup/upgrade-from-v1.md 4 KB setup/web-and-servers.md 4 KB
Updated by Mindket to the current version of this kit.
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.