These AI Agents Improve My App Every 10 Minutes While I Sleep
OpenAI Codex Background Agents: Turn a Cheap VPS Into a 24/7 AI Dev Team Learn how to run OpenAI Codex as scheduled background coding agents on a Hostinger VPS so you can ship bug fixes, security patches, and new features around the clock without keeping your PC switched on. 🚀 Hostinger VPS with the OpenAI Codex template, use code LEONCODEX for an extra 10% off: https://hostinger.com/leoncodex 🚀 My AI coding courses, live Q&A, weekly builder challenges, direct access to me, and a serious builder community: https://skool.com/agentic-labs 🎁 Get the free 7-Day AI Builder Challenge + resources for this video: https://skool.com/leonvanzyl Disclosure: This video is sponsored by Hostinger. Some links are affiliate links, which means I may earn a small commission at no extra cost to you. In this video, I show you how to set up three background coding agents that run every 10 minutes and continuously improve a real app (my CRM Forge project) without me getting involved. You'll learn how to schedule Codex with cron jobs on an always-on VPS, connect Codex securely to GitHub using fine-grained access tokens, and review and merge the pull requests your agents create, using OpenAI Codex, GPT-5.5, GitHub, and a Hostinger VPS. =========================== Resources Mentioned =========================== 📦 Source code, prompts, workflows + peer discussion: https://skool.com/leonvanzyl - Hostinger VPS (OpenAI Codex template): https://hostinger.com/leoncodex - OpenAI Codex docs: https://developers.openai.com/codex - GitHub fine-grained personal access tokens: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens =========================== Watch This Next =========================== ▶️ Codex vs Claude Code: What I Found After 30 Days: https://youtu.be/-ZrzDuodAh8 =========================== Go Deeper with Agentic Labs =========================== 🧪 AI coding courses, live Q&A, weekly builder challenges, direct access to me, and a serious builder community: https://skool.com/agentic-labs =========================== Subscribe / Connect =========================== Subscribe for practical AI building, agentic coding, automation, and real app builds: https://www.youtube.com/@leonvanzyl?sub_confirmation=1 Business & sponsorship enquiries: leon@cognaitiv.ai =========================== Question =========================== What are you building with background coding agents right now? Let me know in the comments. ⏱️ Chapters 0:00 Background Agents Demo 1:22 Local Scheduling Limitations 1:36 Codex Cloud Limitations 2:58 Why Use A VPS 3:20 Codex VPS Workflow Tour 5:13 GitHub Access Token Setup 7:11 Hostinger VPS Setup 7:58 Running Codex On VPS 9:17 Connect Codex To GitHub 10:22 Clone Your Repository 10:44 How Cron Jobs Work 11:00 Codex Headless Mode 11:27 Creating Background Agents 12:27 Adding More Agents 13:05 Masterclass And Wrap Up =========================== About This Video =========================== In this video, I show you how to run OpenAI Codex as autonomous background coding agents on a VPS using cron jobs, headless mode, and GitHub pull requests. This tutorial is for developers, AI builders, and serious no-code/low-code builders who want practical workflows for building real apps, AI agents, automations, and coding systems. On this channel, I share practical AI engineering and agentic coding workflows using tools like Claude Code, OpenCode, Codex, Cursor, n8n, Next.js, MCP, local AI models, and modern AI development workflows. #agenticcoding #codex #aicoding