# Software for one

AI is most useful to me when it works on the same thing I'm working on, with the same tools. That idea, taken seriously, changes what software I buy and what I build.

- Author: Joshua Jordan
- Published: 2026-11-12
- Tags: AI, Cloudflare, Agents
- URL: https://modataconsulting.com/blog/software-for-one

## Watching one repository

For a few months I had one GitHub repository open in a tab most days. It was Cloudflare's Agents SDK, and one engineer, Sunil Pai, was committing to it at a pace I hadn't seen from a single person.

I wasn't following for the code. I was watching someone work out, in public and in small steps, where AI fits inside software. Click a month to see the count.

**Interactive figure.** Interactive: a column chart of commits by Sunil Pai to cloudflare/agents for each month from January 2025 to September 2026. The selected month is April 2026, with 121 commits. Project Think was published on 15 April, inside an 18-day streak. About 144 of the 962 commits are automated release commits.

**Interactive figure.** 256 days with at least one commit, over 21 months. 18 days in a row, in April 2026. 121 commits that month, the busiest.

That April streak sits on either side of a Cloudflare post called [Project Think](https://blog.cloudflare.com/project-think/). The commit subjects from those weeks read like a parts list: a workspace for every agent, lifecycle hooks, permissions, sub-agents, recovery after a crash. They describe a place for an agent to work, more than an agent.

Three months later Pai wrote the essay that explained what all of it was for.

## One document, two hands

The essay is [one document, two hands](https://sunilpai.dev/posts/one-document-two-hands/). It describes a small music app where you can drag a tempo slider yourself or ask an agent for a walking bassline, and both of you are editing the same open song. One line carries the argument.

> "the agent belongs beside you, not between you and the app"
>
> *Sunil Pai*

Most AI features are built the other way round. You type into a chat box, the chat talks to the product, and the product is somewhere behind it. The work lives in the transcript.

**Interactive figure.** Chat in front: you, then chat, then agent, then app. Every change goes through a conversation. To fix one number you have to describe it. Agent beside you: you and agent, then app. The work lives in the app. You use your hands when you know the move, and words when you only know the outcome.

The part I keep returning to is how plain the mechanism is. The model doesn't edit the song. It picks an operation and its arguments, and ordinary code does the edit. The button you click and the agent you ask both call the same function. That gives you validation, permissions and undo once, for both.

Here is that idea at toy size. The document is a weekly report. Change it with your hands on the left or ask on the right, and watch the log.

**Interactive figure.** Interactive: a weekly performance report with four sections, Key numbers, Trend chart, Top items and Notes. Your hands and a scripted agent change it through the same four operations, setPeriod, setVisible, moveTo and addSection, and every operation lands in one log. Nothing has been applied yet.

Every line in that log has the same shape, whoever sent it. Undo doesn't care who sent it either. I spent years trying to make model output predictable by constraining the output. This gets the same result from the other end. The model is allowed to be fuzzy about *which* operation, and the operation itself is exact.

## For you, with you, alongside you

Once the work lives in a shared document, the agent can relate to it in three ways. I use all three in a day, and I've found it matters to know which one I'm in.

**Interactive figure.** Interactive: three modes, For you, With you and Alongside you. With you is selected. You hand over the moves you can't be bothered to make by hand. You keep your hands on the same document, the whole time. It needs shared state and shared operations, so its edit and your edit are the same kind of thing. It goes wrong when the agent's changes live in a chat transcript and yours live in the app.

The mistake I made for most of this year was using "for you" where I needed "with you". I handed over whole features and read the summary. I wrote about what that cost in [Lean in hard, not blindly](/blog/lean-in-hard). The shared document is the fix I didn't have a name for. If the agent and I are editing the same thing through the same operations, I never lose track of what the thing is.

## Why this makes software for one possible

Software as a service works by building one application and renting it to everyone. That made sense when building was expensive and running a separate copy for each customer was absurd. Both of those have changed.

Building got cheap enough that an agent can make a small app in the time it takes to describe it. And the platform I build on runs each agent or app as its own tiny stateful instance that sleeps when nobody is using it. Cloudflare's own illustration in the Project Think post is 10,000 agents that are each active 1% of the time. Move the sliders.

**Interactive figure.** Interactive: with 10,000 instances and an active share of 1%, 100 are awake at once, and 9,900 are asleep and using no compute. A server per instance would keep all 10,000 running to serve these few. This covers idle compute only. Storage and model calls still cost money.

When a private copy for each person costs almost nothing while idle, "one app per user" stops being absurd. In an [earlier post](https://sunilpai.dev/posts/after-wimp/) Pai describes where that leads, which is programs written for one person at the moment they need them.

## Start from a base

I don't build these from nothing, and I'd advise against it. I tried that first. In April I started an assistant app as its own stack, with its own sign-in, storage and agents. It works, and I own every line of it, which means I maintain every line of it.

In August I started again from a base. Cloudflare publishes a project called Cloudflare OS, built on three ideas.

- **An agent** that already knows the workspace and can write code against it.
- **Gadgets**, which are small apps the agent builds. Each person gets a private instance they can edit and share. A gadget starts from a template called a blueprint.
- **Gatekeepers**, which sit between a gadget and anything outside it. A gatekeeper holds the credentials, scopes access to one resource, logs each action and can hold a side effect for approval.

My version is a private copy of that project with a small reviewed set of patches, and a wrapper repo that adds my own gatekeepers and blueprints without editing the base in place. The wrapper says what's switched on in one file.

```javascript title="deployment.jsonc"
"gatekeeperModes": {
  "claude_code":     "admin",     // only me
  "k2pov_files":     "enabled",
  "k2pov_data":      "enabled",
  "k2pov_models":    "enabled",
  "scheduler":       "enabled",
  "k2pov_browser":   "enabled"
}
```

And a new kind of document is a blueprint, layered on the base's own format.

```javascript title="blueprints/k2pov-slides/blueprint.json"
"blueprintId": "k2pov.slides",
"title": "K2POV Slides",
"output": { "id": "presentation", "noun": "Slides" }
```

> **Why the base matters**
>
> Sign-in, permissions, storage and the audit log are the parts I'm least qualified to improvise and the parts where a mistake costs most. On a base they're written once and reviewed once. What I add on top is the small part that's specific to me.

The upkeep rule I've settled on is to stay close to upstream. Every patch I carry has a note saying when to delete it, in the form "drop this when upstream ships X". I want to maintain my differences and nothing else.

## What it stands in for

Here is what runs on my base today, next to the kind of paid tool each one overlaps with. Flip any row to "buy" and put in your own numbers. I've left maintenance in the sum, because leaving it out is how this argument usually cheats.

**Interactive figure.** Interactive: nine tools built on the base, each next to the kind of paid tool it overlaps with. With all nine built, 5 seats, a typical price of $20 per seat a month, 1 upkeep hour per tool a month and an hour worth $100, that is $900 a month in subscriptions avoided, $900 a month of my time to keep them running, and $0 a month either way. With these numbers building and buying cost the same. The four numbers are placeholders for you to change. They aren't my costs or anyone's price list.

Play with the upkeep number and you'll find the edge quickly. At one seat, building almost never pays for itself in money. It pays in fit. At twenty seats it pays in money too, until the upkeep hours creep up.

## What the evidence says

I want this to be true, so I went looking for reasons it might not be.

- **Spending on SaaS is going up.** Zylo's [2026 index](https://zylo.com/news/2026-saas-management-index) puts median spend at $9,455 per employee, with 36% of licences unused, and spend on AI-native apps up 108% in a year. So far AI is adding subscriptions. That is one vendor's customer data, mostly larger companies.
- **Some teams are replacing tools.** In Retool's [2026 survey](https://retool.com/blog/ai-build-vs-buy-report-2026) of 817 builders, 35% said they had replaced at least one SaaS tool, mostly internal automations and admin panels. 26% named maintenance as the burden. It's a self-selected audience of people who already build.
- **The code was never the product.** Kevin Kuipers [argues](https://onelayerdeeper.substack.com/p/the-vibe-it-yourself-fallacy-the) that what customers pay for is sync, permissions, audit and integrations, and that those dominate the cost. I think he's right, and it's the best argument for a base that I've read.
- **Generated code has security holes.** Veracode [found](https://www.veracode.com/blog/genai-code-security-report/) a common class of flaw in 45% of AI-generated samples in 2025. A vendor ran that study on isolated tasks, and I still take it as a reason to keep generated apps behind a gatekeeper.
- **Generating isn't the same as owning.** Ink & Switch's [malleable software](https://www.inkandswitch.com/essay/malleable-software/) essay points out that making a new tool is easier than changing one you have, or making two tools share data. A shared document with shared operations is one answer to that.

The oldest version of this idea needed no AI at all. In 2020 Robin Sloan described [a home-made messaging app](https://www.robinsloan.com/notes/home-cooked-app/) with four family members as its only users, and it is still in use. What AI changes is how many people can cook.

## Should I build this one?

**Interactive figure.** Interactive: four questions before building. Is it specific to how I work? Is the data mine, and small? Is a failure cheap and easy to undo? Will I use it every week? With every answer yes, the verdict is: Build it on the base. It's mine, it's small, a mistake is cheap and I'll use it. This is what a blueprint is for. The first no decides otherwise.

## What I haven't done yet

- **My first stack is still running.** The assistant I started in April doesn't sit on the base. I maintain two systems, and I shouldn't.
- **Sign-in isn't unified.** I built a central sign-in service, and nothing uses it yet. The base signs in through Cloudflare Access and the older app has its own.
- **The base is early.** Cloudflare describes it as early access, and some features in my copy are deployed and switched off.
- **It's software for a few.** I haven't run it for more than a small group, so I can't say how it holds up at company size.

## Beside, not between

The line I quoted is about one app and one agent. I think it scales up. A tool I rent stands between me and my own work, shaped for the average of its customers. A tool that grows from a shared base, edited by me and an agent through the same operations, stands beside me.

I don't expect to cancel every subscription. I expect the list to shrink to the things that are hard for reasons other than code, and for everything else to become something I ask for, check, and keep.

## Sources

- Sunil Pai, [one document, two hands](https://sunilpai.dev/posts/one-document-two-hands/), July 2026, and [let the code do the talking](https://sunilpai.dev/posts/after-wimp/), March 2026.
- Cloudflare, [Project Think](https://blog.cloudflare.com/project-think/), April 2026, an experimental preview, and the [Agents SDK docs](https://developers.cloudflare.com/agents/).
- Commit counts are from the public history of cloudflare/agents, 29 January 2025 to 30 September 2026, in UTC.
- [Zylo](https://zylo.com/news/2026-saas-management-index) and [Retool](https://retool.com/blog/ai-build-vs-buy-report-2026) are vendor reports on their own audiences. [Veracode](https://www.veracode.com/blog/genai-code-security-report/) is a vendor study of 2025 models.
- Pai's essays are about agents sharing an app's state. The argument about replacing subscriptions is mine.
