Power Up Your Software Development Lifecycle with AI

Most software engineers are already using AI coding assistants and agents to enhance their workflow. While these can deliver benefits, the real opportunity lies in using AI across the entire Software Development Lifecycle (SDLC). In this article, we'll look at how AI agents can be used throughout the process, to deliver better software faster.

AI SDLC

It’s all about Context

Every SDLC process includes phases such as: Planning & Analysis, Design, Development, Testing, Deployment, Support & Maintenance. Each phase of the process is dependent on contextual information being available, about the business domain, the users, the technologies and the software being developed. This information is generated within and moves through the process, in written and verbal formats.

The key to maximising the power of AI is to make all of this context readily available to AI agents. It can be in various text based formats including: documents, web pages, markdown files, system APIs (JSON) etc.

If the context is written with AI in mind, it effectively becomes prompts and instructions for AI. The higher quality the context, the higher quality the AI’s output.

The high level steps to make this happen are:

Model Context Protocol

Model Context Protocol (MCP) is a powerful open protocol that acts like universal plumbing between existing enterprise systems and AI agents, avoiding custom API integrations.

A MCP server is a simple adapter service that (typically) runs in the context of a user, on their laptop and provides consistent interfaces that AI agents can interact with. These interfaces provide the means to request contextual information (resources) and to execute tools that will perform actions.

Many of the concepts discussed below can be achieved by manually providing contextual information to an AI chatbot or agent, however MCP servers provide a way to automate the flow, avoiding a lot of copying and pasting. For example, an AI agent can automatically retrieve the details of a task from a work management system when prompted with a ticket number.

MCP servers are available (or becoming available) for most enterprise systems that are used within a SDLC process. If an existing MCP server does not exist, any experienced software engineer can create a MCP server to wrap an existing API.

A note of caution, some MCP servers expose too much functionality, giving the AI agent excessive agency or access to sensitive data. This is an example of the risk described in the OWASP Top 10 for LLMs: LLM08: Excessive Agency. Either use a proxy or implement your own MCP server to only expose the capabilities that you really need.

AI Agents Across SDLC Phases

Now that we understand the importance of context and we have a means of providing it to AI agents, let’s look at how to power up each phase of the SDLC.

AI SDLC Diagram

Note: example prompts are in quotes below.

Planning & Analysis Phase

A product team can utilise AI in multiple ways during the Planning & Analysis phase.

These artefacts are used as context in the subsequent phases.

Design Phase

UX Design

Software Architecture

Development Phase

Software engineers can utilise MCP servers from within their coding editors to retrieve the contextual information generated in the previous phases, from UX design systems, software architecture models, wikis and task management tools.

Instruction files (Markdown files) should also be created in code repositories to define coding standards, project conventions, business domain etc.

Testing Phase

A MCP server can also be used to interact with test case management systems, to identify gaps in test coverage etc.

Deployment Phase

Support & Maintenance Phase

Team Upskilling & Organisational Change

The objective of the examples above is to augment your team, to make their lives easier, it's not about replacing people with AI. The output from these examples will not be perfect, there will be inaccuracies that require human review and correction. Even with these imperfections, it’s much better than starting from scratch.

Some training and up-skilling will be required to get people onboard to adopt these new ways of working. See Driving AI Adoption, From Resistance to Results for more information on change management.

AI Governance

Don’t forget about AI governance! Your SDLC process is handling your company's intellectual property, therefore robust governance is vital. More details on AI governance here: AI Governance & the Journey To ISO 42001

Conclusion

AI agents are rapidly changing how software is developed and delivered. Using AI at specific touchpoints of the SDLC is a practical way to start, however, a more holistic approach will deliver even more positive results.

Start by introducing changes to the Planning & Analysis phase, then progressively work through each subsequent phase. By ensuring that the context generated is high-quality, relevant, and reusable, it will create a compounding effect: each phase becomes more efficient and better aligned with the next.

The result? A cohesive, AI-powered SDLC that empowers teams and accelerates the delivery of high quality software.