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

Prompt Engineer ยท Intermediate ยท๐Ÿง  Large Language Models ยท1w 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 AI Lessons

โšก
How AI Learns with Less Labeled Data
Learn how AI can learn with less labeled data, a crucial aspect of machine learning beyond model selection
Medium ยท AI
โšก
Comparing Sarvam-30B and Qwen2.5โ€“14B on Spider Text-to-SQL: An Active-Parameter Perspective
Learn how to compare large language models like Sarvam-30B and Qwen2.5-14B on the Spider Text-to-SQL benchmark from an active-parameter perspective
Medium ยท LLM
โšก
Debugging Benchmark: DeepSeek V4 Pro vs MiMo V2.5 Pro
Compare the debugging capabilities of DeepSeek V4 Pro and MiMo V2.5 Pro on a real-world GitHub bug
Dev.to ยท Stanislav
โšก
How I'm re-discovering computer science with LLM revolution
Reinvigorate your computer science knowledge with the LLM revolution and discover new applications and techniques
Dev.to ยท popiol

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 โ†’