<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenHands &#8211; iAIFeed</title>
	<atom:link href="https://www.iaifeed.com/tag/openhands/feed" rel="self" type="application/rss+xml" />
	<link>https://www.iaifeed.com</link>
	<description>iAIFeed</description>
	<lastBuildDate>Tue, 10 Nov 2026 12:58:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.iaifeed.com/wp-content/uploads/2026/07/cropped-iaifeed1-80x80.png</url>
	<title>OpenHands &#8211; iAIFeed</title>
	<link>https://www.iaifeed.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Run OpenHands Locally and Fix a Real GitHub Issue</title>
		<link>https://www.iaifeed.com/how-to-run-openhands-locally-and-fix-a-github-issue</link>
					<comments>https://www.iaifeed.com/how-to-run-openhands-locally-and-fix-a-github-issue#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Tue, 10 Nov 2026 12:58:13 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[OpenHands]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-run-openhands-locally-and-fix-a-github-issue</guid>

					<description><![CDATA[Install OpenHands with Docker, point it at a repo, and let the agent open a pull request — plus the sandbox settings that keep it from wrecking your machine.]]></description>
										<content:encoded><![CDATA[<p>OpenHands (formerly OpenDevin) is an open-source coding agent that runs in a sandbox, browses the web, edits files, and executes shell commands. You give it a task in plain English; it works through it and shows you the diff.</p>
<p><a href="https://www.iaifeed.com/ai-tool/openhands">OpenHands</a> is not an autocomplete tool. It behaves like a junior engineer with a terminal — which is useful and also a reason to keep it in isolation. This guide covers local setup and a first real task.</p>
<h2 id="what-does-openhands-need-to-run">What does OpenHands need to run?</h2>
<p>Docker, Python 3.12 if you want the source install, and an LLM API key or a local model server. About 4 GB of RAM for the container, more if you point it at a large repository.</p>
<p>The sandbox is the product. The agent gets a Linux environment, not your laptop&#8217;s filesystem. Keep it that way — agents that execute generated shell commands on a host machine are a bad idea regardless of how good the model is.</p>
<h2 id="step-1-start-it-with-docker">Step 1: Start it with Docker</h2>
<p>The fastest path avoids a Python install entirely:</p>
<pre><code>docker pull docker.all-hands.dev/all-hands-ai/runtime:0.30-nikolaik
export SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.30-nikolaik
docker run -it --rm --pull=always \
  -e SANDBOX_RUNTIME_CONTAINER_IMAGE=$SANDBOX_RUNTIME_CONTAINER_IMAGE \
  -e LOG_ALL_EVENTS=true \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -p 3000:3000 --add-host host.docker.internal:host-gateway \
  docker.all-hands.dev/all-hands-ai/openhands:0.30
</code></pre>
<p>Open <code>http://localhost:3000</code>. Note that mounting the Docker socket gives the container control over your Docker daemon. That is how it spawns sandboxes, and it is also why you should run this on a dev machine or VM, never on a shared production host.</p>
<h2 id="step-2-set-the-model">Step 2: Set the model</h2>
<p>In settings, choose a provider and paste a key. OpenHands works with hosted models and with local models served through an OpenAI-compatible endpoint.</p>
<p>Model choice changes the outcome more than any other setting. A small, fast model produces agents that loop — repeating a failing command with slight variations. Reasoning-capable models at roughly 32B parameters and above hold multi-step plans together. If you are running locally, budget the VRAM: an 8B model is not going to solve a multi-file refactor reliably no matter how good the prompts are.</p>
<h2 id="step-3-point-it-at-a-repository">Step 3: Point it at a repository</h2>
<p>Two options: give it a GitHub repository URL, or start from a local workspace mount.</p>
<p>For a first attempt, use a GitHub URL on a small repository you own with a known issue. OpenHands clones into the sandbox, so your local checkout is untouched.</p>
<h2 id="step-4-write-the-task">Step 4: Write the task</h2>
<p>Vague tasks produce vague diffs. A usable task looks like this:</p>
<pre><code>Fix the failing test in tests/test_pagination.py::test_last_page.
The test expects page 3 of 100 items with per_page=25 to contain
exactly 0 items, but the endpoint returns 25.
Do not change the test. Fix the pagination logic in app/pagination.py.
Run the full test suite when done.
</code></pre>
<p>Four things make that work: the specific failing test, the expected behavior, the constraint (do not change the test), and the verification command. Without the constraint, agents happily rewrite the test to pass.</p>
<h2 id="step-5-review-the-diff-then-run-tests-yourself">Step 5: Review the diff, then run tests yourself</h2>
<p>OpenHands shows every file edit and every shell command it ran. Read the command log before the diff. A diff that looks clean but came from eleven failed test runs and a <code>pip install</code> of something unexpected is a diff you should not trust.</p>
<p>Then pull the branch and run the test suite on your own machine. Agent-verified passing tests are a claim, not a proof.</p>
<h2 id="what-does-it-cost-to-run-and-where-does-it-fail">What does it cost to run, and where does it fail?</h2>
<p>Cost is the model&#8217;s token price times the trajectory length. A small issue takes 20 to 60 steps; each step includes the full context. Budget several dollars per task with a frontier model, and cents with a local model that may not finish the task.</p>
<p>Failures cluster in three places: enormous repositories where the agent cannot isolate the relevant files; build systems with slow test suites that time out a step; and tasks requiring domain knowledge that is not in the code or docs. It also cannot review its own work meaningfully — a second model reading the diff catches more than the same model asked to double-check.</p>
<h2 id="quick-summary">Quick Summary</h2>
<ul>
<li>OpenHands is an open-source (MIT) coding agent that runs in a Docker sandbox with a shell, browser, and file editor.</li>
<li>The Docker one-liner needs the runtime image tag plus the Docker socket mount; run it on a dev machine or VM only.</li>
<li>Model choice decides success more than prompt wording; sub-10B local models tend to loop on multi-file work.</li>
<li>A good task names the failing test, expected behavior, constraints, and verification command.</li>
<li>Read the command log before the diff, and always rerun tests yourself before merging.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-run-openhands-locally-and-fix-a-github-issue/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Use OpenHands to Build Software with AI Agents</title>
		<link>https://www.iaifeed.com/how-to-use-openhands-to-build-software-with-ai-agents</link>
					<comments>https://www.iaifeed.com/how-to-use-openhands-to-build-software-with-ai-agents#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Wed, 16 Sep 2026 00:50:11 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[OpenHands]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-use-openhands-to-build-software-with-ai-agents</guid>

					<description><![CDATA[OpenHands is an open-source AI software engineering agent that can write code, run commands, browse the web, and debug projects directly on your machine....]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">OpenHands is an open-source AI software engineering agent that can write code, run commands, browse the web, and debug projects directly on your machine. This guide shows you how to install OpenHands, connect a model, and run your first autonomous coding task safely.</p>



<h2 class="wp-block-heading">What Is OpenHands?</h2>



<p class="wp-block-paragraph">OpenHands (formerly OpenDevin) gives a language model a real sandboxed workspace: a shell, a browser, a file editor, and the ability to execute code. Instead of copying snippets back and forth, you describe a task in plain English and the agent plans, edits files, runs tests, and iterates until the job is done.</p>



<h2 class="wp-block-heading">How to Use OpenHands: Step by Step</h2>



<h2 class="wp-block-heading">1. Install the prerequisites</h2>



<p class="wp-block-paragraph">Make sure you have Python 3.12+, Docker, and a modern browser installed. Docker is required because OpenHands runs the agent inside an isolated container so it cannot damage your host system.</p>



<h2 class="wp-block-heading">2. Install OpenHands</h2>



<p class="wp-block-paragraph">Clone the repository or install the package, then start the web UI with a single command. The first launch pulls the runtime Docker image, so allow a few minutes for the download.</p>



<h2 class="wp-block-heading">3. Connect an LLM</h2>



<p class="wp-block-paragraph">Open the settings panel and add an API key from your preferred provider, or point OpenHands at a local model server. Choose a capable coding model, since the quality of the agent depends heavily on the underlying model.</p>



<h2 class="wp-block-heading">4. Create your first workspace</h2>



<p class="wp-block-paragraph">Start a new session and give OpenHands a repository path or a fresh directory. The agent will index the files and build an internal understanding of the project structure.</p>



<h2 class="wp-block-heading">5. Write a clear task prompt</h2>



<p class="wp-block-paragraph">Describe the outcome you want, not just the file to edit. For example: &#8216;Add pagination to the /users endpoint, write tests, and make sure the suite passes.&#8217; Include acceptance criteria so the agent can self-verify.</p>



<h2 class="wp-block-heading">6. Let the agent work and review</h2>



<p class="wp-block-paragraph">OpenHands will plan, edit files, run commands, and show every action in the interface. Watch the terminal output and diffs, and interrupt at any time if it goes off track.</p>



<h2 class="wp-block-heading">7. Verify and export the changes</h2>



<p class="wp-block-paragraph">Review the final diff, run the test suite yourself, then commit the branch. You can copy the agent&#8217;s patch directly into your own workflow.</p>



<h2 class="wp-block-heading">Tips for Getting the Most Out of OpenHands</h2>


<ul><li>Keep tasks small and verifiable. One well-scoped ticket per session produces far better results than a vague mega-task.</li><li>Enable the browser tool when a task requires reading documentation or checking a live site.</li><li>Use a persistent Docker volume if you want workspaces to survive restarts.</li><li>Always review generated code before merging; the agent is powerful but not infallible.</li></ul>


<h2 class="wp-block-heading">Final Thoughts</h2>



<p class="wp-block-paragraph"><a href="https://www.iaifeed.com/ai-tool/openhands">OpenHands</a> removes the friction between an idea and a working result, whether you are automating research, writing code, or orchestrating multi-step AI workflows. Start with a small, concrete task, review every step the agent takes, and expand from there. With the workflow above you can go from installation to a finished, verified result in a single session.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-use-openhands-to-build-software-with-ai-agents/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
