I Made an Open-Source AI Fix My Code & Open a Pull Request (OpenHands)

Prompt Engineer ยท Intermediate ยท๐Ÿง  Large Language Models ยท2w ago

About this lesson

๐Ÿ‘‰๐ŸปGet Hostinger VPS: https://hostinger.com/prompt Use coupon code "PROMPT" for 10% discount An open-source AI software engineer read my broken repo, found the bug, fixed it, ran the tests, and opened a Pull Request โ€” completely on its own. In this video I deploy OpenHands (formerly OpenDevin) on a Hostinger VPS, connect it to GitHub, and hand it a real bug to fix end-to-end. Demo repo used in this video: https://github.com/PromptEngineer48/openhands-demo OpenHands is free, open source, self-hosted, and works with any LLM (I'm using Claude). It scores 68.4% on SWE-bench Verified โ€” the top of the open-source pack โ€” and it's a genuine alternative to closed tools like Devin. ๐Ÿ’ก What you'll learn โ€ข How to deploy OpenHands on a VPS with one click โ€ข Connecting an AI agent to GitHub (issues โ†’ PRs) โ€ข Letting an agent run tests and self-correct โ€ข Real cost + honest limitations Chapter: 0:00 The PR an AI wrote and I just merged 0:15 What is OpenHands (formerly OpenDevin) 0:47 How autonomous AI agents actually work 1:23 The agent loop: Perceive, Plan, Act, Observe 2:05 Safe sandbox containers explained 2:12 OpenHands vs Devin: open source wins 2:37 68% on SWE-bench: the proof 2:54 Honest pros and cons 4:05 Setting up the demo project 5:31 Planting a bug and creating a GitHub issue 6:18 Setting up a Hostinger KVM2 VPS 8:25 SSH in and installing OpenHands 9:16 Running the GUI and connecting OpenRouter 10:33 Connecting your GitHub repo with a token 11:29 Prompting OpenHands to fix the bug 12:02 Watching it run tests and patch the code 12:55 Pull request opened automatically 13:03 Merging the fix and verifying 13:28 Final thoughts: a revolution in coding ๐Ÿ”— Links OpenHands repo: https://github.com/All-Hands-AI/OpenHands OpenHands docs: https://docs.openhands.dev ๐Ÿ”— Connect with me: Ko-fi โ†’ https://ko-fi.com/promptengineer Patreon โ†’ https://www.patreon.com/PromptEngineer975 Book a Call โ†’ https://calendly.com/prompt-engineer48/call GitHub โ†’ https://github.com/PromptEngineer4

Original Description

๐Ÿ‘‰๐ŸปGet Hostinger VPS: https://hostinger.com/prompt Use coupon code "PROMPT" for 10% discount An open-source AI software engineer read my broken repo, found the bug, fixed it, ran the tests, and opened a Pull Request โ€” completely on its own. In this video I deploy OpenHands (formerly OpenDevin) on a Hostinger VPS, connect it to GitHub, and hand it a real bug to fix end-to-end. Demo repo used in this video: https://github.com/PromptEngineer48/openhands-demo OpenHands is free, open source, self-hosted, and works with any LLM (I'm using Claude). It scores 68.4% on SWE-bench Verified โ€” the top of the open-source pack โ€” and it's a genuine alternative to closed tools like Devin. ๐Ÿ’ก What you'll learn โ€ข How to deploy OpenHands on a VPS with one click โ€ข Connecting an AI agent to GitHub (issues โ†’ PRs) โ€ข Letting an agent run tests and self-correct โ€ข Real cost + honest limitations Chapter: 0:00 The PR an AI wrote and I just merged 0:15 What is OpenHands (formerly OpenDevin) 0:47 How autonomous AI agents actually work 1:23 The agent loop: Perceive, Plan, Act, Observe 2:05 Safe sandbox containers explained 2:12 OpenHands vs Devin: open source wins 2:37 68% on SWE-bench: the proof 2:54 Honest pros and cons 4:05 Setting up the demo project 5:31 Planting a bug and creating a GitHub issue 6:18 Setting up a Hostinger KVM2 VPS 8:25 SSH in and installing OpenHands 9:16 Running the GUI and connecting OpenRouter 10:33 Connecting your GitHub repo with a token 11:29 Prompting OpenHands to fix the bug 12:02 Watching it run tests and patch the code 12:55 Pull request opened automatically 13:03 Merging the fix and verifying 13:28 Final thoughts: a revolution in coding ๐Ÿ”— Links OpenHands repo: https://github.com/All-Hands-AI/OpenHands OpenHands docs: https://docs.openhands.dev ๐Ÿ”— Connect with me: Ko-fi โ†’ https://ko-fi.com/promptengineer Patreon โ†’ https://www.patreon.com/PromptEngineer975 Book a Call โ†’ https://calendly.com/prompt-engineer48/call GitHub โ†’ https://github.com/PromptEngineer4
Watch on YouTube โ†— (saves to browser)
Sign in to unlock AI tutor explanation ยท โšก30

Related Reads

๐Ÿ“ฐ
ChatGPT for Problem Solving: A Framework for Thinking Through Anything
Learn to use ChatGPT as a framework for problem-solving, guiding you through defining, analyzing, and finding solutions to everyday challenges
Dev.to AI
๐Ÿ“ฐ
Stop Editing Prompts. Build a Context Compiler Instead
Learn to build a context compiler to improve prompt engineering and reduce model failures
Dev.to ยท AI Explore
๐Ÿ“ฐ
Green CI, Broken UI: an LLM-as-Judge for Playwright + Gemini 2.5
Learn how to use LLMs to judge Playwright tests and avoid false positives with Gemini 2.5
Medium ยท LLM
๐Ÿ“ฐ
Prompt Engineering Is the New Digital Literacy: Why Your Career Depends on it in 2026
Learn why prompt engineering is crucial for your career in 2026 and how it can impact your professional growth
Medium ยท AI

Chapters (19)

The PR an AI wrote and I just merged
0:15 What is OpenHands (formerly OpenDevin)
0:47 How autonomous AI agents actually work
1:23 The agent loop: Perceive, Plan, Act, Observe
2:05 Safe sandbox containers explained
2:12 OpenHands vs Devin: open source wins
2:37 68% on SWE-bench: the proof
2:54 Honest pros and cons
4:05 Setting up the demo project
5:31 Planting a bug and creating a GitHub issue
6:18 Setting up a Hostinger KVM2 VPS
8:25 SSH in and installing OpenHands
9:16 Running the GUI and connecting OpenRouter
10:33 Connecting your GitHub repo with a token
11:29 Prompting OpenHands to fix the bug
12:02 Watching it run tests and patch the code
12:55 Pull request opened automatically
13:03 Merging the fix and verifying
13:28 Final thoughts: a revolution in coding
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch โ†’