DEV Community

Bastien GUILLAUME
Bastien GUILLAUME

Posted on

Problem-as-Code: your team writes the problem, we keep the software alive

Gartner published a number in September that should worry anyone who sells software to companies: by 2028, 70% of enterprises will abandon the agentic AI that a vendor's forward-deployed engineers built for them (Gartner). Their words: "trapped by soaring costs and unable to evolve it on their own". CIO Dive adds Gartner's estimate of the consulting fees alone: they could top $200,000 a quarter per use case.

The pattern is older than AI. A vendor builds the tool. Its engineers leave. What they knew leaves with them. The software freezes until someone replaces it, and the replacement starts the same loop.

I run a studio where one person and a fleet of AI agents build and run 20 projects, 8 of them published products. The offer I want to make to companies comes straight out of how that studio works. I call it Problem-as-Code.

The definition

Problem-as-Code: your teams own the problem. The studio builds, runs and evolves the software. You own everything, including the way out.

If you know Infrastructure-as-Code, you know the idea. You don't describe the servers you have. You write down the ones you want, in versioned files, and a machine makes reality match. When you need a change, you change the file.

Problem-as-Code does the same one level up. The source of truth is not the code. It is the written problem:

  • The problem statement: what hurts, for whom, and how often.
  • The product definition: what the software must do, and what done means for a user, not for a developer.
  • The user journeys: the paths a real person takes through the app, which the browser tests replay before every release.
  • The decision records: why it works the way it does.

Agents read those files before they write a line. Reviews, tests and release checks run against them. When the need changes, your team changes the problem, and the software follows. No ticket to a vendor, no re-scoping meeting.

The loop

Your people spend their time on two of the four steps:

  1. Write the problem (your team): what hurts, for whom, and what done means.
  2. Build and test (the studio): every change reviewed, and tested in a real browser on the user journeys.
  3. Try and accept (your team): on the real app. You approve every release.
  4. Run and evolve (the studio): hosting, monitoring, updates and fixes.

Each new need from your team starts the loop again. Your people become builders without writing code. They describe the problem, try the result, and decide what changes next.

Why this answers Gartner

Gartner's diagnosis has two causes, and Problem-as-Code removes both.

The software stops evolving because evolving it is a new project. Here, evolving it is the service. It is what the studio is paid for every month, not a change request.

The knowledge walks out with the engineers. Here, it never lives in an engineer's head. The problem, the definition, the journeys and the decisions are text in a repository you control. Our agents read them before every change, so keeping them current is part of the work, not an afterthought.

Gartner's own analyst says the best-scoped engagements settle IP ownership, knowledge transfer and an exit strategy up front. Problem-as-Code puts all three in the contract from day one.

Three ways in

A problem nothing solves yet. We write it down with the person who feels it, build a first version, and your team tries it.

An internal app nobody wants to maintain any more. Taking it over begins by recovering the problem behind it: we read the code, talk to its users, and write down what it does and why. The app becomes a written problem again. The missing write-up is usually the reason it was abandoned in the first place. We take over one application at a time, starting with the one that costs you most to keep alive.

The apps your business units built with AI, outside IT. A team uses a coding assistant to build the tool it needed, and the tool works. Then it holds customer data, has an API key written into the code, and nobody in IT knows it exists. Banning those apps stops the work, and leaving them leaves the risk. We list them with each business unit, decide with IT which to keep, merge or retire, and put the kept ones under company sign-in, scans on every change, release approval and monitoring. The business unit stays the problem owner, and IT gets control back.

What runs behind it

The same rails carry every studio product, and they would carry yours:

  • An agent reviews every code change before it merges: about 260 reviews a day across the studio.
  • Security and secret scans (Semgrep, Trivy, gitleaks) run on every change.
  • Before a release, QA runs twice: on the build machine, and through a real browser on the user journeys.
  • Nobody, human or agent, ships a release without an explicit approval.
  • Sign-in fits a company: SSO (SAML, OIDC), SCIM provisioning and a tamper-evident audit log, from the studio's own open-source enterprise package.
  • Every running product is monitored, with alerts around the clock.

The exit clause, and the exit rehearsal

This is the part I care about most, and the part most vendors leave for the lawyers at the end.

  • Ownership from the first commit. You own the code, the data and every record: problem, definition, journeys, decisions, tests and history. They live in a repository you control, and our access is yours to revoke.
  • No hidden dependency. Studio components inside your product come with a perpetual, royalty-free licence for that product. Leaving never breaks the software.
  • A transition pack. When you leave, you get the deployment and infrastructure configuration, the runbooks and the monitoring setup. Third-party accounts move to your name, secrets are rotated and handed over, and your data is exported in open formats.
  • Your data, then none. After the handover we delete our copies and confirm it in writing.

A promise like that is cheap to write. So we test it.

Once before go-live, and once a year after, your team or an auditor you choose rebuilds and deploys the product from the repository and the transition pack alone, without us. Anything missing, we fix at our cost.

Engineers will recognise the idea. A backup you never restored is a hope, not a backup. An exit clause you never rehearsed is the same. The rehearsal is a fire drill for firing your vendor, and it is the only proof that staying is a choice and not a trap.

What I haven't proven yet

Field notes should say where the field ends.

  • The studio has never taken over someone else's application. Its checks, tests and deploys are built for its own web stacks. A fifteen-year-old Java app is a different job, which is why the takeover starts with writing the problem down, and goes one app at a time.
  • The rails have only run in the studio's own GitHub organisations. Running them in a client's repository, which the exit clause requires, is new work.

So this is a new offer, not a track record. I would rather say that here than have you find it out in a sales call.

Where it comes from

Problem-as-Code is the studio's way of working, offered to companies. In September I wrote about how that studio runs, five layers of text that the agents read before they act: One human, one studio. This article is what it looks like when the problem belongs to someone else.

If your team has one problem nobody will ever get to, or one internal app nobody wants to own any more, tell me about it in the comments. That is exactly where the first step starts: one problem, written down, and a first working version you can try.

ai #agents #devops #startup

Top comments (0)