Self-hosted AI coding agents
Some teams can't send their code to a hosted agent service, or want to choose their own model and network rules. The open-source tools below can run on your own servers or cloud account. You still pay for the machines and for model usage, unless you also run the model yourself.
Self-hostable coding agents in the directory
- DAIV: Open-source (Apache-2.0), self-hosted coding agent that works inside GitLab (self-managed included) and GitHub. Label an issue and it posts a plan; approve it and DAIV opens a merge request, fixes failing CI and answers review comments. Runs in a sandbox with network egress you define, with any model you choose, plus a dashboard, MCP endpoint, Jobs API and scheduled jobs. No per-seat pricing; version 3.0 released Nov 25, 2026. Official site
- OpenHands: Open-source (MIT core) platform for building and running AI coding agents locally or in the cloud. Official site
- OpenComputer: Open-source (Apache-2.0, diggerhq/opencomputer) cloud coding agent you use from Slack. Runs Claude Code or Codex on one durable VM per team, with sessions isolated in git worktrees. Self-host on AWS, Azure or Google Cloud, or use the hosted service (3-day free trial, then paid plans). Bring your Claude or ChatGPT plan or an API key. Official site
- Mastra Factory: Open-source (Apache-2.0) software factory from the Mastra team: connect a repo and it turns issues into plans, implementations and reviewed pull requests, following the stages, skills and approvals you set, with a kanban board and Slack @-mentions. Self-host or use the hosted Mastra platform; launched on Show HN Nov 18, 2026. Official site
- AgentRun: Open-source (Apache-2.0) alpha platform that adds durable execution, self-improvement, a control plane and on-demand computers on top of harnesses like Pi, Claude Code, Codex and OpenCode. Official site
- Tabby: Self-hosted AI coding assistant. Official site
Things to check before you pick one
- Where it works. Check whether it lives in GitLab or GitHub issues, Slack, a kanban board or your editor.
- Models. Look for support for your provider of choice, or an OpenAI-compatible server if you want to run models yourself. See local AI coding assistants.
- Isolation and network. Agents should run in a sandbox with limited network access and without holding long-lived credentials. See AI agent sandboxes.
- What it takes to run. Read the install docs: some need only Docker on one host, others a cloud account and several services.
Related guides
- Open-source AI coding agents
- AI software factories: issues to pull requests
- Cloud AI coding agents that open pull requests
- AI coding agent security tools
- All cloud agents
Missing a tool? Submit it for free.