← All transcripts

I Moved My AI Agents' CI From GitHub Actions to RWX. Nearly 3x Faster Transcript, AI Summary & Key Points

DevOps & AI Toolkit · 12 hours ago · Science & Technology · 29:43 · EN

Watch on YouTube

Answer

RWX delivered nearly 3x faster CI (7.5-minute median vs 22 minutes on GitHub Actions, and 5x faster for the slowest pull requests), and moving agent builds and tests to sandboxes halved server overload time — but content-based caching did almost nothing here, sandbox pricing is many times higher than equivalent hardware, and the switch only makes sense for Linux-only, CI-bottlenecked setups or when adding hardware is not an option.

AI Summary

RWX, a platform for faster CI and remote agent sandboxes, was tested for two weeks on a Rust project (Agent Deck, 8,000+ tests) against GitHub Actions and local execution, measured with OpenTelemetry traces sent to Honeycomb. CI wait dropped from a 22-minute median on GitHub Actions to 7.5 minutes on RWX (nearly 3x faster at the median, 5x for slowest runs, with 90th percentile under 10 minutes), and moving agent builds and tests into sandboxes cut the server's overloaded time roughly in half. RWX's headline content-based caching did almost nothing for this project because git history changes with every commit, and sandboxes are priced many times higher than equivalent hardware: the test batch cost about $90/day (~$3,000/month), roughly a fifth of what an AWS on-demand VM or owned machines would cost. RWX is a good fit for Linux-only teams with CI bottlenecks driven by agent pull requests and for people who cannot add hardware; it is a poor fit for macOS/Windows projects, credential-bound tests, or anyone running agents around the clock who can buy machines.

Key Points

  • Baseline problem: agents waited over 20 minutes median for CI (1 in 10 pull requests waited most of an hour), while the 16-core dev server hit load averages of 60–80 because agents compiled the same Rust project locally.
  • Test project: Agent Deck, a Rust workspace for running many coding agents in parallel with over 8,000 tests, developed fully by agents across several servers with orchestrator, coder, reviewer, auditor, tester, and release roles.
  • GitHub Actions Linux jobs took almost 14 minutes (tests over 10) — and that was already after splitting a serial workflow into parallel jobs, which cut more than a third of the time for free.
  • RWX pipeline on the same commit: 8.5 minutes total, tests under 7 minutes, on machines the same size as GitHub runners.
  • Content-based caching: a rerun with no changes took seconds (all tasks cache hits), but nobody reruns CI on unchanged code; the practical case is rerunning failed tasks, and RWX caches only successful tasks — a real but much smaller win than seconds-vs-minutes.
  • The caching catch: tests needing git history change the clone input on every commit, so every task after the clone missed the cache; content caching barely helped at all, and speed came from fast machines and the task graph.
  • RWX can run CI against uncommitted changes (the CLI uploads a patch) — GitHub Actions has nothing like it, but it is a nice-to-have, not a reason to switch.
  • RWX is Linux-only: no macOS or Windows runners, so the macOS build stayed on GitHub Actions (and was moved to post-merge to stop it deciding pull-request wait time).

Tools & resources

5 items

GNo. 2243
AIAINotes.us Tool

GitHub Actions

Open source · features/actions

A CI/CD and automation platform from GitHub (Microsoft) that runs YAML-defined workflows in response to repository events, schedules, or API calls. Workflows orchestrate jobs on GitHub-hosted or self-hosted runners (Ubuntu, Windows, macOS or custom runners), invoke container, JavaScript or composite actions, and produce artifacts (build outputs, test reports, generated files). It supports secrets, caching, matrix and reusable workflows, the Actions Marketplace, and can run arbitrary CLI tools (for example, invoking a D2 CLI in a workflow to generate architecture diagrams from D2 source files).

Mentioned in
11 videos
Kind
Other
HNo. 8488
AIAINotes.us Tool

Honeycomb

honeycomb.io

Honeycomb is an observability platform for AI-era software, providing fast queries over unified telemetry and support for LLM observability. In the video's agent-observability workflow, it serves as an OpenTelemetry backend for sending agent traces and metrics and querying telemetry across runs.

Mentioned in
2 videos
Kind
Other
ONo. 0760
AIAINotes.us Tool

OpenTelemetry

Open source · open-telemetry

OpenTelemetry is an open-source, vendor-neutral observability framework for cloud-native software. It provides APIs, SDKs, automatic-instrumentation agents, and collector services for capturing distributed traces, metrics, logs, and contextual metadata such as baggage. Its context-propagation mechanism correlates telemetry across service boundaries and carries trace identity through an application’s request path, including standard HTTP communication. The OpenTelemetry Collector receives, processes, filters, and routes telemetry to observability backends such as Jaeger, Prometheus, commercial systems, or custom solutions. It supports native SDKs for more than 12 languages and is hosted as a graduated project by the Cloud Native Computing Foundation.

Mentioned in
16 videos
Kind
Other
RNo. 8756
AIAINotes.us Tool

Rust and Cargo

In the AINotes directory

Rust and Cargo are the programming language and build toolchain used by the test project described in the video. Cargo recompilation after sandbox synchronization affected which commands ran in which environment.

Mentioned in
1 video
Kind
Other
RNo. 8755
AIAINotes.us AI product

RWX

rwx.com

RWX is a CI/CD platform for the agentic development cycle. It validates changes without requiring a commit and provides remote sandboxes for AI agents that share the project's build configuration and cache, allowing agents to run builds and tests without using local machine resources. The platform uses content-based caching to accelerate CI and keeps agent sandboxes aligned with CI configuration. The video describes Linux-only operation and reports faster CI waits in a two-week Rust-project test, while noting that caching had little effect for that workload, sandbox pricing was substantially above equivalent virtual machines, and sandbox collisions and billing presented operational limitations.

Mentioned in
1 video
Kind
AI

AI in practice

Used for

Agents

  • Fully develop Agent Deck: teams of role agents (orchestrator, coder, reviewer, auditor, tester, releaser) working in parallel on a dev server, building and testing before commit and opening pull requests 2 held 12:53
  • Claude Code — Modify code and run the upgrade dialogues tests and project checks (Clippy plus fast test suite) in an RWX sandbox 2 held 09:52

Links mentioned

🔒 Full analysis locked

Unlock more videos and the full analysis

A credit unlocks one video's full analysis for good — the build steps, the tools and how each was used, the methods behind every use case. Pro opens the whole library instead, and raises how many videos you can analyse a day.

Unlock full analysis — free

Transcript

Searchable transcript of I Moved My AI Agents' CI From GitHub Actions to RWX. Nearly 3x Faster — DevOps & AI Toolkit (29:43). Search for a phrase, then click its timestamp to jump straight to that moment in the video.

Captions sourced from the original video on YouTube, published by DevOps & AI Toolkit. The video, its captions and all related intellectual property remain the property of their respective owners; AINotes claims no ownership. Provided for research, accessibility and search — see the Transcript Notice and Copyright Policy.

00:07 My agents were waiting more than 20 minutes for CI, and that's median. One in 10 pull requests waited for better part of an hour. And while some were waiting, the machine they were running on was choking with a load average of 60 to 80 on 16 cores because agents were compiling the same Rust project and running thousands of tests on the same box. So I wanted to move CI out of GitHub Actions and the agents heavy builds and tests of my machine.

00:44 One tool promised to do both, and I I was skeptical, to be honest, that it would work. So I ran it for two weeks on a real project with real agents, and I measured it against GitHub Actions and against running everything locally. The results? Well, CI became nearly three times faster, and for the slowest pull requests, five times faster. And with the agents builds and tests running somewhere else, my machine spent half as much time overloaded with the same number of agents working.

01:19 I'm still using it, but it's not for everyone. You will see where it's faster, where its main selling point did nothing for me, and what it costs. And by the end of this video, you will know whether it's for you. RWX is a platform for running faster CI workflows, and it also gives agents sandboxes, remote environments defined the same way as CI, where they can run any command against their local changes.

01:50 So we'll start with the workflows. Now, faster is easy to claim, so we need something to compare it with. First, the project I tried on is Agent Deck. It's a workspace for running many coding agents in parallel. It's mine. It's written in Rust, and it has over 8,000 tests. So its CI is anything but trivial. Give it a try, and if you find it useful, the project started on GitHub.

02:18 It helps, you know, people can find it, use it, maybe find it interesting. Anyways, what matters here is that its CI runs on GitHub Actions, so that's where we start. On the same commit we'll run on RWX later. Normally I push to a pull request and pull request starts the workflows. I'm this time I'm going to start it by hand, so we don't need to change any code just to get the run.

02:45 Now, this generally takes a while, so I'll fast forward. You need to assume that every weight from here on does the same. So once it's done, let's see the jobs. Now, focus on the Linux jobs since those are the ones RWX can take over. RWX has no macOS or Windows runners. Not good. So build macOS stays on GitHub Actions no matter what. The Linux jobs needed almost 14 minutes to reach a verdict, and the tests alone took over 10.

03:19 And this is already the optimized version, optimized version, right? The original workflow was one big serial job. So splitting it into parallel jobs, compiling the tests once and running them in shards cut more than a third of the time. I already did that. That cost me nothing. It did not require a new vendor, and you can do it today, right? Just ask Claude.

03:44 So keep that in mind before you rewrite anything. And now let's see RWX. There a pipeline is a graph of tasks, and each task declares what it uses, the code, the toolchain, the output of other tasks. And then because RWX knows each task's input, it can cache by content. If the inputs did not change, the task does not run. You don't write cache keys and you don't maintain path filters that decide what to skip.

04:17 So, I took the Linux part of the agent deck CI and rewrote it as such a graph in the project itself. Pull request trigger it from GitHub. Here, I will start it from the CLI, so we don't need pull request. And even though I'm starting it from my laptop, RWX run does not run anything locally. It sends the definition to RWX Cloud together with whatever the remote doesn't have yet and it waits for the result.

04:48 The whole run took 8 and a half minutes against almost 14 for the Linux jobs in GitHub Actions. The test took under 7 minutes instead of over 10. It's faster, though not by a mile, and on machines the same size as GitHub runners. The set of tasks like system packages and test tooling came straight from the cache because earlier runs already built them and the cache is shared across the whole account.

05:18 And the rest is compiling and testing in parallel. Now, this run used four CPU setup agent deck uses for its pull requests, but one run proves little. So, I let the agents use it for real across more than 200 CI runs. We'll get We'll get to those numbers later, near the end. RWX's main selling point is content-based caching. A task whose inputs do not change does not run.

05:52 So, let's see it by running the same pipeline again and without changing anything. And look at that. Seconds, seconds. Every task was a cache hit, so nothing executed. That's content based caching in its ideal form, and it's also something nobody does in real life, nobody. Nobody reruns CI on code that did not change. The everyday version of that maybe would be flaky testing, right?

06:21 Flaky tests failing. RWX doesn't cache failed tasks, so a rerun repeats only what failed and takes everything else from the cache. GitHub actions can also rerun only the failed jobs as well, but each of those jobs repeats its own setup before it gets to the test you care about. So the difference is tasks versus jobs. It's real, but it's much smaller than seconds versus minutes.

06:49 And a faster rerun is not a fix. Flaky tests need fixing, and the ones you cannot fix should just go, just get rid of them. A test you don't trust is is it's worse than no test at all. But there's a catch here, and it hit this project hard, really hard. Some agent deck tests need the git history, so the clone keeps the git directory and every new commit changes it.

07:20 That means every task after the clone misses the cache on every commit, even when the files are identical. In this repository, for example, content caching barely helped. It it it didn't help much or at all. The speed came from fast machines and the task graph. A project whose tasks have narrow, well-defined inputs would see probably much more of it.

07:46 Now, what I used the most while porting the pipeline was something else, something completely different. So let me change a file without committing it. Look at that, no commit, no push. The CLI uploaded the uncommitted change as a patch, and the whole CI run against it. It took about as long as the first run every task after the clone had to run again, which is the the catch I just described.

08:14 GitHub actions has nothing like it, nothing. It runs what's pushed, so the same check there means a commit, a push, and a full run. But is that really a problem? How often do you need to avoid pushing really? Push to a scratch branch, start the workflow by hand like we did earlier and you get the same run with the same results. The only cost is a messy commit history and a squash merge cleans that up.

08:44 I used it a lot while writing the RWX pipeline and it was bit convenient, but it's it's it's just a nice to have feature, not a reason to switch, so don't switch for that. So that was CI. Now let's look at something that's actually new. RWX sandboxes run commands remotely without moving the agent. And that's different from cloud agents which move the agent itself into remote box.

09:14 Here the agent keeps editing files locally and whatever commands it sends to the sandbox builds and tests, for example, run on a remote machine. The agent stays where it is. The execution moves. The sandbox is defined the same way as CI with the same tasks and the same toolchain. If a test passes in the sandbox, it should pass in CI as long as you keep the two definitions aligned.

09:46 Now let's see it with an agent since that's who sandboxes are for. This in this case this is Cloud Code working on agent deck whose instructions tell agents to compile and test in the sandbox. The prompt itself is an ordinary task and it says nothing nothing about RWX. So the agent changed the code and the three snapshots that show the hint here on my machine.

10:13 Then it ran the upgrade dialogues tests with rwx-sandbox-exec, which started the sandbox, pushed the uncommitted changes to it, and ran the tests over there. Then it ran the projects checks, which sent Clippy and the fast test suite to the same sandbox. Over eight and a half thousand tests plus Clippy across the whole workspace, and none of it compiled on my server, on my machine.

10:44 The sandbox itself is 16 core CPU machine with 64 gigs of memory, and the whole task, whole task from the prompt to the report took under eight minutes starting the sandbox included. The sync works in both directions. Before every command, the uncommitted changes go up. After it, anything the command changed in the project comes back down. Files git ignores like output and target stay in the sandbox, which is probably what you want since nobody needs um probably gigabytes of compiled binaries flowing back after every

11:22 test run. Here nothing comes back because the agent had already updated the snapshot itself locally. That sync though has a cost. Every command syncs first and after every sync Cargo recompiles the projects own crates even in the sandbox built everything a minute earlier. So small frequent commands like formatting are faster locally, which is why the projects checks keep Cargo FMT on the machine.

11:55 The sandbox though pays off on the big ones. The agent also left the sandbox running when it finished, and that's on purpose. Its instruction says so and we'll we'll get to why later. It also stops itself after five idle minutes, and since the sandbox is built per second for as long as it's active, idle or not, you pay for those minutes. Stopping it by hand isn't fully reliable either.

12:22 I've seen RWX sandbox stop timeout and leave sandbox running more than more than once, a few times. So check with RWX sandbox list afterwards. That's the mechanism. And now let's go to the part that matters the most. What happened when agents used it for real for two weeks? This is where the numbers from the start of the video come from. The same project and the same agents measured with RWX and without it.

12:56 And that's Agent Deck and it's developed mostly by agents, no, fully by agents these days. And it's spread across several development servers. Each server usually runs several pieces of work in parallel, each done by a team of agents with different roles. There's an orchestrator, a coder, a reviewer, auditor, tester, and then one for releases. Every change is built and tested before it's allowed to be committed.

13:20 And every pull request goes through CI. That building, testing, and CI is what moved to RWX. So I measured one of those servers, a 16-core box, because so far it's the only one where I collect metrics and traces. On it I run three batches of real work, five pieces of work in parallel with RWX doing CI and running the agents builds and tests in sandboxes, then five in parallel with everything local and CI on GitHub Actions.

13:57 And then 10 in parallel on RWX again for over a week, over a week. Everything was traced with open telemetry and sent to Honeycomb. So the numbers you're about to see come from what the agents actually did, not from a benchmark. So let's start with CI. CI first, measured across over 200, 200 CI runs, 44 on GitHub actions and the rest on RWX. On GitHub actions, a pull request waited a median of 22 minutes for a Linux verdict, and one in 10 waited 48 or more even.

14:35 On RWX, with every task on four CPUs, the same size as GitHub runners, it was seven and a half minutes at the median and under 10 at 90th percentile. That's nearly three times faster at the median and five times faster for the slowest runs. And the checks agents run before committing most of all the projects main test suite, 8 and 1/2 thousand tests that take a few minutes to compile and run.

15:08 In the sandbox, its median stayed under three minutes whether five agents were busy on the server or 10. Now, if I run it locally, the same suite took about 40% longer than in the sandbox at the median and more than twice as long at the 90th percentile because a local run competes with every other agent on the box. The sandbox was not faster because RWX machines are magic.

15:37 To be clear, it was faster because it did not have to share. And the server I measured with the same number of agents busy, the load was a quarter to three quarters of what it was when everything ran locally. And the box was overloaded about half as often, more or less. Now, that part is not a surprise. Not a surprise at all. The work moved to someone else's machine, so of course, it's normal that mine got lighter.

16:09 The real question is how often it moved. And we'll get to that when we talk about cost. The agent got faster checks and a machine that stays usable. Moving agents builds and tests to RWX sandboxes lower the load on my server. That's without a doubt, but it did not remove the limit. More agents fit because the box get overloaded, but not as many more as as you might hope.

16:42 With 10 or more agents busy at once, the server still hit the same peaks as before. Simply, some work cannot leave the machine, usually because it needs credentials you don't want in someone else's cloud. In Agent Deck, that's the tests that run real coding agents with my own logins. They stay local. They have to stay local, and when several of them overlap, they alone are enough to saturate the box.

17:10 Now, two more things went wrong along the way, and both are worth knowing before before you try this, if you try it. First, agents did not use the sandbox just because I asked. A rule in the project's instructions wasn't enough, and some agents decided simply decided that running a single test did not count as heavy work and run it locally. It took instructions in the exact place each agent reads its tasks and every command that compiles instead of something like heavy commands.

17:41 Second, RWX keys a sandbox by branch. So, a coder and a tester working on the same branch share one, and one agent stopping it killed the other's commands. I fixed that by not stopping sandboxes at all and letting them just time out. Out of some maybe more than 1,000 sandbox commands, about 1% more or less failed because of RWX itself, and almost all of them from that collision, right?

18:13 Same branch. It's a silly architecture. So, nonetheless, it worked. Builds and tests left the machine, CI got faster and the agents stopped tripping over each other. Now, the question is whether all this is worth the money. That's that's the real question here. RWX charges per second of CPU during the batch with 10 pieces of work in parallel, it came to about $90 a day, which is close to 3,000 a month for one project.

18:50 About 4/5 of it was sandboxes and the rest was CI. Divide that compute by the seconds in a day and you get roughly 15 CPUs busy around the clock, more or less. A whole 16 CPU machines worth running constantly. And that answers the question from earlier. The offloading wasn't the occasional spike. It was a second server all day long. If the work leaves your machine that often, you need more hardware with RWX or without it.

19:23 And the only question is whose hardware you pay for. So, what does that capacity cost elsewhere? Just to give get some idea, a VM in AWS with 16 virtual CPUs running all month at on-demand prices is a bit over $500. 500. A dedicated server from a hosting provider with 16 cores and 32 threads is around 300 and a mini PC with the same 16 cores costs about $1,600 but once, which over three years with elasticity comes to around 60 a month.

20:04 Anyone of them Anyone of them covers the average load for a fraction fraction of that bill. Sized for the worst moment, right? If we size it for the worst possible situation with seven sandboxes running at once, AWS would actually cost more than RWX. But that moment lasted a few hours in a week. And two machines on your own would have covered almost everything else.

20:34 Now, the obvious defense is that RWX charges only for the seconds you use. But how finally you're built isn't really the problem. If AWS built per second, that VM would cost the same because it would be busy the same hours. It's the price. An hour of CPU on RWX costs more than five times what it costs on AWS and many times more than a server you rent or buy.

21:05 Fine-grained billing wins only only when the machine would otherwise sit idle most of the time. And against AWS, that means idle more than four-fifths of the time. My agents had a sandbox running more than half the time. There were To be honest, there were long stretches with nothing running, but when something did run, it was usually one or two sandboxes, and that's steady enough for owned or rented capacity to win anytime of the day.

21:35 That changes if you run one agent, only one agent, or maybe a few. And, you know, now and then, the sandbox that sits unused most of the day, you pay only for the minutes it works, and RWX can easily come out cheaper, easily. But that Even in that case, which I think is silly, that would be an individual. In a company, even if everyone uses agents only occasionally and a few at a time, it's multiplied by the number of people, and you're back to a load that rarely stops.

22:11 On comparable hardware, your own machine is not, and I repeat, is not slower either. It keeps the build warm between commands with no sync and no recompiling after every upload. What you give up is the work of running it and like provisioning updates, disk filling up with build output and keeping the environment close enough to CI that a passing test means something.

22:34 And if you have more machines, you don't need remote execution at all. You run the agents on those machines a few per box with their commands local. What's left is deciding which agent goes where and leaving enough headroom for two agents bursting at the same time instead of fighting, right? That that's a far simpler problem than the one RWX solves.

23:03 So the logical question is why am I using it? Why am I using RWX is if it's much more expensive? The answer is simple because my hardware is limited and I did not want to build that myself. If I were paying for it at its load, I I would rent VMs or buy machines myself because either is many many many times cheaper. The sandbox makes sense when you cannot or you do not want to add hardware for agents that have no machine of their own and for peaks beyond the capacity you have.

23:39 Now CI is a different comparison. With 10 pieces of work in parallel, CI was running about a tenth of the time here and a bigger fleet would keep it busier, but you don't compare hosted CI with a bare VM. You compare it with other CI services and they all charge many many many times what a VM costs. Next to those, RWX holds up. On the same commits, a CI run costs about a third of what it would on GitHub Actions at private repository prices and it finished in half the time.

24:13 That's a win. Sandbox is the odd one out. It's priced like CI, but it competes with machines. Nevertheless, let's put it all together. Starting with the downsides, RWX is Linux only. There are no macOS and no Windows runners. Agent Dex, my project uh had pull requests that got faster only after I moved the macOS build to run after merging because before that macOS job decided how long a pull request waited and RWX cannot cannot touch it.

24:52 Then there is vendor locking, but probably not where you expect it, right? GitHub Actions is proprietary as well, though its syntax has other implementations and RWX has none. Now that matters less than it sounds. Agents rewrite pipelines cheaply in either direction, so leaving would cost about as much as moving in uh did, right? What you cannot take with you are the features nothing else has, like sandboxes and CI runs on uncommitted changes and whether you built around them.

25:27 And it's sandboxes are so bloody expensive. They're priceless CI and an hour of CPU costs more than five times what AWS charges on demand. They come to about four fifths of a bill of $3,000 a month in in example of my project and that's many times more than the hardware they replace. Next, content-based caching, which is the core of the picture of the project or the service, did almost nothing, almost nothing in this repository.

26:00 Projects with narrow, well-defined task inputs will probably see more of it, but don't assume that yours is one of them. And there are also rough edges, like stopping a sandbox sometimes times out and leaves it running and agents on the same branch share a sandbox and they can kill each other's commands. Okay, that was enough of negative sides. Let's talk about topsides and they're the reasons why I'm still using it.

26:26 CI is nearly three times faster, seven and a half minutes instead of 22 and per run it costs less than GitHub actions with that private repository prices. Sandboxes are the new thing. They work. Agents stay where they are. Their builds and tests run in an environment defined like CI and the machine they run on stays usable. That's an upside and not one of more than 600 checks fell back to running locally, which is a big success for me.

27:03 And it's cheap to adopt. Agents ported the pipeline in in minutes. The sandbox plugged into the project's existing checks and running CI against uncommitted changes made debugging the new pipeline really really really painless. So that's RWX after two weeks of agents hammering it really heavily, right? CI nearly three times faster, caching that did little in this project and sandboxes that took the builds and tests of my server but are priced like CI, which only makes sense when you cannot add hardware.

27:45 So who is RWX for? Teams with Linux only projects where CI time is a real bottleneck and especially with many pull requests written by agents. That would be probably the ideal user. Teams running many agents on machines they cannot or they do not want to scale whose checks are mostly builds and tests rather than close to real services. And then individuals running an agent, maybe two now and then, for whom paying by the second beats owning another machine.

28:21 All of them all of them have to accept the lock in. That's the price apart from the real price. So who this isn't for? Teams whose CI is already fast enough. Restructuring GitHub actions got me more than a third for free. Projects that need macOS or Windows on every pull request, not for RWX. Agents whose tests need credentials or services that live where the agents run, and really anyone running agents around the clock who can add machines because those machines are much cheaper.

28:59 I, for example, I'm keeping it for a agent deck for this project because the project fits the first group almost perfectly and my hardware is unfortunately limited. Now, that does not mean you should switch. For most teams, the better first step is to make what they already have faster. Move to RWX when you've done that and the CI is still what your agents are waiting on. Thank you for watching. See you in the next one. Cheers. >> [snorts]