Remote development closes the proximity gap

Remote coding sessions give us a chance to bring development closer to build infrastructure and stop repeating the same work.

A few months ago, I couldn’t have imagined how excited I’d be about coding sessions running in remote environments, steered from anywhere and handed over to anyone. The portability clicked with me and everyone at Tuist. I don’t know what building software will look like a year from now, but I’m convinced some of it will look like this.

You start a session from your phone because an idea came to you there. As a favourite songwriter of mine used to say, you don’t sit down to write a song. Ideas happen anywhere. Now we have tools to capture them right away, continue when the timing or the environment feels right, and hand them over to the right person when they outgrow us. It feels magical.

But the more we build this way, the more we see an opportunity that goes beyond portability. It ties directly to the investments we’ve been making at Tuist: making the work of building and validating software reusable.

The work we keep repeating

When each of us builds locally, we repeat a lot of work. We compile the same dependencies across developer machines. We keep incremental build state that another environment can’t reuse. And as agents run more validations in parallel, we have more build directories and caches competing for disk space.

Bazel and Buck brought remote caching and execution to teams outside the companies that developed them. With caching, you can reuse a result someone else has already produced. With remote execution, you can distribute work that still needs to run. Both become more valuable as we produce more code and need to validate it more often.

There’s a physical constraint, though. The machine orchestrating the build, the workers executing it, and the storage holding the results need to communicate. Where we put them matters.

In CI, we can place those machines close together. On a developer’s laptop, we don’t always have that control. Latency, bandwidth, the size of the outputs, and the amount of work a cache hit avoids all affect whether fetching a result beats rebuilding it. Bazel’s own distributed builds documentation makes this point: downloading an artifact isn’t always faster, especially when the cache is far from the machine doing the build.

That doesn’t mean remote caching is bad for local development. It means we have to measure it, and that distance is part of the problem.

Bring the session closer

Remote development gives us another option. We can bring the environment where we write code closer to the infrastructure that builds and validates it.

The phone or laptop becomes the place we steer the session from. It no longer has to sit on the path between every build action and its cached outputs. We can keep the coding environment, execution workers, and cache on nearby networks, and reuse compatible results across sessions.

That won’t make every build fast by itself. We still need correct cache keys, reproducible actions, suitable workers, and a build graph that exposes parallel work. But we gain control over a constraint that has followed local development for years.

We can also let the build system and infrastructure decide which actions need macOS and which can run on Linux, rather than asking an agent to guess the requirements of the whole session upfront. Amp’s satellites are an example of giving a remote session access to another environment when it needs one. We want to take that thinking down to the work the build actually needs to execute.

Keep the project, improve the build

This is why we’re so invested in Struo. We want remote coding environments to have a way to build existing projects efficiently, without asking their authors to migrate first.

You need your build system to be correct, deterministic, and fast. You shouldn’t need to become an expert in remote execution to get there. Whether your project started with Cargo, Gradle, or another toolchain, we want to preserve the project you already have and make more of its work reusable. Struo reads supported native project definitions and connects their work to caching and execution infrastructure. There are still gaps, and we’re working through them.

Migrating to Bazel or Buck can be the right choice for a team. But interrupting someone’s coding session to suggest a build-system migration isn’t the experience we want. You came to change your software. You want the validation to work and to be fast. I’d love to open an Amp environment and get that without having to think through all the infrastructure behind it.

We’re taking these optimisations all the way to dependency resolution. We want build actions to start as soon as their own dependencies are ready, rather than waiting for unrelated dependency resolution to finish. We also want the machinery coordinating that work to use memory efficiently, so running more sessions doesn’t mean multiplying waste.

Agents have lowered the cost of pursuing this work for a team our size. That gives us a chance to revisit assumptions we used to accept: when builds can start, how dependencies resolve, and how much of that the person writing code should need to care about.

We won’t stop pushing Struo to be faster, to handle more real-world graphs correctly, and to resolve dependencies across more ecosystems. Those are goals we have to earn, project by project. We want to contribute to remote development environments that can validate changes fast, not just produce them fast.

I want to contribute to the Codex codebase in a remote session and get useful feedback in seconds rather than minutes. That’s an ambition, not a benchmark. But as inference gets faster, waiting for validation will become harder to ignore.

Build the whole loop

At Tuist, we believe we need to design the build environment, the build system, and the build infrastructure together. A remote environment without efficient builds still leaves you waiting. A fast cache or execution service can only help if the tools in the environment know how to use it.

Google’s distributed build infrastructure shows how much care this takes: coordinating actions, sharing outputs, and avoiding unnecessary downloads all form part of the same system. We now have an opportunity to bring that level of integration to more teams, across the toolchains they already use.

We don’t think that requires one company to own every layer. It requires those layers to work together, with clear contracts between them. That’s the role we want Struo to play.

The portability of remote development got me excited. The chance to stop repeating the same work is what keeps us building. For the first time, we can make proximity a deliberate choice for these coding sessions. We shouldn’t miss the opportunity.