跳到正文
InfoQ· Catherine Weeks·· 54 分鐘前AI 評分63

演講:Red Hat「AI 優先、品質為先」的智能體 SDLC 導入案例

Presentation: AI First, Quality Always: Agentic SDLC Adoption Case Study

AI 導讀

Red Hat 在工程團隊中推進 AI 智能體融入 SDLC,並主張以品質、持續評估和人工監督作為自動化基礎。其需求流程智能體將 12 項過大的 RFE 拆分為 44 項範圍明確的子 RFE,整個產品管理團隊在一個月內接入系統。演講亦按組織、團隊及個人三個層面整理採用方式,並介紹評估框架、安全護欄及人工介入安排。

正文

Transcript

Catherine Weeks: My name is Catherine Weeks. I'm a director of engineering at Red Hat AI. I run a team that is building an agentic AI platform. Overall, at Red Hat, we are building an AI product, an AI foundation for other enterprises. I always like to disambiguate a little bit at the beginning. We are building an AI platform, and so we are highly invested in AI for everything that we're building for our customers, but we're also using AI within our engineering teams. That's what we'll be focused on today, is how we're adopting AI to improve our own SDLC.

Act 1 - The Pressure

I'm going to start out today by talking about the pressure in the industry. Many companies are experiencing an AI-first mandate. Executives are coming along, and they are putting a lot of urgency around the adoption of AI. This urgency can take on a lot of different characteristics, but probably the biggest characteristic is a feeling of wanting to achieve higher productivity, and higher speed, and higher outputs. This is dangerous, because as Lizzie was talking about, when you put a measurement behind something, we can optimize around that measurement in the wrong ways. We want to make sure that we don't fall into this measurement trap, because there's executive excitement around the possibilities of a new technology. The urgency that executives are putting on AI is not wrong, either. We've seen these models improving significantly over the last six to eight months. What they're capable of keeps expanding, and we do need to take those seriously.

We do need to move forward and look at innovation and adoption, and how we can improve what we do, and how we do what we do, using AI as part of our solutions. We don't want to do it the wrong way. I love this quote from Kent Beck. We can have the clankers go and build PRs all day long, but if we're building PRs, we're not building quality. We want to build quality and usefulness for our customers. The risk that happens is when executives come and say, you must adopt AI, we can end up in a very bad place with possibly brand reputation risk. Technical failures can happen. We've seen this happening at different companies across the industry, where production systems are going down, other implications are happening from technical failures. We can see brand damage from those incidents. We can also see that customers will lose trust more quickly than they will gain trust. This is a moment when we do this adoption that we have to be thoughtful and careful, and we have to start that conversation with executive teams very quickly, so that we change the tone from speed to quality. How do we continue to look at the quality of what we are producing?

I think for this audience, one really important thing to talk about is, what is your role in this AI evolution and revolution? It's very easy for us to all get caught up in this. I know for me, I had two weeks that just felt very bizarre earlier this year. I had one week where I was talking to a friend, and I got quite emotional talking to that friend about where the industry was going. I was concerned about ethics. I was concerned about the brand and reputation risks. I was pretty much in tears about the situation of where we were going with AI in the industry and the negative implications that it could have. Then the next week, we had a full company meeting, and I was watching the chat of the company meeting, and there were hundreds of naysayers in this company chat talking about how we can't adopt AI, and this is ridiculous, and we're going to ruin everything.

I immediately flopped to the other side where I was supporting AI and promoting that this is an industry change that we need to actively participate in. The only way we can do it right is not by ignoring it, but by stepping in and understanding it and building it the right way. What do we need to do? If you're an engineering leader, you need to think about how you set org direction and how you set that table that there is a market change happening. We need to acknowledge that's happening. We don't exactly know what the outcomes are, but we know we need to move people from where they are to where we need to go, and we're going to discover that together. We want to explore possibilities openly. I really think if you're an engineering leader that hasn't been hands-on in years, and I was one of these, get some hands-on experience.

I started using a lot of the technologies myself to better my own job, to do some side projects, and that was critical because otherwise I couldn't really have the conversation about how we evolved together with the engineers on my team. I'll say, it's not a clean thing. You're going to see all sorts of different understandings happening on your teams. At Red Hat, we saw some engineering leaders dragging their feet on adoption. We saw others wanting to be seen as the leader, seen as the forefront, running ahead and possibly even too far ahead. They started making changes that really could have been worked in a way that they were setting up boundaries and setting up collaborations across teams, and they were just stomping all over everybody trying to get it done. Be cautious that those are probably going to happen in your organization. How do you show up as a leader that is helping create those connections, but also bringing the laggards along with you?

If you're an architect or a staff engineer, there's also going to be a lot of pressure on you. We saw some of our staff engineers and architects fighting AI automation. That Lizzie's fifth stage where we go full autonomous, I think executives love to talk about that full autonomous moment. Everybody has an allergic reaction to it, and that's ok. As an architect and staff engineer, you need to also think about how you show up to say what is feasible and that you're willing to experiment to push what is feasible at any moment in time, because these models are changing, and what is feasible will change over time. You need to drive best practices and mentor other engineers through this change. If you're a software engineer, there's a whole maturity model and curve happening here of innovators to laggards, and you could be anywhere along that spectrum.

What I'd say to you is if you're a laggard and if you tend to be a laggard of new technologies, this might be one to step into a little bit more actively. This will be career defining for many people. If you step in and experiment and see what's possible, you can show up in a different way for the future, and that's what's going to help you in your career. Understand that the speed of change here is different than pretty much anything that we've seen before, and so you're going to want to lean into it, understand it, learn it, evolve with it. That doesn't mean you have to dedicate your entire life to it. I think this is where the noise on LinkedIn and other social media can get us caught out, because we see these innovators, and some of them are frankly not even innovators.

When you go talk to them, they don't even know what they're talking about. You see all this noise and you think, I can't keep up with it. I can't do it. Take one Friday and just spend a little bit of time experimenting, and you'll start to see what's possible for you, and just build on top of that piece by piece. That's how I transformed my job. I was feeling completely under water coming into this year, the amount of information and pressure. I'm running an agentic AI engineering team. There is no place else in the company that has more pressure than my organization right now. I didn't know how to keep up with it all. I spent two days one week building a context management system for myself, and it completely transformed my job. Just taking a moment to see what's possible and build on it can be completely transformative. For those of you that are feeling like the pressure is a lot and you're not sure how to get past that, take that first step.

Act 2 - Our Story, and a Framework

I want to spend a little bit of time talking about the Red Hat story, what we've been up to. Then I'm also going to put it into a framework for you so that you can think about how to do this within your own organizations. I want to start off by talking about there are two main modes of AI adoption. The first mode is the AI copilot. I think a lot of people are already doing this. You have Claude or whatever choice models that you're using working with you to do your job. The goal here is to move through a maturity model of how you work as an individual. Steve Yegge wrote a great article that captured eight levels of AI adoption that I refer to pretty often. It's a great maturity model moving from using no AI at all through building your own orchestrator of multiple agents.

This is a good place to start to think about how you mature yourself. The other mode of adoption is the AI factory. Again, when we talk about AI factories and full automation, this is where some people start to get a little bit of the allergic feeling around AI. The goal here is, can agents perform that full SDLC for simple tasks, and then over time can we increase the complexity of those tasks so that we have AI running full SDLC on areas of our software development where we can put humans on more complicated problems. When we get that allergic reaction, because I have it myself sometimes, I always like to take that step back for a minute and think about where we are and where we're going. The models will never be worse than where they are today. If we think something isn't possible today, it could be possible tomorrow.

The argument that we don't want to build AI factories, that we don't want to automate things using agents because they're untrustworthy, or we're not sure they're going to produce the right thing, or are they high enough quality, that will continue to evolve and get better and better and better. The target for what we can automate is always moving forward. We need to recognize this and think about it in how we apply AI in our organizations.

I'm going to talk about three layers of adoption. At Red Hat, we've been working at all three of these layers, and I'll give examples of what we're doing at these different layers. The first layer is at the organization layer. The second one is at the team layer. The third one is the individual. At the organizational layer, this is where you're automating potentially your SDLC. This is where you're thinking about that AI factory. It's also a place where you have shared context, and you want to think about what is your organizational context that you can codify. For most organizations, this is going to be a moment where you realize that your processes suck, and half of them are not written down, and nobody really knows what they are. That's actually a great moment. That's a great aha moment to have, because this is going to force you to analyze that, think about it, write things down, and build a better process that works for humans and for agents.

This is going to better your organization, even without the AI usage, because it's going to force you to reconcile the fact that your processes might not be well documented and well thought through. At Red Hat, we used the Tiger team model for how to approach the SDLC, assigning experts from different parts of our organization into implementing different parts of the SDLC. I'm going to talk about one part of the SDLC that we chose to automate and why. We've automated many parts, and we're still working through this actively today. As a director of engineering, I come into teams, and what I need to fix or work on in a new team is never the coding. Coding is always fine. It's everything leading up to the coding, and it's everything after the coding that usually needs attention in an organization. This was true at Red Hat as well, and when we came into the AI organization and started thinking about automating the SDLC.

As Lizzie was talking about, what are your bottlenecks? Those are the areas that you need to pay the most attention to. One of our bottlenecks was our requirements pipeline. We had tons of RFEs coming into our organization, and they were, frankly, a mess. It would take weeks, if not months, for our staff engineers and architects to work with our product managers to get to the point where we could actually define what it is that we actually need to build for any given area. That debate back and forth between people to try to get to a level of definition of what we needed to build was incredibly painful. We targeted this as one of the first things that we automated with our AI SDLC. We created an agent that went through multiple steps. We reviewed the input from our PM team or from a customer against a set of categories and characteristics.

We had the agent supplement where possible or kick back to the human in exceptions where it could not supplement that information. Then we also created a RFE splitter because often what would happen is a PM would come in and say, I want you to build an Agent Ops system. It's like, that could consist of about 100 million things. What do you really want? We worked on a splitter that would actually take these RFEs that were way too big and split them into a whole set of different RFEs that engineering could actually intake and we could actually work from. This process of creating these requirements worked incredibly well. We onboarded our entire PM team onto the system within a month. You can see some of the numbers here. I'll point out one. The 12 oversized RFEs split into 44 well-scoped children. That was a huge win because that would have taken us months to work through that back and forth previously. To start from the split where we understand we're working from something that is consumable for an engineering team as our starting point for discussions with PM, huge win for us.

The second layer of adoption is at the team level. Your team has the most knowledge about their context. Context is so important when working with agentic AI adoption and with AI adoption in general. You need to think about how are you going to enable your teams to bring their context along for the ride and make the decisions at their level where they have the most knowledge. We did some of this through a skills marketplace. We had some of our QE teams building skills, for instance, that were incredibly successful. The other part of this that I'll mention is that variability at the team level and even as we move down into the individual level can be desirable. I think one thing as we do AI adoption that we can get caught in the trap of is saying, we're going to push it all up to the organizational level, we're going to standardize everything and it's going to be great.

No. You actually want that variability. At the team level, you start to get that variability and you should lean into it. At the individual level, you're getting more. You should lean into that as well. At Red Hat, we had a QE tiger team that published over 15 skills that got viral adoption across our organization. These were immediately seen as valuable and other teams were starting to pick them up without us even talking about them. We also spent some time working on architectural context. It is vitally important that all the way back up to that RFE that we were doing at the org level that we create information and we create solutions based on what we know about our architecture and that architectural context. There's nobody better to put in that architectural context than the teams that are living it themselves. Think about how you can enable your teams to bring their knowledge into the system that flows up to the organization level and then is utilized by the individual level.

Layer three is the individual level. This is productivity that compounds as you build on it. You want to give individuals the power to try new things and experiment as the capability of models and agents changes over time. There are some things that we can codify from the top down that we want standard across the organization, but often that will change over time as we learn more from individuals and what they are doing and what they are building. The risk here is that as you send off individuals to go experiment and try new things, that you get a lot of diversity and solutions, and people are building the same thing again and again across different teams. I think in the beginning of adoption, that's ok. Be ok with the cost of 10 different individuals solving the same problem, because they might do it a little bit differently and the best one will rise to the top over time.

I think we as organizations tend to try to control that. We want to say, no, we're going to create one of these because we don't want to take the cost of creating five of them. This is evolving and changing so fast. Take the cost, it's not that big of a cost. The opportunity is that you can learn from those individuals and you can advance your organization much faster based on learning from the individuals. Many people in our organization actually followed this, but I'll talk about one person in particular. One engineer really focused on how he could go from Yegge Stage 3 to Yegge Stage 8 over the last quarter. He built his own project to enable this. He went from YOLO mode, trusting agents to run, all the way to building an orchestrator that ran off of his laptop, because he was sick and tired of walking around with a thumb in the laptop like half of us do right now, so that our agent keeps running while we walk from meeting to meeting.

He was like, I commute back and forth from home and I don't want my agents to stop. I'm not only going to orchestrate, but I'm going to do it remotely. He built his own orchestrator that runs remotely. Then he spent time talking about what he built and how that could be enabled across the organization, and how others could use it. I think this is the power of the individual, that experimentation, seeing what's possible, trying new things, and then sharing it with the organization and seeing how we adopt those at larger levels. You're always going to also have copilot happening at the individual level. That's the power of copilot model, is that you continue to have individuals running copilot while you also build an AI factory that's automated. We're going to want both of those at the same time.

Act 3 - Guardrails as a Competitive Advantage

Let's talk a little bit about guardrails and safety. As I said, I had a little bit of a personal meltdown earlier this year, where I was like, we need to do this well. We can't just charge forward and expect that we're not going to make mistakes, because we're definitely going to make mistakes as we do this. When Lizzie put up the slide and had the different stages, and validation and testing was the lowest, that was my only cringe moment in her talk, because I was like, no, you want that to be the highest. If you take nothing else away from this talk, please think about how do you put guardrails and validation loops and quality as the most important thing that you invest in before everything else. At Red Hat, we're doing this in a variety of ways. One of the big ways is we built an evaluation harness.

We want to make sure that as agents change, as we version through different versions of our AI SDLC, that we're constantly evaluating those agents and making sure that we're not degrading from our standards at all. Building an evaluation harness isn't the easiest thing to do, but it's possible. There's a lot of information and research out there that you can follow. Evaluation harnesses are custom to you. You can use standard eval systems out there and see standard eval metrics that others are using, but often you need to spend some time thinking about what matters to you and your organization, and build your eval harness custom around those. Also think about where you want that human in the loop. One of the things we've been talking about is the difference between human in the loop and human on the loop. As we build this AI factory, you have this factory going, but you still have a human overseeing it.

Your human is over the loop now, watching that thing. How are you going to enable them to see what's going on? What kind of observability are you going to put on top of the system so that you know exactly what's happening and when things are going wrong? Then, when do you want it to exit out so that you do put human in the loop at the moments where you have exceptions and the agents shouldn't be taking any more action without some human oversight? Thinking about human in the loop and human on the loop are two really critical things to think about for AI factory in particular when you're starting to automate systems. Security is a parallel concern. You really want to think about as you put this into practice, what are your security practices and how are you going to enforce those? Can you put sandboxing around these agents so they can't touch things that they shouldn't be touching?

Can you put guardrails on your inputs and outputs so that you ensure that you're not getting results that are unexpected? How can you put it into CI that also has maybe not as non-deterministic characteristics to it? Put some deterministic characteristics around your AI so that you know exactly what's happening and you treat it like any other software that we deploy in production. This is another quote that I really like from Martin Fowler, "To go faster, you need higher quality." If you focus on the quality first, you will get to those outcomes that your executives are looking for. Start the conversation about how you focus on quality over speed, so that you end up in a place that both you and your executives want for your own knowledge and your own belief in what you're building, but also for the outcomes for your customers.

Act 4 - What You Can Do Tomorrow

What can you do tomorrow? Pick your biggest SDLC headache. What is your team getting stuck on over and over again? Where's the pain point in your SDLC today? Can you use AI to improve that? What will it look like? Get in a room with a couple people and brainstorm. What could you build to improve that? Have the metrics conversation now with your leadership team. Make sure that they understand that we will get to speed if you start with quality. Let's talk about quality and let's make sure that our customers and our brand stays intact as we go through this process. Start to understand where context lives in your organization. What's at that organizational level? What is at the team level? What is at the individual level? Think about how you're going to gather that context and make sure it is available to humans and to agents, moving forward.

Then, for the individual level, see if you can lower the barrier to experimentation. A lot of the greatest ideas that we've been putting into our AI factory and into production came from individual innovation across our teams. Lowering that barrier will just enable your organization to move faster and see better outcomes faster. At all layers, think about how humans are on the loop or in the loop and how you're going to put those evaluation harnesses in place so that you know you are staying at the quality level that you need as you move forward.

Key Takeaways and Learnings

I'll wrap this up by saying AI first is our mandate, but quality is the answer. Start with quality and build what you thought was never possible with AI from that lens. Try to keep that quality and validation always as far left on the maturity model as you can, because that's the one that is going to make sure that you don't lose any sort of capability for your customers and for yourselves. AI will only get better as we move through time. What isn't quite possible today will be possible tomorrow. I encourage you all to lean in, experiment with it, try to see what you can accomplish with it, and tomorrow it'll be different.

Questions and Answers

Participant 1: Do you have thoughts on what make good metrics at a smaller level of feedback loop? You mentioned individual experiments rising to the top as they spread throughout the community. Do you have thoughts on how to distinguish those, how to measure those? What can inform individuals and small groups as they try new things internally?

Catherine Weeks: One, we're creating a skills marketplace, certainly, and a lot of what we're building across the organization are skills that are shared across teams. We can see adoption levels, and so that's one way to see which ones are surfacing as best just through adoption metrics. We can also look at it from the perspective of which things are solving organizational problems that we know we have, in the best ways. As an architect, our organization is organized in that we have multiple engineering leaders, we have an architecture team as well, and everything's scaled from bottom to top so that we can make decisions down at the team level or bubble it up to the organizational level. We're moving so fast right now that some of this ends up being word of mouth where things are happening at that team level. We see the impact. We see that that could be useful at the next layer up.

We start adopting at the next layer up, and then we start adopting at the next layer up from there. That word of mouth of something new working better than what we've seen before drives adoption often at this point. We're changing things literally day by day in our organization. One of the other things that we've created that I think has been incredibly useful for understanding success in adoption is we did build an organizational dashboard where we're looking at our AI adoption across the SDLC, but we're also looking at other metrics about Jira and GitHub and building software and metrics that we've always been looking at as an organization, but maybe didn't look at those metrics as effectively as an organization because they were hard to coalesce. With the use of AI and tool calling, a lot of these things are much easier to go grab those metrics and surface them in the way that our organization wants to see them. That shared dashboard also allows us to really see what's happening and where we're having success in adoption and growth.

Participant 2: I'm in a similar role to you. I'm curious about where your scope begins and ends. What is your responsibility and what becomes not your responsibility?

Catherine Weeks: For me personally?

Participant 2: Yes.

Catherine Weeks: As the engineering director for agents and AI tooling, I have direct responsibility over an organization of about 70 people. They work on building all parts of an Agent Ops loop in our AI platform. We have other engineering directors that are responsible for different parts of the system, like AI inferencing, AI platform and more. I'm responsible for my team specifically, but I'm also part of a leadership team with my peers that is working on how do we as Red Hat AI overall drive agentic adoption throughout our engineering organization. That's where this focus came from and that's the 600-plus people across our organization that is adopting AI into their workflows. We're working as a team to understand how to build towards that and what exactly we need to adopt and change over time. We try to break that up a little bit as we go because that's a pretty big remit.

Right now, for instance, I'm focusing on the execution part. We have somebody focused on planning. We have somebody focused on execution. We have somebody focused on release. I took on execution part. I'm thinking about, how do we make sure that what we commit to is what we deliver, and that we deliver it with high quality. I'm working with a variety of different teams on what that looks like and how we do that both through humans and through agents.

Participant 3: In our organization, we're doing something very similar to what you described. We are actually leaning in on standards that have fallen out of favor to some extent over the years, like business process modeling, model-driven architecture. We're also hearing from this conference the reemergence of standards like RDF, to put together great context. That foundation of standards seems to be coming back to enable these things. I was just curious if you're seeing the same effect of these OMG standards with high semantic meaning in your organization as you adopt.

Catherine Weeks: Are we seeing the emergence of standards for the use of AI for software development, or are you looking for standards in like AI technologies?

Participant 3: It seems that what's happening is we either look at brand-new things that people are putting together saying here's a new standard, or we look back in time to standards that have been around for like 20, 15 years, like BDD for acceptance criteria or business process modeling to figure out what workflows look like, that have such an enormous amount of context already as a foundation to how we standardize and accelerate adoption. I know in my organization we're trying the latter, and it's yielding tremendous results. I'm just wondering if in your organization you're seeing something similar, or we're adopting like just brand-new stuff.

Catherine Weeks: We are not adopting random standards. We are looking at standards emerging. Earlier this year, for instance, I think Spec Kit was a heavily used standard that was emerging for software development using AI. We definitely spent some time thinking about that, investing in it, and we're still using parts of that in what we build out today. I would say overall like using AI and agents doesn't change the fact that we're still building software. I think we can use the standards that are already out there in the industry and build on top of them, just thinking about how we evolve them with AI in mind. I don't think we need to recreate the wheel here.

Participant 4: I have a question about the RFE process that you showed, SDLC, you have a split step. How do you decide when to split, when the RFE is too big? I'm asking because when I work on my orchestrator, I came across two steps that I had to split into smaller ones. What was your decision point?

Catherine Weeks: How do we make the decision about when to do the splitting of RFEs? We built the RFE builder so that it is defined against a whole set of criteria. That criteria are things like, do you have enough customer input for why this is needed? Do you have enough definition of requirements for what you are actually looking to have produced out of this in your acceptance criteria? Out of the definition of what you want to build in the acceptance criteria, we were able to look at those and understand if it felt larger than a bread box size, based on analysis of many other RFEs that we did end up splitting. We were basically able to train it on a whole bunch of other RFEs that we ended up splitting. Then say, in these cases, you should split it. That's how we did the splitting.

Participant 4: That was a model trained based on the historical data?

Catherine Weeks: We did not do complete model retraining, but we had the skill go evaluate others that were split. We had a set list that you can bring in and look at as an example.

See more presentations with transcripts

來源:InfoQ · infoq.com