HolyCode is a Docker image that wraps OpenCode (
https://opencode.ai), an AI coding agent with a web UI. It ships with 30+ dev tools pre-installed, a headless Chromium/Xvfb/Playwright stack, s6-overlay for process supervision, and UID/GID remapping for correct file permissions on bind mounts.
The main problem it solves: rebuilding the same environment every time you switch machines or update a container. All OpenCode state (sessions, settings, MCP configs, plugins) lives in a bind mount outside the container. Rebuild or update the image, your state comes back.
*On the API key cost angle:*
If you pay for Claude Max or Pro, you can use those credentials directly instead of a separate Anthropic API key. One env var enables it. The plugin reads from the credentials file OpenCode stores on your host. This removes a layer of cost if you're already paying for a subscription.
Note: this may be outside what Anthropic's ToS covers. The README is explicit about that.
It supports 10+ AI providers (Anthropic, OpenAI, Gemini, Groq, Bedrock, Azure, Ollama, and more). The Claude subscription feature is optional. Set any provider key and it works.
oh-my-openagent is also included as an optional plugin (`ENABLE_OH_MY_OPENAGENT=true`). It turns OpenCode into a coordinated multi-agent system with parallel execution and specialized agents.
GitHub: https://github.com/coderluii/holycode
Docker Hub: https://hub.docker.com/r/coderluii/holycode
Anthropic considers that a violation because third parties aren't allowed to offer Claude.ai login for their products.
HolyCode uses a lighter approach, I think? It seems that it reads from the local credentials file that Claude Code already stores on the host. But unfortunately the underlying tension is the same.
Anthropic subsidizes $5k of compute on a $200 sub, but only wants you to use it through their own surfaces. Third-party tools that tap into those subsidized tokens, whether via custom OAuth or local credential files, are all in a gray area until Anthropic actually clarifies their policy.
Which, as of today, they still haven't...unfortunately.
reply