How to Run Claude Code For Hours Autonomously
Developers Digest · 3,167 words · 16 min read · EN-ORIG

Below is the complete, readable transcript of How to Run Claude Code For Hours Autonomously by Developers Digest on YouTube. Read the full text, copy any part you need, or generate a transcript for any video with our free tool.
In this video, I'm going to be showing you how to set up Claude Code to be able to run autonomously for hours. Now, just recently, Meter came out with the latest benchmark of Claude Opus 4.5 that showed that this model can perform independently and autonomously for 4 hours and 49 minutes. Now, this is at a
50% completion rate. If we go down to 80%, this number does drop down quite a bit. But the main thing with this is as we take a look at the trajectory of how the models have improved over time. If we go back to when GPD4 was a huge deal at the time, just to give you an idea in
terms of how long this model could run for, this was only able to run for 5 minutes. But now we're entering a new era where these models can run for quite a long time and they're getting increasingly accurate at actually being able to have successful runs. Now, in terms of actually setting this up, you
aren't going to be able to just set it up within cloud code. you aren't just going to be able to type claude within your CLI and be able to walk away for minutes or even hours. You do have to configure the agent harness a little bit just to give it a little bit more
persistence. Now, the nice thing with this actually is it actually isn't that difficult. And I'm going to be showing you one of the official ways in terms of how Anthropic actually sets this up and how some of the members on that team leverage this method to have this actually run for a particularly long
time. If you've used Cloud Code before, the first time that you run it, it will actually ask you permission for everything that you're doing. And one of the things with Cloud Code is it's very similar to a self-driving car. Now, the first time that I got in a car that had an autopilot feature, one of the first
Transcribe another video
Paste any YouTube, Instagram or TikTok link to get a free transcript.