Best Self-Hosted AI Coding Agents Tools
Self-hosted AI coding tools put the interface and the data on your server while you bring the model. The five picks cover different jobs. OpenHands is a browser control centre that runs its own agent or third-party ones such as Claude Code and Codex, installed with npx and wanting about 4 GB of RAM. OpenCode is an MIT terminal-first agent whose opencode web mode serves the same sessions in a browser behind basic auth, and our snippet runs its pinned official image. goose is a general-purpose agent written in Rust and licensed Apache-2.0, with a command-line tool, a desktop app and more than 15 model providers; it has no web interface of its own, and our snippet runs the CLI from the project's published image. bolt.diy generates web apps from a prompt and runs them in a WebContainer in your browser; it builds from a git tag, and its Dockerfile gives the build a 4 GB Node heap. PR-Agent is not a coding agent: it reviews and describes merge requests from a webhook on GitHub, GitLab, Bitbucket, Azure DevOps or Gitea. Four are MIT-licensed and goose is Apache-2.0, none ships a model, and every one needs an LLM API key or a local OpenAI-compatible server before it does anything. Treat the agents as remote shells: OpenHands, OpenCode and goose can run commands, so firewall them, set their passwords where they have one, and give them a project directory rather than your whole VM. PR-Agent sends diffs to the model provider you choose.
AI Coding Agents apps
bolt.diy
goose
OpenCode
OpenHands
PR-Agent
Paid link — we earn a commission if you shop through it.
Common questions
How much RAM do self-hosted apps in AI Coding Agents need?
Across the 5 apps in AI Coding Agents, minimums run from 256 MB (goose) to 4096 MB (bolt.diy).
Which app in AI Coding Agents uses the least RAM?
Of the 3 apps in AI Coding Agents we measured, OpenCode used the least: 182 MB at idle (first boot, measured Nov 2026).
Do self-hosted apps in AI Coding Agents support Docker?
4 of the 5 apps in AI Coding Agents list Docker support.