Keep many coding agents moving with local context cache
A developer ran several Claude Code sessions at once on local RTX 3090 hardware and avoided reloading long contexts after idle periods.
- What they did
- Roark66 paired Claude Code with local models on RTX 3090 cards that each had 24GB of memory. They kept as many as 10 sessions open, though only about 5 were doing work at any moment. Since they controlled the inference stack, they preserved entire contexts in RAM and could write them out to disk, so an idle session did not need to start over from scratch.
- How it went
- They said keeping roughly 15 complete contexts in memory drove cache usage to 95% or higher. They also estimated that their weekly usage of about 1.3B input tokens would run into thousands of USD if billed at API rates.
- Tips
- This approach depends on having enough RAM to hold multiple long-running sessions. It also sidesteps cloud cache expiry, which can make an idle long context expensive to resume.
Try it yourself with Claude Code
I need to handle [N] independent coding jobs in [path] at once. Split them into separate git worktrees and branches, keep each one isolated, run the needed tests, and give me a brief status update for each task: [task 1], [task 2], [task 3]. If you reach a step that would delete files, send changes, merge branches, or otherwise commit to something I may not want, pause first and ask for my approval. Do not combine the branches unless I explicitly say so.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Draft PR reviews, then send them yourself
They used Claude Code to prepare GitHub review drafts for queued pull requests, while keeping final edits and submission under their control.
Scan commits for security bugs before they land
Use Claude Code to inspect each commit for secrets, injection flaws, and migration risks before it reaches the repository.
Test an iOS app and collect bugs automatically
Use Claude Code to drive an iOS app through its accessibility tree, visit screens, and return a structured bug report.
Use a browser agent to find and fix UI bugs
A frontend developer uses a browser agent and a coding agent together to spot UI issues, trace them in Chrome, and patch the code.
Automate a self-hosted stack on your own hardware
Jordan Fulghum let Claude Code configure and run several home services on a Beelink mini PC.
Test a local app in Chrome and fix browser errors
A developer used Claude Code and Claude in Chrome to open a local app, exercise the UI, catch a routing bug, and repair it without manual browser work.