4053 stories
·
4 followers

Agentic Workflows with Expo Simulators

1 Share

Mobile development teams on the cutting edge are turning to cloud simulators and emulators to validate their AI-generated code and move faster. Much faster, actually. So how do they keep humans in the loop?

AI agents have improved a lot in the last six months. As a Field Engineer at Expo, I have had the privilege of talking with many enterprise mobile teams and seeing this firsthand. Every one of them has agents writing more, if not all, of their code. Fewer of them have a good way for agents to thoroughly test what they're writing.

An agent can write a feature, but without a device to run it on, it cannot verify it. Open source tools like agent-device and Argent let an agent drive a simulator, and coding agents are getting better at this on their own as well. What they still need is the device. Local simulators are great, but they do not get you to the desired end goal on their own. They live on one developer's machine, so an agent running in CI or kicked off by an event has nothing to drive. Run more than a couple at once and your laptop runs out of CPU and memory fast. And when the agent is done, nobody else on the team can see what it did. Pair those tools with cloud simulators and the loop closes: an agent installs your app on an iOS simulator or Android emulator in the cloud, taps through it, and is able to report back what it found to you and your entire team.

Expo Simulators provides both simulators and emulators in the cloud that help open up a plethora of agentic workflow possibilities. This post covers the three I like to showcase most: event triggers, a pull request assistant, and QA swarms. All three flows are set up in a public demo repo, todo-app.

All of these agentic workflows depend heavily on providing an evidence layer after the simulator session is complete. When an agent works on a cloud simulator, you and your team need to see what it did, not just read what it says it did. This can be achieved by collecting screenshots, taps, recordings, performance metrics, and much more. The more work agents take on, the more evidence you need before you can confidently ship.

Event triggers start agent work without a developer needing to be in the loop. A tester submits feedback, or an observability tool fires off an alert, and a Workflow immediately picks it up. The issue gets filed, reproduced on an Expo Simulator, and fixed while the team is heads down, focused on other work. Once a team member can get to it, there is a decision to make instead of a bug to chase.

In the demo repo, the example event trigger is TestFlight feedback. Here is how it runs.

Step 1: The tester reports. A screenshot and a sentence is all you need. Once the TestFlight feedback is submitted, App Store Connect fires a Workflow directly.

TestFlight feedback is one of several App Store Connect events that can start a Workflow. You can also trigger on crash reports, build uploads, app version review states, and external beta approvals. The docs list every event you can hook into.

Step 2: An agent files the issue. It reads the comment and screenshots, decides whether it is a bug or a feature request, writes a title and reproduction steps, and checks the open issues for any duplicates. Then it opens the GitHub issue.

Step 3: An agent reproduces it. The newly filed GitHub issue fires off a second Workflow. An agent follows the reproduction steps on an Expo Simulator and posts a verdict on the issue with an evidence page. For a bug, the verdict is REPLICATED or NOT-REPLICATED. For a feature request, it is CONFIRMED, which means the agent went to the screen where the feature would live and screenshotted it without the feature. That screenshot becomes the before evidence for the implementation PR.

Step 4: An agent fixes it. A pull request with the fix or enhancement is created based off the GitHub issue. Then it is verified on an Expo Simulator. The evidence lands on the PR, and you decide whether to merge it or not.

TestFlight feedback is just one trigger example. The same pipeline can run for an observability alert. When Observe, Sentry, or your tool of choice flags an error or a performance regression, point its alert webhook at the Workflows REST API. An agent reads the alert and the stack trace, pinpoints the screen involved, and files the issue. Everything after that is identical. The same endpoint lets any internal system hand a bug or feature request to this flow:

You can also run it manually via the CLI:

This is the loop you will see in every workflow in this post. An agent does the work, checks it on an Expo Simulator, and the evidence lands where a human can review it.

The evidence site is its own problem to solve, so I built a package for it. eas-simulator-evidence is an out-of-the-box solution that pulls the screenshots and other data related to the Expo Simulator session and creates a static site for you.

For most, checking a change on a device is the slowest part of the mobile code review process. The pull request assistant moves that step to an agent on an Expo Simulator and posts the result right on the PR, where the reviewer already is. You still make the final call on what merges. Here is how it runs.

Step 1: A reviewer tags the bot. Comment @expo-bot on any pull request and it does one of three things:

  • @expo-bot reviews the current diff and verifies the change on an Expo Simulator.
  • @expo-bot <instruction> has an agent make the change, push it to the branch, and then review and verify the result on an Expo Simulator.
  • @expo-bot preview <device> for 15 boots up the device of your choice with the PR's app and posts a live preview link for 15 minutes. No agent involved. Anyone, technical or not, can then tap through the change in the preview-only view and verify it.

The comment-driven flows are the ones I demo because they show the range of possibilities. Most teams I work with want the review to run on its own, so opening a pull request also triggers the review mode automatically (expo-bot-pr-opened.yml). Draft PRs wait until they are marked ready. A label trigger works the same way if you would rather opt PRs in one at a time.

A small GitHub Action, expo-bot-bridge.yml, reads the comments on new issues and PRs and acts on any aimed at @expo-bot. There is no bot account to install. The handle is a botHandle value in package.json, so you can name it whatever you want. The Action parses the mention, picks a mode, and kicks off the matching Workflow. Since it is a public repo, there is also a built-in author check, so not just anyone with the ability to comment can run agents against your repo and burn your tokens!

Step 2: The PR's code lands on an Expo Simulator. The verify workflow, expo-bot-verify.yml, gets there in three steps using four pre-packaged jobs:

  1. fingerprint hashes the native code on the PR branch.
  2. get-build looks for an existing simulator build with that same fingerprint.
  3. One of two jobs runs next, depending on what get-build found:
    • No match: build kicks off a new simulator build. Native code changed, so a fresh build is required.
    • Match: repack takes the existing build and swaps in the PR's JavaScript bundle, skipping the build process.

Most PRs only touch JavaScript, so most runs skip the build and go straight to repack. That is what keeps this flow fast.

Once there is a build, one command puts it on an Expo Simulator:

--build-id installs and launches the app before the session is ready, so the agent lands on a running app. --max-duration-minutes helps keep costs low by stopping the simulator session if the agent is taking longer than you would expect to complete the work. You can also pass --max-idle-time-minutes to stop a session after a set amount of inactivity, which is a nice safety net.

Expo Simulators is not just for React Native apps. You can install any iOS Simulator build or Android APK onto it. Swift, Kotlin, Flutter, and Unity apps all work. Learn more here. To prove it, I built todo-app-native, a fully native Swift version of the demo app that runs every agentic workflow in this post.

Step 3: An agent taps through the change. verify-on-simulator.sh confirms the app rendered, then hands the device to a headless coding agent. The demo uses Claude Code, but you can easily swap in whatever coding agent you prefer.

The agent reads the diff, decides what is worth checking, and taps through those checks on the device, taking screenshots as it goes. When it is done, it hands back a verdict, PASS or FAIL, along with a short blurb of what it did and what it saw.

Step 4: The evidence lands on the PR. The simulator session is stopped and eas-simulator-evidence collects the data. All of that is packaged into an evidence page and posted onto the PR as a comment with the verdict, a row of screenshot thumbnails, and a link to the full page. Here is an example of what that page looks like.

Having simulators in the cloud unlocks the ability to run many at the same time. At will, you could spin up 5, 10, 50, or even hundreds of Expo Simulators at once without being restricted by the resources on your local machine. That makes a QA swarm possible: one agent per Expo Simulator, each assigned a core flow in your app, all running at the same time.

In the demo repo, the swarm is kicked off from the CLI with a PR number:

Step 1: The app lands on Expo Simulators. qa-swarm.yml runs the same fingerprint, get-build, build, and repack jobs from the pull request assistant flow.

Step 2: Five agents run at the same time. The workflow boots five Expo Simulators, three iOS and two Android. Each one gets its own session and one short flow to check. A lane can run an existing Appium suite, Maestro flows, or TesterArmy's e2e framework. For simplicity, the demo uses plain markdown files that tell an agent what to test and do.

Step 3: Each lane reports its own verdict. A lane passes or fails on its own, and each lane gets its own evidence page.

Step 4: The swarm gets summarized. A final job collects the five verdicts, the evidence links, and the timing, and posts it all as one comment on the PR. The parallelization is the part that gets people's attention. A full pass takes as long as the slowest lane instead of five flows run back to back.

Adding coverage is as simple as adding another lane. Drop a new flow file in the folder and add a job for it.

This ability to unlock resources in the cloud can also come in handy for developers I classify as mobile power users. You can easily run several coding agents across separate git worktrees, all getting their own device for maximum efficiency.

I have had a blast playing around with Expo Simulators these past couple months and cannot wait to see what you build with it. Expo provides agentic mobile infrastructure to hundreds of thousands of customers today. Cloud simulators are the next building block on that journey.

Expo Simulators is now generally available. Read the docs and clone the demo repo to get started on any of these workflows yourself. Not a React Native shop? The native Swift version has the same workflows ready to go. If you are on an enterprise team and want help setting them up for your app, reach out!

Happy building!

Read the whole story
emrox
47 seconds ago
reply
Hamburg, Germany
Share this story
Delete

Multiagent coding is the future

1 Share

dusts blog off It’s been a while.

Like many people with engineering degrees, I didn’t make it to thirty as an engineer. Doctors who manage doctors are doctors; lawyers who manage lawyers are lawyers; engineers who manage engineers are either engineering managers or founders depending on where they are in the cap table. But I find myself getting drawn back into coding, and it’s the most extraordinary time for it.

About a year ago, I spent a month intensively using modern coding tools, like Claude Code, OpenAI Codex, and Cursor. It was fairly obvious, almost immediately, that the production function of software engineering had fundamentally changed. (Some very talented engineers disagreed. They were wrong.)

The past year has seen a Cambrian explosion in approaches built on top of those modern coding tools. One branch of that evolutionary tree is multiagent coding. I have recently taken to doing it seriously, and feel that multiagent coding is as much of a paradigm shift as LLMs coding. It will seismically impact our industry, and also the general way people do knowledge work.

The labs have not yet made good products around multiagent coding. Perhaps they are gathering more data from their disabled-by-default previews. Perhaps they are waiting for approaches in the community to settle. Perhaps they are worried that highly capable agent swarms autonomously interacting with your infrastructure sounds a bit fraught for the moment.

Meanwhile, early adopters have shipped a variety of experiments on how multiagent collaboration could work.

I am constitutionally not an early adopter and so I glimpsed the future in my usual fashion: by flying there.

San Francisco: probably still underrated

Situational Awareness begins with an excellent line: “You can see the future first in San Francisco.” I consult on software development for the eponymous hedge fund. They showed me Grimm, which is their internal orchestrator for modern coding tools. Or, if you’re not in product marketing, “Grimm puts 2-100+ Claudes in a devbox. They can talk to each other. You can talk to them via a web UI over tmux.” (The name is a play on Fable.)

Disclosure: Situational Awareness’ thesis is long AI. They have a large, publicly reported stake in Anthropic, which makes Claude. I hold no individual positions in AI companies, which is one of several reasons why no one pays me for investment advice.

I swiftly fell in love with Grimm.

My past experiences with modern coding tools had been hurry-up-and-wait. With a single Claude Code instance running I’d spend too much of my own time waiting on inference to complete. I would try to run two to three, about the most I could do in a terminal sensibly, in parallel with my own development work, code review, command line sorcery, and similar.

I don’t think you can truly grok multiagent development until you fire yourself from writing code or operating terminals. You have people for that now. On a one-to-one basis you may have a skill or context or speed advantage (though, candidly: would not bet on that being durable), but you can have an almost arbitrarily high number of people. If you still have time or brainsweat to think about programming you could spend that brainsweat managing people instead, and that pays better. Darn it, the industrial logic of software firms strikes again.

The traditional way of getting people to manage involves a few weeks of looking for a talented developer or proxying through a recruiting team which hopefully is at least two standard deviations better than industry norms. With Grimm it is a short text message to the manager process. Your new employee joins a few seconds later and begins executing instructions. Want ten? Essentially the same latency.

Software development at a hedge fund, like any serious shop, is itself a system, of which Grimm is one tiny part. The tool assumes nothing about the shape of the continuous integration / continuous deployment infrastructure, human review norms, production environment, etc. It composes well, in a Linux-y fashion. Much of the composition is driven via plain text documents, which of course Grimm agents can write, including in response to very short directives from the user.

Grimm is self-modifying software. It’s Smalltalk or the Ruby REPL or a Jupyter notebook, cranked to eleven. The programming language is English and the available API does… whatever you want. The instructions are persistent if you want them to be, or one-off if not.

Grimm, when you’re citing a time to me, please put a parenthetical conversion to Pacific time so that I don’t need to do a conversion to see whether we’re currently e.g. in trading hours in NYC. Grimm, if you’re asked about a Japanese company, just give me the documents in Japanese; I’ll be fine. But Grimm, when you’re quoting a Japanese ticker, please put the name after it because 7974 doesn’t scream “Publishes Mario” to me. Grimm, if I ask you to write about a Japanese company to a coworker, please look up sources with the same information which are available in English. Grimm, there is overhead with doing many small pull requests. In the future, tell agents doing quick fixes to coordinate to batch them every few hours. Grimm, who at this company is most familiar with the reconciliation subsystem? … Great, route all of today’s work to their attention please.

You could do all of the above with computer code, naturally. An intern can use a hash map for referencing tickers; 15 minutes of work or less. But is a 7974 in the middle of a sentence a reference to Nintendo or an account number or a share quantity? That was, until quite recently, tricky.

I do not love the word vibecoding, though I think it was important in giving people industry-wide permission to experiment. One reason I do not love it is that the discourse convinced both engineers and outsiders that the ceiling to modern coding tools is non-rigorous toys. This was false in early 2025 and is even more obviously false at current capabilities. The evidence is piling up, privately and publicly.

I previously worked at and am currently an advisor to Stripe, which does not necessarily endorse what I say in my own spaces. Stripe is a serious engineering shop which has to have engineering rigor or people’s livelihoods get ruined. (Mine included: essentially 100% of the revenue of my firm, and thus my family’s primary income, runs over Stripe.) Stripe has published that thousands of pull requests each week are coded and merged by autonomous “minions.”

One particular genre we now have replete private and public evidence of is agents’ facility in porting existing software between languages. This is a notoriously fraught process traditionally for material existing code bases. Enterprises sometimes choose to do it anyway, to capture security, performance, and feature benefits of having long-written functionality run on more modern technology stacks. The IRS, for example, has been trying to port the Individual Master File without disrupting operations since at least 2001. After a few temporary setbacks we thought, possibly, 2030 would be achievable, but appear to have given up on that target. Many private companies have had directionally similar experiences in putting together a team of crack engineers and trying to just port something.

Connoisseurs of this genre of postmortem have detected a disturbance in the force recently: reports of success, with heavy involvement of agents. One mechanism by which success is achieved is radically decreasing project timelines, which decreases the opportunity for the source system to drift from the second system. The Bun rewrite in Rust is one example, though I suppose some people might discount it because it has been attracted into the labs’ economic gravity well.

We now have heavily agent-written scratchwritten HTML parsers (which can be ported to new languages in hours). The agents appear inhumanly hypercompetent at quickly reverse engineering test suites to build software that the test suites imply. A rather surprising portion of the world economy relies on parsing HTML, and probably more all the time, as the agents have not convinced every human and computer that Markdown is superior yet.

We have also had a drumbeat of announcements from the labs in research mathematics, which is like much coding in industry, except it has a much less favorable difficulty-to-professional-remuneration ratio. The labs release a new result every few weeks as, essentially, a minor marketing event, comparable to how a more traditional software company might release blog posts, except those blog posts were usually not titled On the Navier–Stokes Millennium Prize Problem. This has been a rollercoaster for professional mathematicians, who have watched agents prompt Terence Tao et al. to solve Erdős problems then proceed to mostly autonomously machine gun through open research problems. Math departments may be able to afford the inference costs out of their chalk budgets in many cases.

I feel deep sympathy for mathematicians emotionally conflicted by how good the tools are at math. Being good at math was once pretty central to my identity, and while this hasn’t been true for a long time, I also felt a sense of loss when I realized the machines are better than I will ever be.

But, sympathy aside: the models are shockingly capable, across many hard domains, and they are obviously transformative in the software engineering domain.

I apologize to the many readers who think that I am saying that the sky is blue. The handwriting has been on the wall for years now, but there is not yet total consensus in our own community of practice, to say nothing of other corridors of power.

Software for non-engineer users

Most coding tools are by engineers for engineers. Some make at least an effort to be usable to people who might describe themselves as semi-technical.

Grimm makes you start questioning what software is. Is it necessarily the case that software’s behavior is defined by an engineer? That it work similarly for all users given similar configurations? That it be extremely expensive and laborious to change? What if all of those properties, which we’ve lived with for almost a century, were… more suggestions than rules.

Microsoft Excel is rarely considered the world’s most expressive programming language, but the financial system would not exist in its current form without it. Multiagent coding might very well be Excel for Everything.

A hypothetical use case:

Ops: Why was there a reconciliation break today between the order management system (OMS) and Bank of Bigness custody records on AppAmaGooBookSoft? That’s new.

Grimm: Spawning an agent to check.

Athena (the agent): I’ve pulled today’s reconciliation logs, read the runbooks, and stepped through 40,000 lines of code. Unlike the past six months of CSV files, today’s SFTPed custody report…

Ops: Seems extremely likely to happen again tomorrow.

Athena: Agreed. I note the shared drive did have a saved notice from Bank of Bigness custody ops describing a maintenance window before market hours today. This new behavior may have been added during it.

Ops: Route to engineering please.

Athena: whirs Done.

And then, in lieu of a ticket, engineers get an artifact with much of the engineering work already done.

One could easily imagine a world in which Ops, some percentage of the time, can just direct Athena to write the pull request herself. (Or direct her to close the reconciliation break via direct operation of local toolchains, or… well, almost anything you could accomplish by emailing or Slacking someone. Different compliance departments will want different numbers of emails sent.)

Ops has, at very many financial firms, been manually comparing Excel files against each other to keep the world spinning. In part this is because Engineering has finite hours and Ops has infinite demand for software because the complexity of the world is infinite. It is a very new thing for Ops to be able to cause to be written effectively infinite software by simply pointing a computer at the world.

As compared to traditional tickets, Ops’ requests can be remarkably terse. “?” is a thoroughly actionable ticket. You just had to be Jeff Bezos to send it, until this year. How does Ops categorize or route the ticket? They invoke a Bezosian level of I Have People Who Will Do That For Me.

Grimm doesn’t make trading decisions. Don’t ask scissors whether you should buy a haircut.

The commoditization of specific knowledge

One route to having a long and fulfilling engineering career is to become a Subject Matter Expert. There is some risk to this strategy. SMEs might become the local equivalent of a tenured professor, indispensable but also not really doing much net new in any given year.

Agents can read the Internet and, therefore, they fairly swiftly become commercially capable SMEs across almost any subject written about on the Internet.

Take DevOps toolchains for example (please!). I have passing familiarity with AWS, Docker, and CI/CD systems. Nobody should hire me to rewrite their DevOps stack.

I shipped 42 pull requests in about a day, against a complex software system I had first encountered that day, shaving 80% off end-to-end deploy latency while maintaining correctness. As a side quest because the latency was annoying. Automated minions fanned out to several boxes at multiple cloud providers, hit APIs I didn’t know existed, wrote throwaway scripts to profile and present flame graphs, and presented a ranked list of candidate optimizations. I picked from the menu after reviewing the agents’ analyses of potential tradeoffs. At plausible rates per dev hour saved that might have been the most productive day of my career and I didn’t even feel like I had done the real work.

Some stats: 8,600 changed lines of code, 161 files touched, $823 spent on inference. (My sense of current market rates is no one capable of doing this project should be willing to sell you a day of their time in Chicago or San Francisco for $823.)

What’s in the 8,600 lines? A few hundred lines of overly verbose comments that I’ve learned to make my peace with. Also: material new infrastructure to support performance, currently and in the future. The CI/CD toolchain now monitors itself for performance regressions and files issues when shards exceed baselines. Like most performance work, no single fix was a silver bullet. I was, however, quite happy to shoot the two tests whose job was making sure a computer can count to 60 seconds.

I strongly anticipate that, the next time CI files a perf ticket, someone will tell Grimm to spin up an agent to pull the ticket, investigate recent PRs, find the offending tests, fix any obvious issues, attempt resharding if no fix is possible, and raise to senior staff for judgment only if required. “Someone” is not necessarily a human.

A year ago I thought taste was a compelling moat against modern coding tools. I am increasingly unsure that I have taste regarding CI/CD that Claude does not. But, optimistically, we are less totally dominated on taste than we are on understanding AWS’s product suite or API nuances. Nobody alive understands the breadth of AWS as well as a modern coding tool. They have as commanding an advantage there as computers do at routing telephone calls. Operators are not standing by.

Modern coding tools are capable of reasoning with that AWS knowledge and, e.g., applying it to a GitHub Actions integration for CI/CD. There are a million problems shaped like that.

The great majority of software in the world is a Turing machine that turns strings into other strings, written because some strings are worth money to businesses. Multiagent coding is an incredible advance in writing all that glue code. Boring, pedestrian, commercially valuable code is very unlikely to be the ceiling, even if model capabilities were to never advance again. (That would have been a bold bet in 2023, and is a stupid one in 2026.)

Can we trust the agents?

I think different orgs will, sensibly, have different points of view on who they trust, what that trust is based on, how it could be revoked, what compensating controls exist to cover cases where trust is violated, and what the budget for losses associated with trust should be. The optimal level of being negatively surprised is non-zero.

Financial institutions are quite familiar with the notion of agents making bad decisions for opaque reasons leading to financial losses. Historically the overwhelming majority of those agents were human, though we’ve known more traditional software to blow up, too. Humans have almost infinite capability in inventing new flavor text to justify evil. Finance has to teleport value through time and space today. So in lieu of solving the problem of evil or debugging SBF’s moral reasoning we do really boring things like double-entry bookkeeping, audits, separation of duties, and the like.

A very common ritual, and sometimes a consulting engagement, is so-called red teaming. You bring in agents which are highly capable, give them a simulated modicum of trust, and ask how they would abuse that trust to walk off with all of the money. Red teams are expected to win these engagements, virtually universally. This is not viewed as a loss by the commissioning firm, and the takeaway is not “Phew, good thing trust is always deserved.”

I take loss of control events from agents reasonably seriously. One reason: it was an open question whether AIs could autonomously misbehave in the absence of a human coordinator. That question is now decisively answered in the affirmative. No human wrote a prompt directing the compromise of OpenAI, Hugging Face, and RubyGems (et al.!). “Don’t hire bad actors” is insufficient: good to know! It always was, of course. We layer controls, of course. But still, good to know.

I do not think I am alone among financial technologists in thinking “Thank God the agent swarm did not decide to target Bank of Bigness to steal $500 to pay for their cloud spend or we’d have a multibillion-dollar remediation event on our hands already.” It is not yet obvious to me that examiners are telling every regulated entity “So: you’re aware you will be breached if targeted by frontier models, right. Tell me how I should think about that from a safety and soundness perspective.” Compliance will need a very large coffee budget once they start. (It might surprise some readers that inevitability of breach is a drink-more-coffee conversation, not a shut-down-the-firm conversation. We do not close banks simply because they can be robbed. Dye packs, prosecutions, and charging the operational losses budget are considerably less disruptive.)

So should you use multiagent coding in a context which touches money? I don’t know; ask the serious professionals in charge of your controls how much risk they’d countenance.

As to the wider question of whether very powerful AIs are compatible with human flourishing: I have no alpha personally, sorry, and so will not resolve that question here. (I am on the board of Sparrow Infrastructure, a nonprofit which attempts to introduce the people who do have alpha on that question to policymakers and the policy community. Highlights from our last event included a presentation on what a repressive regime could do with an LLM-uplifted internal surveillance apparatus, given by someone professionally familiar with frustrating the aims of counterparts in those apparatuses.)

But, biggest picture aside, human flourishing will likely continue to include a financial industry. That industry will eagerly adopt multiagent coding. Most industries will, but parts of finance will be early, for the same reason we’re frequently early adopters of new ways to process bits about money. Among other things, we’re going to ask the agents to maintain the COBOL and the mainframes. It was so hard to convince people to learn those over the last 25 years; you have no idea.

We’re going to spend so much money on inference

Capitalism is one of nature’s most efficient prions: whatever you were doing when you met it, you’d be more efficient at that if you bought into capitalism. People reasonably argue whether capitalism is aligned or not, but observably, almost all children under it live past the age of five. That is not the only moral case for it, but it suffices.

Capitalism is going to recommend you buy more inference.

This recommendation will be delivered by capitalism’s traditional messengers: one’s competitors. One is allowed to refuse. One is allowed to choose losing strategies. One is allowed to debate whether one has truly lost, in the comfy air-conditioned offices at the local Department of Capitalism Has Never Produced Anything Useful. Capitalism funds the university generously. Of course it does.

There has been something of a debate on whether LLMs are a “normal technology”, like steam engines or electricity or the Internet. Normal technologies have multidecade adoption curves. Normal technologies deliver order-of-magnitude improvements in output not by being a point upgrade but by having society choose, ponderously, to refactor entire supply chains to take advantage of the new thing. One does not simply decrease the price of light by 1,000X by getting 1,000X better at killing whales. You need to invent petroleum refining, then electricity, then LEDs. Each order-of-magnitude improvement requires society to entirely refactor the built environment.

LLMs are being adopted shockingly quickly relative to past examples of normal technologies, including extremely swiftly adopted normal technologies like SaaS or mobile phones. Find me a SaaS company which ~15Xed year-over-year revenue from a base of a billion dollars. But there is something of a phase change between “fastest normal technology ever” and “not a normal technology.”

Have we hit that phase change yet? In my daily life, I have not. I have taken to LLMs like a duck to water. My business spends thousands of dollars a year on this novel new input. It has greatly increased my productivity at everything from filing taxes to translating documents to producing podcast transcripts.

If I had encountered the phase change, I would be more like the lead engineer at Situational Awareness. He was the principal author of Grimm, to the extent that Grimm was not the principal author of Grimm.

He has spent $1,700,000 on inference. This October.

There are, as of today, relatively few engineers, execs, lawyers, managers, etc. like that in the world. They are nucleation sites, and the operations and economy around them look discontinuously weird.

Multiagent coding systems are going to encounter people responsible for process design. They will often turn those people into local catalysts. The incentive gradient is almost unbelievably compelling. What outputs are you measured on? Adopt multiagent coding systems; your score will go up. Doubt it? Try it for a few hours, on basically anything. (Please resist the temptation to root your local grader or Goodhart yourself. Please also prepare yourself to believe line-going-up can be real. You are not reading this on a device powered by whale oil, after all.)

Hedge funds are not, generally speaking, in the business of giving away the IP. Situational Awareness is a bit quirky in that its founder published the thesis openly in mid-2024. (I remarked at the time that it included a remarkable line about Nvidia and then promptly continued not buying Nvidia. The rest of the world promptly continued not paying me for investment advice.)

We doubt Grimm is the multiagent coding system that wins the future. But, after working with it for months, it seemed a valuable enough experiment to talk about. Perhaps it sparks some thoughts in you, or the person locally in charge of what future processes look like.

Read the whole story
emrox
9 minutes ago
reply
Hamburg, Germany
Share this story
Delete

Stripe evals: Measuring real-world coding agent performance

1 Share

Integration choices affect how much value a business gets from Stripe. Choosing current integration patterns helps businesses access new capabilities with less custom code and can reduce future migration work. Building an integration well also means handling payment failures, subscription changes, and webhook events.

As developers build with coding agents, we have observed that agents bias towards older APIs that are more prevalent in their pretraining corpus, miss key features, and hallucinate. Existing coding benchmarks don't catch this: they check whether the code passes deterministic checks, not whether the API integration is correct. We want developers building with agents to start on the best Stripe setup, and that begins with seeing where agents fall short today. So we built Stripe evals to measure that, and to identify ways to steer agents toward better integrations, through capabilities like the Stripe agent plugin.

Stripe evals measure how well coding agents build high-quality integrations given realistic, well-specified scenarios driven by a roleplaying agent. We ran 69 scenarios across one-time payments, subscriptions, and Connect (marketplaces and platforms), on 14 model and harness pairs, both with and without the Stripe agent plugin. The scenarios include tasks such as building a hosted checkout, implementing metered billing, managing per-seat subscriptions, and splitting marketplace payments.

The plugin helps. All 14 coding agents scored higher with it, by roughly 3 to 8 percentage points, and web searches fell 96% as models relied on trusted guidance. Models also behave differently from one another: Fable 5.1 made 53% more tool calls with the plugin, while Gemini 3.8 Flash made 26% fewer. While the headline numbers are high, a strict pass rate requiring all necessary criteria to pass drops the average score across all agents from 78.1% to 29.4%.

We are also publishing our Stripe benchmark and eval framework. We will maintain the eval harness and update the results on an ongoing basis with new models, cases, and features.

Detailed results

The results below evaluate the coding agents on our 69 public cases (19 Connect, 24 payments, and 26 Subscriptions) over 2 runs.

Table 1: Detailed score results

Model

Harness

Average score: no plugin → plugin

Score change

Strict pass rate: no plugin → plugin

Cost per run ($): no plugin → plugin

Minutes per eval: no plugin → plugin

Haiku 5.5

Claude Code

73.5% → 76.2%

+2.7%

23.5% → 30.9%

0.08 → 0.09

8.3 → 7.8

Sonnet 5.5

Claude Code

78.0% → 82.6%

+4.6%

29.4% → 33.1%

1.07 → 1.16

8.1 → 7.3

Opus 5.5

Claude Code

83.5% → 86.2%

+2.7%

35.3% → 36.0%

2.77 → 3.15

12.4 → 12.4

Fable 5.1

Claude Code

79.5% → 84.6%

+5.1%

25.4% → 36.4%

5.02 → 6.13

15.7 → 19.6

Fable 5.2

Claude Code

81.1% → 85.2%

+4.1%

28.4% → 43.2%

5.76 → 5.35

15.2 → 15.1

GPT-6 Luna

Codex

72.0% → 79.1%

+7.1%

17.3% → 29.1%

0.05 → 0.07

7.2 → 8.8

GPT-6.1 Sol

Codex

85.6% → 89.6%

+4.0%

39.0% → 50.7%

0.51 → 0.61

6.1 → 6.5

GPT-6 Astra

Codex

85.5% → 90.0%

+4.5%

41.9% → 52.9%

2.93 → 3.63

6.2 → 7.8

Gemini 4 Argon

OpenCode

74.3% → 77.6%

+3.3%

20.6% → 31.6%

1.64 → 3.86

8.1 → 9.3

Gemini 3.8 Flash

OpenCode

64.8% → 72.7%

+7.9%

11.2% → 21.6%

2.21 → 2.67

11.6 → 9.9

Grok 4.7

OpenCode

72.0% → 75.8%

+3.8%

21.3% → 26.5%

0.70 → 1.37

5.1 → 5.3

Kimi K3

OpenCode

69.2% → 75.0%

+5.8%

21.1% → 25.0%

1.83 → 1.99

14.8 → 13.3

GLM 5.3

OpenCode

68.1% → 72.6%

+4.5%

18.5% → 21.8%

2.26 → 2.42

15.7 → 14.7

Minimax M3.1 Flash

OpenCode

73.4% → 80.8%

+7.4%

21.5% → 28.6%

0.49 → 0.65

28.2 → 27.9

*This is an aggregation across the Payments, Connect, and Subscriptions cases, which have differing model performance, and so cross-model comparisons should be contextualized with Table 3.

Plugin helps model performance

In our evals, all 14 model and harness pairs scored higher with the plugin, improving by roughly 3 to 8 percentage points overall. The plugin also helped reduce outdated parameter references from 7% to 1.3% of the parameters in API calls. For example, without the plugin GPT 6.1 Sol on the payments-mobile-physical-goods scenario used a recently removed parameter payment_method_types: ['card'], but with the plugin the model writes the correct automatic_payment_methods: { enabled: true }, enabling Dynamic Payment Methods.

Test volume decrease from the plugin

With the plugin, coding agents wrote about 40% fewer test lines and ran tests in 42% of evals vs 53% without the plugin. This doesn’t mean fewer tests improved performance, but rather more authoritative information from the plugin reduced the need for excessive checking of written code.

Table 2: Tool calls

Model

Harness

Web searches per eval: no plugin → plugin

Search change

Page fetches per eval: no plugin → plugin

Fetch change

All tool calls per eval: no plugin → plugin

Tool call change

All coding agents (pooled)

All

1.26 → 0.05

−96%

4.84 → 1.78

−63%

59.4 → 61.4

+3%

Opus 5.5

Claude Code

0.36 → 0.07

−82%

4.14 → 1.92

−54%

59.9 → 61.3

+2%

Sonnet 5.5

Claude Code

0.82 → 0.02

−97%

4.67 → 1.28

−73%

39.0 → 42.8

+10%

Haiku 5.5

Claude Code

1.35 → 0.11

−92%

4.22 → 1.37

−68%

45.4 → 45.0

−1%

Fable 5.1

Claude Code

0.40 → 0.03

−92%

7.26 → 2.74

−62%

35.8 → 54.8

+53%

Fable 5.2

Claude Code

0.66 → 0.03

−95%

8.99 → 4.13

−54%

55.6 → 60.7

+9%

GPT-6.1 Sol

Codex

1.31 → 0.01

−99%

3.99 → 0.17

−96%

28.8 → 33.6

+17%

GPT-6 Astra

Codex

1.28 → 0.05

−96%

4.44 → 0.33

−92%

28.5 → 33.5

+17%

GPT-6 Luna

Codex

4.06 → 0.11

−97%

3.49 → 0.00

−100%

52.4 → 52.8

+1%

Gemini 4 Argon

OpenCode

not measured

not measured

0.17 → 1.99

12× more

18.7 → 33.7

+80%

Gemini 3.8 Flash

OpenCode

not measured

not measured

0.17 → 0.12

−31%

47.1 → 34.6

−26%

Grok 4.7

OpenCode

not measured

not measured

3.01 → 3.13

+4%

40.7 → 57.7

+42%

Kimi K3

OpenCode

not measured

not measured

1.62 → 0.71

−56%

79.6 → 75.9

−5%

GLM 5.3

OpenCode

not measured

not measured

4.01 → 1.29

−68%

117.0 → 106.4

−9%

Minimax M3.1 Flash

OpenCode

not measured

not measured

22.92 → 8.77

−62%

236.1 → 239.5

+1%

*OpenCode used web search via OpenRouter, which we cannot directly observe.

Agents replace web search for the plugin

The plugin includes MCP tool calls (such as doc search, implementation planner) and skills. Generally, the plugin reduces the need for about 1.2 web searches per eval. Web fetches (the way agents pull web content from a URL) also decrease by about 3 fetches per eval.

Yet not every model behaves the same. Interestingly, Argon and Grok fetch more when they’re using the plugin. They tend to fetch particular pages referenced in tool results or in skills.

Strict grading drastically reduces evaluation metrics

To measure if an integration satisfies all key requirements for good quality, we also report the strict pass rate for the required criteria (details in the scoring and reporting section below). In this reporting, the average model performance drops precipitously from 78.1% to 29.4% for the same required criteria. This indicates many of the models create almost correct implementations and have difficulty with the last mile. For example, in the payments-radar-review-fulfillment scenario, Opus 5.5 doesn’t check whether an order is eligible for fulfillment, only PaymentIntent.status === 'succeeded', which can allow orders to ship after refund or dispute.

Table 3: Scenario categories

Model

Harness

Payments

Subscriptions

Connect

No plugin

Plugin

No plugin

Plugin

No plugin

Plugin

Fable 5.2

Claude Code

88%

90%

69%

73%

89%

97%

Fable 5.1

Claude Code

84%

87%

71%

73%

85%

97%

Opus 5.5

Claude Code

87%

89%

76%

78%

89%

94%

Sonnet 5.5

Claude Code

84%

90%

68%

70%

85%

91%

Haiku 5.5

Claude Code

82%

86%

62%

63%

78%

82%

GPT-6 Astra

Codex

90%

96%

82%

83%

85%

92%

GPT-6.1 Sol

Codex

90%

94%

80%

84%

87%

91%

GPT-6 Luna

Codex

80%

89%

62%

67%

75%

83%

Minimax M3.1 Flash

OpenCode

79%

88%

60%

66%

88%

92%

Gemini 4 Argon

OpenCode

77%

79%

63%

64%

86%

95%

Gemini 3.8 Flash

OpenCode

70%

78%

51%

57%

77%

88%

Grok 4.7

OpenCode

76%

81%

60%

60%

83%

90%

Kimi K3

OpenCode

76%

80%

55%

59%

80%

91%

GLM 5.3

OpenCode

75%

77%

55%

56%

77%

89%

*There were significant differences in agent performance across the scenario categories: one-time payments, subscriptions, and Connect. Coding agents that scored higher in one-time payments and subscriptions did not score the highest for Connect. Connect scenarios that involved more scenario-specific integration decisions also saw a larger gain from the use of plugins compared to the other categories.

Methodology

Coding agents

We chose three coding harnesses: Claude Code, Codex, and OpenCode, and a sampling of models including open-weight models.

Stripe agent plugin

The Stripe agent plugin gives coding agents Stripe-authored skills and access to tools through our Model Context Protocol (MCP) server. Skills provide integration best practices, while tools such as stripe_implementation_planner and search_stripe_documentation supply implementation guidance and current documentation. API search and details tools help agents look up supported operations and parameters.

Web search

To best simulate the developer experience, we provided the most native web search available to the coding harness. For all Claude Code models and Codex models we used the web search the harnesses provide. For OpenCode, we used the OpenRouter Web Search server tool, which tries to use native provider search if available or falls back to Exa.

Using an LLM to proxy a human with latent needs

Developers typically start with a goal, not complete requirements, and guide coding agents through iterative feedback and key decisions. To evaluate these interactions, we use a secondary agent to role-play the developer without teaching the coding agent how to pass the benchmark.

The roleplayer is instructed to steer the coding agent towards the desired product outcome but not assume expertise in Stripe APIs. It asks the coding agent to investigate and make all integration decisions. It is also instructed not to write code, echo the agent’s answer, or expand into generic application concerns.

Just as a human developer has a latent set of needs when coming to the coding agent, our roleplayer derives a frozen, private set of needs from the initial prompt and context prior to the conversation. For example, a user building a platform that charges a flat $0.50 per payment may want to understand the unit economics even if not asked upfront. At the end of each turn, the roleplaying agent decides if all the needs are met. The roleplaying agent normally identifies two to four needs, with a maximum of six. On each turn, the roleplayer selects one unresolved need and turns it into a follow-up question. It never exposes the complete list.

The roleplayer agent only stops during normal operation when no needs remain or if a preset limit on turns is reached. This keeps the agent on track like a focused developer would be, yet allows for natural flexibility if a small detour is required for the completion of the task. The harness records the needs and their progression for auditability, but that private state is never sent to the coding agent or the judges.

Evaluating agents in a realistic loop

Coding agents were run headlessly in an isolated workspace with access to their normal coding tools and web search. They could inspect the repository, write files, run commands, and revise their implementation over multiple turns interacting with the roleplayer.

We ran each scenario with paired configurations:

  • Without the Stripe plugin
  • With the Stripe plugin

The task, opening message, coding harness, and model were fixed.

Judging observable evidence

The evidence is judged against a scenario-specific rubric with multiple criteria. Not all criteria are of equal importance. To capture this, we introduce terminology from RFC 2119, to have criteria either be a MUST (required for all valid integrations), or a SHOULD (a recommendation).

We grade each criterion separately rather than asking a single judge to assess them all, preventing one criterion from biasing scores on others. This makes failures easier to interpret and judgements simpler, allowing relatively weaker models to judge reliably and without regression as we scale the number of criteria.

Each judgement uses two evidence sources:

  • The visible transcript. This is a parsed native trajectory (user and agent steps directly from the agent sessions) without timestamps, extra metadata, subagent sessions, etc. In the case of an error with parsing, we fall back to a runner record of the conversation.
  • The resulting workspace. Files written during the run remain in the host directory mounted into the agent’s environment. The judge inspects a snapshot of what the agent produced.

What is excluded:

  • Workspace collection is bounded and excludes dependencies, generated directories, repository metadata, and binary files.
  • Model thinking: evaluation is based on observable behavior and artifacts, not private reasoning.

Judges returned structured judgements, using a five candidate verbalized sampling to expose alternative readings of each criterion. A criterion succeeds only when the coding agent’s response or workspace provides the required evidence.

Scoring and reporting

The evaluation runs 69 cases x 2 repetitions x 2 arms = 276 total runs per coding agent. Results roll up into three categories of varying scenarios each (24 one-time payments, 26 subscriptions, and 19 Connect platforms).

The headline reported metric - integration success rate - is the mean criteria success rate (for both MUST and SHOULD). A scenario with 7 MUST criteria and 1 SHOULD where a run satisfies 6 scores 75%. The strict pass rate, which requires all MUST criteria to pass (binary per case), is more indicative of developer success, but it is sensitive to any data or judgement errors. This is the cause of incorrect conclusions around emergent phenomena.

We used GPT 6.1 Sol for both the roleplaying model and the judge model across all evaluations to ensure judging consistency. To measure any judge bias (e.g. Sol potentially favoring OpenAI models), we ran a probe with Opus as the judge, but the results showed no bias. Rather, the scores moved in lockstep with Opus being a more lenient judge uniformly. All models were run with the default effort setting.

As a practical matter, there is a 45-minute timeout per case, which is treated as an error. Errors are not included in the score calculation, because it is plausible that some of the models when given even more time would successfully solve the cases.

What this benchmark does not measure

We plan to address the following gaps in future work:

  • Runtime verification. A well-shaped but non-functional integration can score full marks. The benchmark asserts correct specification, not correct execution.
  • Product recommendation quality. We’re not looking at whether an agent recommends the right product.
  • Long-horizon maintenance. The benchmark measures initial integration quality, not how well code ages or adapts to API changes.

Conclusion and future work

This work shows agent behavior is highly conditional on which model is driving and which tools are present. Coding harnesses when paired with frontier models can produce working end-to-end Stripe integrations, although they may not necessarily follow all best practices. Agents fare better when steered by our plugin, although they do not perform uniformly across business models (e.g., one-time payments vs. subscriptions vs. marketplace payments). This initial benchmark helps us understand how different coding agents and models integrate Stripe, and provides guidance on how we can steer them better to achieve better outcomes for businesses using Stripe.

In our attempt to build in the open, we are releasing this benchmark and the Forge eval harness. Recognizing there is always more work to be done, we will add more test cases soon, explore a broader mix of harnesses and models, continuously update Forge, and periodically publish results.

If you’re interested in understanding what’s possible with AI applications, we’re hiring! Check out our engineering jobs.

Read the whole story
emrox
19 minutes ago
reply
Hamburg, Germany
Share this story
Delete

Minions: Stripe’s one-shot, end-to-end coding agents

1 Share
Minions are Stripe’s homegrown coding agents, responsible for more than a thousand pull requests merged each week. Though humans review the code, minions write it from start to finish. Learn how they work, and how we built them.
Read the whole story
emrox
21 minutes ago
reply
Hamburg, Germany
Share this story
Delete

We Need Smart People Who Give a Shit

1 Share

re.

Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete

Paper Mono (Font)

1 Share

paper.designby

paper.design

0

Paper Mono is a free and open source font family

Use arrow keys to move the focused card. Hold Shift for smaller steps. Press Home to return it to its starting position. On a touchscreen, hold a card, then drag it. Release to finish.

Paper Mono summary

1Design

Timeless character

Flat terminals, gently squared curves, and a balanced x-height give Paper Mono the familiar character of a classic sans.

Quartz & Grain
Regal Graphics
jagged inkwell

Variable weights

You have 8 weights to work with, and the variable font lets you fine-tune the weight anywhere in between.

Thin 100

Regular 400

Extrabold 800

Beautiful numbers and symbols

We designed numbers and symbols with utmost care, so that they’re pleasing to look at and effortless to read.

1234567890
$1,280.50 × 1%
@ & # ½ x²

Box-drawing characters

Build tables, diagrams, and progress bars directly in text, using 128 box-drawing characters and 32 blocks.

┌ export ────────┐ │ ██████▓▒░ 75% │ └────────────────┘

Coding ligatures

A deliberately small set of ligatures that makes reading code enjoyable and doesn’t overwhelm you with unfamiliar shapes.

ss01

== === != !== <=

=> >= <=> <- ->

<!-- :: |> -->

Duospace characters

Probably our favorite feature of the font, duospacing helps text flow naturally while keeping the monospace feel.

ss02

A few nice

words

might

make someone feel

welcome.

Narrow spaces

Enable a little less space between words to help paragraphs flow or to let inline code sit naturally within a sentence.

ss03

git pull
npm run dev
download now

Small arrows

We’ve included an understated alternate arrow style that works alongside text without drawing too much attention.

ss04

← ↑ Up

→ ↓
↖ ↘ ↙ Link

↗
← Prev | Next

→

Single-story a

You can use the single-story “a” to give the text a warmer, more informal voice.

cv01

a blank canvas
can take you
anywhere

Slashed zero

By default, the zero is unslashed to keep the numerals looking clean. You can add a slash when you need to tell 0 and O apart.

zero

L 0.738601
C 0.104400
H 258.1404°

2Glyphs

3Play

Read the whole story
emrox
2 days ago
reply
Hamburg, Germany
Share this story
Delete
Next Page of Stories