I Made an Open-Source AI Fix My Code & Open a Pull Request (OpenHands)
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
DeepCamp AI