β This week, a colleague raised an important issue: he is running out of disk space due to multiple git worktrees.
β
The Problem is Git worktrees create a full copy of your repository for each worktree, which means:
β Each worktree recompiles all dependencies from scratch
β Storage usage multiplies quickly across multiple worktrees
β Local disk space becomes a serious constraint
A potential solution: Cloud Agents
New Agents button in Github
It seems that even Anthropic is experimenting with this direction. I personally think this is how it will go, too.
We're already using cloud services for inference; local setups will never match the power of datacenters.
GitHub Agents offers an elegant alternative by moving the work off your local machine:
1. Creates a new branch in your GitHub repository
2. Spins up a fresh container via GitHub Actions
3. Runs the agent in that isolated container
4. Opens a pull request when the task is complete
It slots in very nicely with most developer workflows.
The Benefits are pretty clear:
β No local storage impact β Everything runs in the cloud
β Built-in sandboxing β Containers provide isolation by design
β Scalable β You can run as many instances as needed
But this comes with trade-offs.
It's yet another pile of config to manage.
Selecting a model is only available to Pro and Pro+ subscribers at the moment (apparently coming soon to Business and Enterprise tiers).
You're pretty out of the loop whilst things are running, although to me that is a potential benefit. And something my experiment will focus on, my theory is that giving excellent plans should help mitigate this.
You pay for the compute time of each running instance, but for our team, this cost is well worth avoiding the storage headaches.ββββββββββββββββ β
It's how we already work
β As Agents become even more capable, I think we will trust them more and inspect the results of their efforts rather than the process of them.
Iβm seeing this in my own behaviour and my team's.
I manually test a feature before inspecting the diff. Itβs essentially how we do code reviews anyway. My team sometimes uses ephemeral environments to do this, so they donβt even need to pull the code to their machines.
β
The experiment
Next week Iβm going to lean into this and run an experiment. Iβll fully optimise this configuration, so GitHub Copilot agents can run independently in GitHub containers.
Iβll set up the ephemeral environments completely and optimise the context and tools available to the agents, so it's on par with my Claude code setup. Then Iβll see how much more productive I am, or if the underlying model is still not good enough.
It looks like Iβm on a fast track to becoming a product manager. β
β
Iβll let you know how it goes.
β See you next Friday,
Dan
β
β Β· β
Learn how to transform your specs into an Agentic Architecure so you don't have to juggle 5 different Claude sessions.
Get them in your inbox every Friday.
Want to read more like this?
I reverse engineer the latest AI coding workflows and send them to your inbox every Friday. Join 400+ AI nerds who already read it.