OpenHands AI Coding Agent - Self-Hosted

AWS Artificial Intelligence (AI)

a self hosted AI software engineering agent that plans and runs coding tasks in a sandboxed container, supported by cloudimg

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

OpenHands is an open source AI software engineering agent. You describe a task in a browser and the agent plans it, then reads and edits files, runs shell commands and browses the web to carry it out, working inside a sandboxed runtime container it launches on demand. It is designed for teams that want an agentic coding assistant running on infrastructure they control, rather than a hosted service. No model provider key ships with the image: you supply your own on first run, and model requests go directly from your instance to the provider you choose.

Why the cloudimg image

cloudimg ships OpenHands ready to run rather than as a set of assembly steps. A password unique to your instance is generated on first boot and written to a root only file, so no shared or default credential ships in the image, and the whole application sits behind an authenticating reverse proxy because OpenHands has no login of its own. Agent state and the container image store each get a dedicated, independently resizable data volume, kept separate from the operating system disk. Every image is paired with a deploy guide written against a real running instance, and backed by 24/7 support.

Common uses

  • Run a private coding agent on infrastructure you control, so code and prompts stay in your own environment
  • Automate repetitive engineering work such as refactors, dependency upgrades, test writing and bug reproduction
  • Evaluate agentic software development against your own repositories and your existing model provider

Key features

  • Running in minutes, not hours: this AMI removes the manual container setup, nginx configuration, volume provisioning and credential hardening a source install requires. OpenHands launches fully configured, with dedicated, independently resizable storage volumes for agent state and the Docker image store, so the only setup step left is entering your model provider API key
  • Your code stays on your own instance: unlike hosted AI coding services, model requests go directly from your instance to the provider you choose, and your API key, conversation history and workspace files are stored only on that instance. Bring your own Anthropic, OpenAI or other provider key; no bundled credits or hosted inference endpoint ships with the image
  • Secure by default, with 24/7 support: every instance generates a unique password on first boot and no shared or default credential ships in the image, with HTTP Basic Authentication at the nginx reverse proxy gating all access. cloudimg engineers help with deployment, instance sizing, Docker configuration, TLS termination and scaling

See it running

Real screenshots taken while testing this image against its deployment guide.

OpenHands AI Coding Agent - Self-Hosted screenshot 1 OpenHands AI Coding Agent - Self-Hosted screenshot 2 OpenHands AI Coding Agent - Self-Hosted screenshot 3

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

Why This AMI Over Manual Installation

This image eliminates the multi-step container setup, nginx reverse proxy configuration, storage volume provisioning and credential hardening you would perform yourself when installing OpenHands from source. A private, self hosted agent is running within minutes of launch rather than the hours a manual deployment typically takes.

Overview

OpenHands is an open source AI software engineering agent. You describe a task in a browser, and the agent plans it, then reads and edits files, runs shell commands and browses the web to carry it out, working inside a sandboxed runtime container that it launches on demand. This image delivers OpenHands 1.8 fully installed and configured, so you can start automating engineering work immediately.

Bring Your Own Model Provider Key

No model API key, model credits or hosted inference endpoint ship with this image. OpenHands opens its provider configuration screen on first visit, where you enter your own provider API key, for example Anthropic or OpenAI. This is a required first run step. Your key and all conversation state are stored only on your own instance, and model requests go directly from your instance to the provider you choose, rather than through a third party service. You keep control of which model you use and where your data goes.

Application Stack

OpenHands runs as the official application container under Docker, bound to the instance loopback address, with nginx fronting it on port 80. The agent starts its sandboxed runtime containers through the host Docker socket. State, which means your settings, conversation history and the agent workspace, and the Docker image store both live on their own dedicated, independently resizable storage volumes kept separate from the operating system disk.

Secure By Default

OpenHands has no built in login of its own, and the agent can run commands on the instance, so access is gated by HTTP Basic Authentication at the nginx reverse proxy in front of the whole application. This image generates a fresh password, unique to your instance, on its first boot and writes it to a root only file. No shared or default credentials ship in the image, which removes a common misconfiguration risk from day one. An unauthenticated health endpoint stays open for load balancer probes; everything else requires the password.

Getting Started

1. Launch the AMI on your preferred instance type.

2. Retrieve the unique password from the instance.

3. Open the instance address in your browser and sign in.

4. Enter your model provider API key in the settings screen.

5. Describe your first task and the agent executes it in a sandboxed container.

Use Cases

A private, self hosted coding agent inside your own virtual private cloud, for teams that need code and prompts to stay on infrastructure they control. Automating repetitive engineering work such as refactors, dependency upgrades, test writing and bug reproduction. Evaluating agentic software development on your own repositories, against the model provider you already use.

cloudimg Support

24/7 technical support by email and chat. Help with OpenHands deployment, instance sizing, connecting your own model provider, the sandboxed runtime and Docker configuration, TLS termination and scaling.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

openhandsai coding agentsoftware engineering agentself hosted ai agentai developer toolllm coding assistantprivate code agentdevin alternativeautomated refactoringai pair programmersandboxed ai agentbyok ai agent