Dev.to AI 🤖 Ai 👁 3 📖 4 min read

The Agent SDLC: A Demo Is Not a System

The Pain: The demo is impressive. Three months later, the team is still saying “change the prompt” in a group chat. Did it get better? Unknown. Did the previous version regress? Also unknown. What You'll Learn: Why an a

The Agent SDLC: A Demo Is Not a System

The Pain: The demo is impressive. Three months later, the team is still saying “change the prompt” in a group chat. Did it get better? Unknown. Did the previous version regress? Also unknown.

What You'll Learn: Why an agent is not a longer prompt chain; the difference between an Agent OS and an Agent SDLC; a three-plane architecture and a seven-stage pipeline; and the three gates that separate a demo from a production system.

A demo is not a system
The first version is exciting. The twentieth version is where proof becomes mandatory.

The demo path is always the same

Most teams follow the same route: connect a model, write a prompt, add a few tools, get a successful demo, then ship.

The first two weeks are exciting. The third week starts to drift.

An agent is not a longer prompt chain. It behaves more like a state machine: on every turn it perceives, plans, calls a tool, observes the result and decides whether to continue. Each step can have a side effect. Each step can go in the wrong direction.

Traditional software errors are usually reproducible. The same input runs through the same function and produces the same output. Agent errors are often not reproducible. The same question can work today and fail tomorrow. The same tool call with one wrong field can turn a read into a write.

That is why the Agent SDLC is not “software SDLC plus a prompt file.” It has to govern four assets: prompt, tool, memory and eval.

If any one of them is not versioned, the agent cannot be reproduced and cannot be rolled back.

Agent OS is not the SDLC

Many teams mix up an Agent OS and an Agent SDLC. They are related, but they are not the same thing.

An Agent OS is the control plane. It manages agents, tools, permissions, runtime, audit and billing. It answers: who can do what, inside which boundary?

An Agent SDLC is the pipeline. It manages a change from requirement and specification to eval, release and replay. It answers: why is this change allowed to ship?

With an Agent OS but no SDLC, the platform becomes a beautiful dashboard. With an SDLC but no Agent OS, the pipeline becomes a pile of scripts.

A clearer architecture separates three planes: control, runtime and evidence.

The control plane decides boundaries, not answers. The runtime plane decides how this particular run executes. The evidence plane answers why we believe the run was correct.

Without an evidence plane, “good” is a feeling. With an evidence plane, release becomes a decision.

Three planes, seven stages
Control sets the boundary. Runtime executes. Evidence earns trust.

Seven stages, seven deliverables

The three planes connect through a seven-stage pipeline: Intake, Spec, Build, Eval, Release, Operate and Learn.

Each stage needs a deliverable: a requirement record, an agent spec, a tool contract, an eval report, a release manifest, a trace, and a regression case.

The point is not to create more documents. The point is to make every change traceable. When a release fails, you need to know which prompt, tool, memory policy and eval set produced it.

Not every stage should be automated. Deterministic checks should run automatically. High-risk actions should require a human signature.

Three gates before production

The first gate is the eval gate. It runs automatically: golden-set pass rate, adversarial-set safety failures and regression-set zero degradation. An agent that cannot pass its own evidence should not be released.

The second gate is the approval gate. External writes, messages, money movements and irreversible actions require a human. This is not a lack of trust in the model; it is a recognition that some errors cannot be undone by a retry.

The third gate is the canary gate. Start with one tenant. If the metrics move the wrong way, roll back. If they hold, expand with human confirmation.

Most teams, when they score themselves honestly, sit between L0 and L1. They have code and maybe a version. They do not have an eval set. Or they have an eval set but no release gate.

Three gates before production
Low-risk checks can be automated. High-risk actions need a signature.

Our own lesson

Conversational iteration is excellent at producing a demo. It is terrible at proving that version 19 did not regress from version 18. At some point, “it feels better” is not enough.

This is not a model problem. It is an SDLC problem.

The fix does not require a large platform on day one. Start with the twenty percent that prevents the most expensive accidents.

Weeks one and two: put all code, rules and scripts into Git; protect the main branch; give every release a version, a commit and a changelog.

Weeks three and four: add minimal CI. Run backend smoke tests, a frontend build and the agent golden set. A pull request must be green before merge.

Weeks five to eight: make releases real. Add staging, immutable artifacts, smoke tests, rollback scripts and a database migration version table.

Weeks nine to twelve: add agent-specific controls. Build an agent and tool registry, version prompts and config, add traces, canaries and a kill switch.

Do not reverse the order. Buying a coding copilot before building a pipeline only helps you change faster. It does not help you make fewer mistakes.

What to ask today

If you are building an enterprise agent, do not start with “which model should we use?”

Ask three questions instead. Which version is running in production? Which eval proves this change did not regress? If we roll back now, how many minutes will it take?

If the team cannot answer those three questions, the problem is not the model. The problem is the SDLC.

The competitive advantage of an agent is not how smart the model is. It is whether the team can put uncertainty inside a pipeline that can be evaluated, rolled back and replayed.

About the author: Guanlan (观澜) — AI / Agent / digital transformation practitioner.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.