Not long ago, AI in a development team meant suggesting the next line of code in the editor. Useful, but hardly a revolution. Today an agent can read a ticket on its own, look through the repository, write a change together with tests and open a pull request. That is no longer a smarter autocomplete. It is a new participant in the process: fast, tireless, and fully capable of doing something completely wrong with total confidence.
This is where AI SDLC comes in. The idea is to let agents into the whole software development lifecycle, from requirements to maintenance, but on clear terms: who gives them tasks, what they can access, what counts as evidence that a change works, and who finally says “yes, ship it”. Without those rules you get more code faster, but not necessarily a better product faster.
Below I describe how to plan such a rollout: stages and gates, the first pilot, tests as acceptance evidence, security and compliance, and the mistakes that most often eat up the gain from faster coding.
The short answer
AI SDLC is a software development lifecycle in which AI agents produce the first version of the work at each stage, and named people approve the result at gates between stages. The stages do not change: there are still requirements, specification, code, tests, review, deployment and maintenance. What changes is who produces the first version and what counts as evidence that a change is good.
Faster coding alone is not enough. If planning, testing and releases stay manual, the team as a whole speeds up only a little, because the bottleneck moves to task description and acceptance. The rollout happens in phases: process audit, a pilot on one repository and one type of task, measurement, and only then scaling. The risks are concrete: prompt injection, non-existent packages suggested by the model, secrets within the agent’s reach, code and data in the wrong service. Each has a known safeguard.
What AI SDLC is
SDLC (Software Development Life Cycle) is the classic software lifecycle. AI SDLC is the same lifecycle rebuilt around coding agents. You will also see the names agentic SDLC and AI-native SDLC. They describe the same thing. Do not confuse AI SDLC with AI-DLC: the first is a general category, the second is one specific methodology with its own vocabulary.
In practice, two different topics hide under the AI SDLC label, and it pays to separate them at the first meeting. The first is AI in the team: agents help write specifications, code, tests and documentation, and the product itself may contain no AI at all. The second is AI in the product: the application uses a model, answers customers, classifies tickets or acts as an agent. Then the lifecycle gains model selection, data, behaviour evaluations and monitoring of responses after release. A change of prompt or model version is a release, even if not a single line of code changed.
This article focuses on the first track, because it changes the team’s work fastest. The two often meet in one repository.
AI SDLC is not vibe coding
In both approaches the model writes the code. The difference is whether anything checks it between the first prompt and production.
| Question | Vibe coding | AI SDLC |
|---|---|---|
| What it is | You accept what the model wrote without reading the changes | A way of working for the whole lifecycle: plan, design, code, test, deploy, maintain |
| Who checks | Nobody reads the changes; a human only looks at whether the app works | Named people at the gates, plus automated tests and scans |
| When the work is done | When the app seems to work | When the person owning the gate accepts the stage’s output |
| Where it breaks | Code that never went through a security process | Gates that become a formality, and documents nobody reads |
Vibe coding has its place: a quick prototype meant to show an idea, not to reach production. The trouble starts when a prototype with no gate at all becomes a system customers use.
Stages, the agent and human gates
An agent can help at every stage, but it should not decide at every stage.
| Stage | What the agent does | What the human does | Gate |
|---|---|---|---|
| 1. Requirements | asks questions, drafts user stories, looks for contradictions | the owner sets the goal and the “done” condition | yes |
| 2. Specification | writes the plan, splits work into tasks, proposes acceptance criteria | approves the plan before any code is written | yes |
| 3. Code | edits files in a separate branch, runs commands | sets the scope of changes and the agent’s permissions | no |
| 4. Tests | writes and runs tests, fixes errors | decides which tests count as evidence | no |
| 5. Review | a second, independent agent raises comments | the reviewer understands the change and approves it | yes |
| 6. Deployment | prepares release notes and a rollback plan | the release owner decides on publication | yes |
| 7. Maintenance | analyses logs, errors and tickets | decides what becomes a new requirement | no |
The agent saves the most time in stages 2 to 4. It does the most damage when someone skips gates 1, 2, 5 and 6. A typical symptom: a polished pull request for a task nobody described properly.
The process stops being linear and becomes a loop, with AI present at every point. Line-by-line review stops keeping up once agents write most of the changes. That is why each stage ends with a concrete artifact (goal, specification, plan, change with tests, pull request, incident record), and a human checks the evidence at the gate.
Why faster coding alone is not enough
This is the most common disappointment after buying agent licences. Code is produced faster, yet new features reach customers only slightly faster. There are three reasons.
Coding is only part of the lifecycle. Even if writing code speeds up noticeably, team productivity grows only a little while planning, testing and releases remain manual. An impression is not a measurement either: experienced developers sometimes work slower with AI tools, even though they feel faster. That is why you measure time from task to deployment, not the team’s impressions. Finally, AI amplifies what is already there. Effective teams become more effective, and the problems of weaker teams grow.
The conclusion for a rollout is simple: AI SDLC concerns the whole lifecycle, not just the editor. If the team lacks good tests, clear tasks and a smooth release process, the agent will simply produce more code to review, faster, and nothing more.
How to run an AI SDLC rollout step by step
Gradual change works best, not shock therapy. Mature teams have working processes, and there is no point tearing them down. AI goes where it brings a measurable return and takes repetitive work off people. In practice a rollout has three phases: audit and strategy, pilot, scaling.
Step 1. Audit the process and the technology
Before any tool is named, you need to know how the team works today: where tasks come from, how they are described, what the test coverage is, what code review and release look like, how long the path from ticket to production takes. This measurement is the baseline without which the pilot cannot be assessed later.
Step 2. One repository and one type of task
A good pilot candidate has tests, an active owner and repetitive tasks: bug fixes, tests for untested code, dependency updates, documentation. A poor candidate is “let’s rewrite the whole system”.
Step 3. Rules on one page
The rules should say which data and which code may be sent to a vendor’s service, and what permissions the agent gets (read, write in a separate branch, run commands, network access). They should also say who approves pull requests and who decides on releases, and what the agent may not do: access production secrets, write directly to the main branch, deploy without a human.
If at this stage nobody can say who approves an agent’s change, the company is not missing a tool. It is missing a role.
Step 4. Context in the repository
The agent knows programming languages, but it does not know the team’s conventions, commands, prohibitions or the purpose of a change. That context is written into the repository, not repeated in every chat.
The first element is an instruction file for agents (for example AGENTS.md) with build and test commands, conventions and prohibitions. Many tools read this open format, so switching agents later is easier. The second is skills, meaning described procedures the agent performs repeatedly, for example preparing a database migration. The third is specification before code, with work in phases: specification, plan, tasks, implementation, conformance check against the plan.
A simple rule from practice: if a reviewer fixes the same agent mistake a second time, the rule goes into the instruction file. The third time, into a test or a linter, because an agent can overlook an instruction, but not a test.
Step 5. Compare tools on your own tasks
Agent rankings change every few months; selection criteria barely change. Take two or three tools and give them the same dozen or so closed tasks from your own repository. Before comparing, answer these questions.
Where may code and data go: the vendor’s cloud, the company’s cloud or only your own infrastructure? How do you accept work: does a developer see every change as it happens, or does the agent work alone and hand over a pull request? Where does the agent run and with what permissions: a laptop, an isolated container, the vendor’s environment? Which instruction formats does it understand? The closer to open standards, the easier it is to switch tools.
How does it connect to the repository, CI, the ticket system and the messenger? And who pays and for what: a per-seat licence, model usage, cloud runtime? Compare the cost of one closed task, not the price per seat.
Step 6. Measure and decide
Measure time from ticket to approved change, the number of fixes after review, defects found later and cost per task. Do not measure lines of generated code. After the pilot there are three good decisions: extend to the next repository, change the tool, or stop. Each is a good outcome if it rests on measurement.
Step 7. Scale the competences
Only after a successful pilot do the practices move to other teams: shared instruction files, a skills library, unified quality gates and training. This is the moment AI SDLC stops being an experiment of a few people and becomes the standard way of working.
Tests and review: acceptance based on evidence
An agent delivers code faster than a human can read it, so tests take over most of the acceptance burden.
Acceptance criteria should exist before implementation, ideally written as tests the agent must pass. If the agent writes both the code and the tests, the reviewer starts with the tests: do they check behaviour, or only that the code runs? Review should be independent. The model that wrote the code does not grade its own work. Review is done by a different model or an agent running in a separate environment, and a human receives the collected comments.
Quality gates should be graduated. Some rules only warn; others block the merge, for example minimum test coverage or a security scan. Autonomy should be graduated too. Routine, low-risk tasks can go through automatically on green tests. High-stakes changes always go to a human. The scope of autonomy grows only when measurements show the agent copes with a given category of tasks.
For products with AI inside, evaluations are added: a set of test cases against which every version of the prompt, the model and the data sources is assessed.
Legacy code
Agents work well with old code, provided they work carefully. They help map dependencies, explain logic nobody remembers and write documentation that evolves together with the code. The safe order is characterisation tests first, which pin down the system’s current behaviour, and only then refactoring or migration. Without that safety net an agent may “fix” behaviour customers depend on.
Security, GDPR and the AI Act
Prompt injection. The agent reads external content: tickets, documentation, web pages, dependency files. A malicious instruction can be hidden in a file or on a page. It is currently one of the most serious threats to LLM applications. Safeguards: least privilege, separating external content from instructions, human approval of high-risk operations. An agent with access to both production secrets and the internet is asking for trouble.
Non-existent packages. Models can suggest libraries that do not exist, and open models do so noticeably more often than commercial ones. Someone can register such a name with malicious code. An allowlist of registries and dependency scanning in the CI pipeline are mandatory.
Where the code goes. There are three models: a vendor’s cloud API (the strongest models, data outside the company under contract terms), the company’s private cloud, or its own infrastructure cut off from the internet, for sectors with the highest confidentiality requirements. The choice depends on what data and code pass through the agent.
GDPR. If personal data passes through the agent (for example database dumps, logs with customer data, tickets), you need a data processing agreement with the vendor, knowledge of where processing happens, and a rule that production data does not enter the agent’s environment without anonymisation.
The AI Act and standards. Code-writing tools are usually not high-risk systems in themselves, but the product being built may be. An audit trail is good practice: who approved the change, which tests it passed, which model wrote it. Gates and the audit trail can be mapped to the requirements of the AI Act, NIST AI RMF and ISO/IEC 42001, which makes a later audit easier. The classification of a specific system and the AI Act obligations must be confirmed with a lawyer.
Roles in the team
An agent does not reduce the number of decisions. It moves them earlier, to the task description, and later, to acceptance. It is worth naming five roles, even if one person holds several of them.
| Role | Responsible for | What happens without it |
|---|---|---|
| Requirements owner | goal, scope, “done” condition | the agent builds what is easy, not what is needed |
| Agent operator | task description, instructions, permissions | the same fix in every task |
| Reviewer | understanding and approving the change | approving changes nobody has read |
| Release owner | publication decision and rollback plan | a release with no way back |
| Security | secrets, dependencies, data boundaries | code or customer data in the wrong service |
The developer’s work changes the most. Less writing, more describing, checking and talking to the business. Value shifts to the ability to define a problem precisely and judge the result.
The most common rollout mistakes
The first mistake is buying licences instead of changing the process. An agent in the editor without tests, gates and rules produces more code to review, not faster delivery. The second is having no gate owner: nobody knows who approves an agent’s change, so everyone approves it, or nobody does. The third is measuring lines of code, when what counts is time from task to deployment, the number of fixes and defects after release.
The fourth is a pilot on the whole system. Too wide a scope makes assessment impossible and discourages the team. The fifth is review as a formality: clicking “approve” under a change across forty files nobody read is vibe coding with an extra step. The sixth is technical debt. An agent readily writes new code next to old code instead of simplifying it. Smaller tasks, one change per pull request and a review that rejects code not needed for the goal all help.
Where this is heading
The most far-reaching model is the so-called software factory: people define the goal and make the decisions, agents build in a loop, and code review is replaced by validation against scenarios. The slogan “review the spec, not the diff” captures this direction well. It is a goal, though, not a starting point. Such a factory works only when tests and scenarios are better than human review. Most companies first need to reach the stage where they trust their tests more than their intuition.
FAQ
How does AI SDLC differ from a regular SDLC?
The stages are the same. What changes is who produces the first version of the work and what counts as evidence. The agent writes specifications, code and tests faster, so the bottleneck becomes task description and acceptance. AI SDLC is the set of rules that keeps speed from bypassing control.
Will an AI agent replace developers?
Not in terms of accountability. Someone has to describe the task well, judge the result, approve the change and answer for its consequences in production. The developer’s role shifts towards specification, review and conversations with the business.
How long does an AI SDLC rollout take?
It depends on the team’s maturity, the state of its tests and the number of repositories. A pilot on one repository can be planned as a short, closed phase with measurement at the end. Scaling across the organisation is a longer process. A concrete schedule is best set after the audit.
Is code written by an agent secure?
It is as secure as the process it goes through. Agent code goes through the same tests, dependency scanning and review as human code.
Can an agent deploy changes to production on its own?
Technically, yes. To start, we recommend that a human makes the release decision while the agent prepares release notes, test results and a rollback plan. Automatic releases are worth considering only with mature tests, fast rollback and for low-risk tasks.
Which tool should we start with?
With tasks and data boundaries, not with a name. First decide where code may go, how you accept changes and what permissions the agent gets. Then compare two or three tools on the same tasks from your own repository.
Let’s talk about AI SDLC in your team
Cloudhive helps companies bring AI into their teams’ work: from a process audit and choosing the first pilot, through rules, agent instructions and quality gates, to training and measuring results. See how we run AI implementations or book an AI consultation, and we will discuss where to start in your case.