Multi-hour implementation tasks with checkpoints
Give an agent a large, well-defined task that runs for hours, with tests as checkpoints and a human review at the end.
DifficultyAdvanced
Setup timeHalf a day
CategorySoftware development
The use case
Some tasks, such as implementing a known technique in an existing open-source library, take a person days of focused work. Rakuten's story with Anthropic describes Claude Code working on such a task for about seven hours on its own, guided by a clear goal and tests. Long runs need a precise task, a test suite to check progress, and frequent commits so work can be inspected. Engineers still review the full change carefully, run benchmarks, and treat the output as a strong draft rather than finished work.
Example workflow
- Write a clear goal with acceptance tests
- Set up an isolated environment and branch
- Let the agent work and commit at checkpoints
- Inspect progress at intervals
- Review the full diff and run benchmarks
Tools
- Claude Code
- Git
Risks and guardrails
- Agents can drift from the goal over long runs; check checkpoints
- Large diffs are hard to review; ask for small commits
- Set budget limits for long sessions
Sources
Written by Agents Lookup. Credits and official pages for the tools this use case names:
- Claude customer story: Rakuten: claude.com/customers/rakuten