Episode Summary
Software complexity is changing. Tasks that once required specialized machine learning teams, large budgets, and months of development can now sometimes be handled with generative AI, an API, and a relatively small amount of code. But that does not mean every software problem has become simple, or that every AI-powered feature should be treated the same way.
In this episode, Greg Ross-Munro and Justin Davis introduce five levels of software complexity: digital filing cabinets, workflow automation, business logic, interpretive systems, and judgment or adaptive systems. They examine how AI has reshaped each level, especially interpretive systems that work with messy human inputs such as language, images, and unstructured data. They also explain why technical difficulty and business risk need to be evaluated separately, why “easy to build, high risk if wrong” may be the most dangerous category, and how leaders can decide whether AI should decide, suggest, draft, or simply summarize.
Transcript
Greg Ross-Munro: I am so beat up. I’m so out of shape, and I haven’t gone to the gym. I haven’t really trained hard in probably five weeks with holidays and illnesses and travel and stuff.
And in the last week, I have done two jiu-jitsu classes and two judo classes. And, you know, I’m getting close to 50, man. If you just looked at the bruises that are on me, you would think I’m having problems at home.
Justin: That’s why I play golf. It’s a non-impact sport.
Greg: I think golf would be more fun if it was a contact sport.
Justin: Well, I mean, defensive golf. That’s the thing. If you play defense.
You know, the thing they say about golf is that golf is the only sport where the ball is stationary when you hit it. Aside from maybe T-ball.
I think it would actually be quite interesting if there was defensive golf.
Greg: Anyway. Today, Justin, I wanted to talk about complexity. Especially complexity in software, what is hard to build, what’s easy to build, and maybe how AI has changed some of those things.
Justin: Yeah, and it certainly has. For sure.
Greg: I mean, it’s changed some of the ways that we vibe code stuff on the weekend, and it’s changed some of the stuff that developers we work with have been building in terms of speed. But that doesn’t really take into account complexity, right? Would you agree?
Justin: Yes. I would say that speed and complexity, inside the context of software development, have a relationship to one another wherein the more complex the system is, the slower it is to build because there’s a lot of stuff to think about and a lot of stuff to do.
But I do think that, in a lot of instances, what AI has done is take things that were either a level of complexity that was overwhelming to overcome, or high-complexity jobs, and reduce them by a factor of however many. In some cases ten, in some cases two.
It’s made the complexity easier to deal with, or at least faster to deal with. The relationship is not as severe between them, I guess.
Greg: Have you ever heard of the Cynefin framework?
Justin: The… Can-never? No, I have not.
Greg: It’s spelled C-Y-N-E-F-I-N, I think.
Justin: Wow. That is not how I would have expected that to be spelled.
Greg: The Cynefin framework is kind of this idea about complexity versus complicatedness.
If something is complex, you need to learn about it. You need to have a deeper understanding of it, have a sense of how it goes, and know how to respond to it.
Whereas complicated is an analytical thing. And then the Cynefin framework also has this idea that there are things that are chaotic as well.
Complex is unknown and emergent. Complicated is knowable. You can work out a complicated structure. A chaotic structure is unknowable, or the order doesn’t matter. And then if something’s clear, it’s known. It’s already known.
So those are complex, complicated, chaotic, and known.
Justin: That’s really interesting. You can see that as a quadrant, right?
Greg: It is. There are lots of diagrams that we can post.
But I think we have a version of that, which is levels one through five of complexity in software development. I can run through it, or you can run through it if you want.
Justin: Yeah, absolutely.
So, five different levels of complexity. We’ll start with the most basic, which is what we might call a digital filing cabinet. Complexity level one.
We often refer to these as CRUD apps: create, read, update, delete. It means it’s storing stuff and letting you retrieve it. Maybe you can search it, you can organize it.
You could think of document libraries, a place where you have notes, photo libraries…
Greg: Client portals. They’re all that kind of thing.
Justin: Yeah, exactly. Basic stuff. Pretty easy to build. We’ll talk about these in detail in just a minute.
The second level is what we call workflow automation.
Now we’re moving work through predictable steps. You have rules. You have forms. I built something like this called CrowdSync years ago, where you’re putting people through various things and they have to get this, and then they go to this step, or whatever.
Maybe you have approvals, reminders, alerts, that kind of thing.
So instead of just storing and retrieving, there’s a lifecycle to a thing. An asset is moving through a pipe, as it were, and there are some events happening.
It’s a little bit more complex because there’s movement. You’re tracking things through a system. You’re tracking state, managing state, all of that.
Greg: And it will probably also include everything in level one as well.
Justin: Right. It probably also includes everything in level one. That’s very true.
Greg: Probably everything we’re going to talk about includes level one as a baseline, to be honest.
Justin: Yeah. That’s kind of the most basic thing you get out of the box. In fact, most frameworks that you use to build things today, you almost get the filing cabinet out of the box.
Level three is a little bit more than workflow automation. It’s similar to workflow automation, but here we’re getting into business logic.
Now, instead of simply moving people or work through steps, we’re talking about more complex rule sets.
This might be enforcing pricing sheets that you have, contract terms that you have, or some kind of business logic that is really specific and that you have to write rules around.
That’s getting a little more complex because now this stuff starts to touch and reverberate on the core of the business logic outside of the technology.
And these things have to be validated more strongly. They have bigger impacts if they go wrong.
Greg: This is also where a lot of the secret sauce of a business can come in. Not the expertise necessarily, but the procedural secret sauce.
If you’ve got a quoting tool that is proprietary to you and it’s in some giant spreadsheet, or a thing that we recently worked on, which is a physician compensation analysis tool, all those formulas and all those things matter.
If the person has had this much experience, and they also have managerial roles, and they perform X number of procedures per year, these can be extremely complicated things.
But if you can automate them, then you can take your business to the next level.
Justin: Yep.
The next piece, and I want to be clear here as we go through these, is that it’s not that every piece of software lands at one particular level.
It’s almost like these various components of software, which can live together in one piece of software, add this amount of complexity to the overall product or to that part of the product.
So the fourth level above that business logic is really a different type of system than what we’ve talked about before, which is an interpretive type of system.
Everything else we talked about before has rules and has logic. Now, the logic might be complex, and it might be hard to structure in an encoded way, to get it out of your head and encode it into rules.
But interpretive systems are really about understanding messy human input and things that are not as easy to deal with.
That’s summarizing messages, recognizing photos or video, interpreting something in data, or interpreting data where we’re not just running algorithms on a set of data.
We’re doing some kind of machine learning or some other interpretation of data.
These are quite complex because they’re harder to test, harder to understand, and harder to dial in.
They’re non-deterministic in a lot of ways, which increases complexity a lot, especially in terms of validation.
Greg: What do you mean by non-deterministic?
Justin: By non-deterministic, what I mean is you can’t count on the same result every time.
It won’t necessarily follow the same path of “if this, do that; if this, do that; if that, do that,” where you can follow the chain.
Non-deterministic means when you throw something at it, most of the time it might come back the way you want it to, but there’s a chance that it might not.
You can’t determine what the outcome is going to be in a reliable way.
Greg: So that’s level four of complexity. What’s level five? Where does it get really sticky?
Justin: Where it gets really, really sticky is where we have systems that are actually making judgments and enforcing judgments on another person.
That has impacts.
This is where we’re doing things like FICO scores, risk scoring, negotiation assistance, or you have a legal assistant that is working to mine facts for you.
These are complex because of the high degree of trust required in these scenarios, and the high degree of work that it takes to get these things to operate in a trustworthy way over time, at scale.
That’s one of the things that makes these level-five systems particularly complex.
Greg: And those can also be adaptive. They might change based on various inputs as well, and that can be kind of fuzzy.
Justin: Yeah.
And then, if you think about this, you can really look at software design through a systems design mentality. And you should.
You can see where things start to get very weird when you have adaptive systems that are paired with interpretive systems.
Now an adaptive system is changing the input to an interpretive system that is non-deterministic by nature.
So you have this feedback loop inside the software that amplifies a level of complexity.
And you can actually end up with that situation accidentally if you don’t design for it.
Greg: Yes.
I would say all of these are still tricky. AI has increased our ability to move faster.
Digital filing cabinets, the framework stuff comes kind of out of the box. We have our own tools that we use to do that stuff quickly these days.
The workflow automation stuff has gotten a little easier. There are lots of tools out there and frameworks to do that.
But that’s still a systems design problem.
The business logic stuff is still much more where traditional software development is, I think. You need people who understand the systems, subject matter experts, project managers who are doing the right thing, and good testing.
They’re deterministic generally. You put this number in this side, and you should expect to be able to get it out this side. So you need lots of tests.
But the interpretive system, this number-four level of complexity, is the one I want to talk about because of how much easier that has become with generative AI.
You’ve probably got ten stories like this, but there’s one that jumps to mind.
About five years ago, this guy came to me. He was an attorney. He was a divorce attorney, and he specialized in really gnarly divorces.
These are divorces that are so contentious that the couple don’t even want to speak to each other. They cannot be in the same room without some members of the legal institutions around them because they’re going to kill each other or whatever.
And these are particularly gnarly when they’ve got kids involved. Not a great situation.
Generally, they have to have all their communication managed through a court-ordered piece of software so everything can be logged. If you say the wrong thing, that’s going to end you back up in a hearing.
And apparently the software that’s out there sucks. That stuff is garbage.
So this guy came to me and said, “Hey, I want to rewrite it all.”
I’m like, “Okay, so what does it do?”
We sat down, and he said, “We want to be able to put in the users, put in their court documentation, put in their court dates, calendars, stuff like that.”
I’m like, “Cool. That’s level one. That’s your CRUD control stuff. Awesome.”
He said, “Okay, I want a chat system. The chat is only on at certain times of day because you can’t be throwing a million things at your ex all day long. I want it to be controlled. It should have certain language controls in the chat system.”
“There needs to be a calendar that can be shared with both people. We need to take little Timmy to soccer on Saturday. It’s your weekend, so it definitely needs to be in your calendar.”
So that’s maybe some level-two stuff. There’s a little bit of workflow management there. Great. No problem.
I said, “Yeah, sure. Great. This is easy to do.”
And then he said, “What I would really like to do, the thing that would make this better than anything else on the market, is I want the system to be able to listen in.”
“If Timmy’s got piano lessons every Tuesday and you talk about who’s picking him up every Tuesday, I want the system to recognize that pattern.”
“I want it to automatically say, ‘Hey, I’ve recognized a pattern. It seems like every two weeks it’s your turn to take Timmy to piano. Do you want me to put that in the calendar automatically?’”
At that point, I stopped the conversation.
I said, “You know what? Everything you’ve talked about is super easy to do. No problem. I can do that for you.”
“But what you’re asking for now, I need a million dollars and five researchers with PhDs to do this natural language processing and pattern recognition.”
Would you agree that five years ago that was a gnarly problem?
Justin: A hundred percent.
Greg: Today, if I asked you how to do that, would you say this was difficult?
Justin: Did your Poopin’ Papers this week recognize your judo?
Greg: I did not have time this weekend for Poopin’ Papers.
Poopin’ Papers, by the way, is Justin’s side project, hobby project, which prints out a custom AI-generated newsletter for your family to stick in the bathroom so people will read it.
Just a little bit of context there before you start randomly talking about Poopin’ Papers.
We are not sponsored by Poopin’ Papers here.
Maybe we are. I don’t know.
Carry on.
Justin: We could be.
But I built this exact feature in exactly the same way that you said to do it, and I did it from my phone using Claude.
It’s now very easy.
A few years ago, this was a million dollars and an extremely hard problem that may or may not have been solvable in any kind of reliable way.
And now it’s a prompt. It’s like eight to ten lines of code, minus the prompt.
It’s insane. It’s a completely different world.
Greg: Yeah, because the large language model’s doing the work for you.
That’s what they’re really good at.
This number-four level of complexity, the interpretive systems, has completely changed.
Five years ago, that was a million-dollar problem. Today, it is an easy thing to handle.
Justin: Another example of this, and I think it’s such a great example, is photo recognition.
If you had said, “Can you build an app to recognize types of birds?” you would have been like, “I need so many millions of dollars and researchers and ML models.”
Greg: There’s no way.
Justin: And it’s almost to the point where there’s not a point in building an app like that. It’s better to just take a look at the bird with your eyes and see what kind of bird it is.
Now it is trivial to build that.
That is such an insane change in capability. It’s mind-boggling to those of us who’ve lived on both sides of this divide.
Greg: Yeah.
I would say the one thing that changes the dynamic of this, regardless of how easy it is, is the level of risk associated with those interpretive systems.
That has to drastically influence your design.
If it’s recognizing birds for hobbyists in an app, who cares if the error rate is ten percent?
I don’t know anything about birds, but if it looks at a thing and you’re like, “That’s a pelican,” and you scan the thing and it says it’s a penguin, you’re like, “Dumb bot. Whatever.”
It’s fine. It’s not the end of the world.
Tell it that it made a mistake.
But if it’s making a diagnosis in an X-ray, or even setting something in the calendar automatically for when Timmy needs to be picked up from soccer, that’s a big problem.
If it makes a mistake, Timmy is sitting there waiting for his parents, not knowing who’s picking him up, and y’all are probably heading back to another hearing.
Justin: Right.
Or if your bird thing is being used to build some kind of defense system for airports that helps detect certain types of birds likely to get in the way of aircraft.
Greg: You are really stuck on this bird thing, aren’t you? You’re a bird person? I didn’t know that.
Justin: You know birds aren’t real, right?
Greg: If you don’t know what he’s talking about, check out the subreddit Birds Aren’t Real.
Justin: Or Birds Aren’t Real’s website. Also not a sponsor of this show or affiliated in any way.
Greg: Is there really a Birds Aren’t Real website?
Justin: You can get shirts, posters. Yeah, it’s great. Good stuff.
Greg: All right, please continue.
Justin: Anyway, if you’re doing that, you probably don’t want to hand it off to an LLM and say it’s okay if it gets it wrong ten percent of the time.
Your example with the kid is exactly the same.
That is the important thing. When you’re using AI inside your software to do some of the heavy lifting, in some areas it’s obviously a phenomenal asset and an amazing capability.
But you have to ask the question: What happens if it goes wrong?
What is the worst that could happen?
If the worst that could happen is you get a little embarrassed, you send out a note, and you say, “Sorry guys, it kind of goofed up. I’m sorry,” then okay.
You can recover from that.
It might be worth the risk because the reward side, if it goes well and it never messes up, which is also possible, may be really, really great.
But if it messes up and you get sued out of existence because you recommended the wrong treatment to a cancer patient, then maybe you should consider having a higher degree of rigor in the system.
Greg: I also was not listening to you at all because I was looking at this T-shirt over here. “Pigeons are liars.” I think that’s amazing.
Sorry. Go back to what you were talking about.
Justin: What I was saying was these pigeons…
No.
I was just saying that, using AI, you have to acknowledge the risk of what happens if it goes wrong and think about that with regard to the amount of rigor that you build into the system.
Building rigor into the system is a complex and difficult thing to do.
Building the system itself is not necessarily as complex anymore. It can be, and in some places it should be, but it is getting less complex.
What is getting more complex is thinking about how to guard against non-deterministic behavior in these systems.
How do you insert humans in the loop? Insert verifications? Insert validation of some sort?
That is a non-trivial problem to solve, and it has very big consequences if it goes wrong in certain contexts.
Greg: For sure.
There’s a risk matrix that you can think about in terms of how complicated something is and how important it is to get right.
On one axis, you’ve got something that’s easy to build or hard to build.
Across the top, you’ve got low risk if wrong and high risk if wrong.
If you understand where something falls, that’s going to alter your budget. It’s going to alter your thinking in terms of what you do and the kinds of controls that you put in place.
Something that’s easy to build and low risk if it’s wrong is a marketing content generator, for example.
Depending on what you’re marketing, I guess.
But if you’re just trying to churn out blog posts or social media posts and you see that the AI spat out something that was wrong, you delete it or rewrite it by hand.
It’s not the end of the world.
Something that’s easy to build but high risk if it’s wrong is a legal form generator that doesn’t have a review system.
Justin: Right.
Greg: You could build that. No problem. It’s easy to build.
The risk if it goes wrong is very high.
Because it’s easy to build, it should probably also be easy to build human-in-the-loop stuff around it.
And by human in the loop, I mean there’s a review process, or you have three other agents double-check it, or something like that.
Whereas hard to build but low risk if wrong might be something like a personalized tour planner.
That can be hard because you’ve got to integrate with other systems.
You have to work out what this person has booked already, where their flights are, what the weather’s going to be like in each city.
There are lots and lots of variables.
But if it’s wrong, a human being is going to look and be like, “Well, I know it’s raining. I don’t want to go on a hike in the rain that day.”
It’s not the end of the world.
But something that’s hard to build, requires lots of information and lots of context, and is also high risk if wrong is something like a medical triage system.
Or, back to the divorce thing, if we added custody recommendations back to the judge.
That’s really difficult to build, and you’ve got incredibly high risk if it goes wrong.
If you think about things in terms of easy to build, hard to build, low risk, and high risk in that matrix, that should definitely tell you that if you’re in any of the high-risk categories, you need to have tons of controls built in.
Human in the loop. Adversarial agents looking at it. Testing.
There are all sorts of cool tools these days where, even though things are non-deterministic, you can still have test cases that say, “If you put in something like this, I expect something like this to be the outcome.”
These new tools for testing AI answers can actually give you a score as to how close the answer was to what you anticipated.
One of the reasons these are really important is there’s something called model drift, which is a little weird and strange, and I’m not even sure everyone understands why it happens.
Do you want to give a shot at explaining model drift?
Justin: When you say model drift, do you mean version over version in terms of models drifting?
Greg: Version over version, and also just within a version over time.
Justin: Yeah. The models can drift from how they work because of a lot of different things.
Again, it’s almost like non-determinism to the non-determinism. It’s this meta non-determinism.
Because of how models work from an infrastructure standpoint, in terms of GPU utilization, routing of power, routing of resources, weighting over time.
They’re not necessarily retraining and relearning over time, but because of how they’re powered, think about your brain.
Sometimes during the day it’s easier for you to use part of your brain and be more creative, and sometimes the power is diverted to another area where you’re not as sharp.
The same type of phenomenon can happen.
And there are lots of different reasons for this. I’m giving one example with power and GPU utilization.
Greg: Models do not work as well on Friday afternoons.
Justin: Yeah. There’s also a training tendency.
Greg: That’s insane. That’s crazy. That ChatGPT will not work as well on Friday afternoon as it does on Monday morning. That blows my mind.
Justin: Yeah. It’s kind of bonkers.
One thing I did want to mention about this matrix, the high risk, low risk, easy to build, hard to build, is that one of these categories, speaking kind of at a meta level, has the highest level of risk of these four.
I actually think the one that has the highest level of risk is where it is easy to build but high risk if it goes wrong.
The reason for that is because, typically, if it’s hard to build and high risk, you’ve generally acknowledged that at the organizational level at some point.
There are some controls in place, and you’re going to go through a slower process by design.
But when something’s easy to build, you’re like, “I can rip off this thing that’s a legal form generator, and it looks really close, and it’s very fast.”
It’s very tempting to do.
You can start to lay these little mines that, without oversight, could be deteriorating a lot of trust in the organization.
Greg: Yeah, I agree. That’s a good pitfall to watch out for.
I’d say, if you’re listening to this and you’re thinking of building something, there are five questions you should ask yourself before we wrap up.
Number one: Is the process already well defined?
Is the data that you have structured, or is it messy?
Does the system need to be exactly right? How deterministic does it need to be?
What happens if something goes wrong?
And then, should AI decide what to do? Should it suggest something to do? Should it draft a response and mainly call it a draft? Or should it just be a simple summary?
I think that last question about what the AI should be doing is probably the most commercially useful and the thing that you’ve got to watch out for the most.
You have to look at the risk, the reward, and how easy it is to build.
Justin: Yep.
And I would say, with that last one, should AI decide, suggest, draft, or summarize, the question that you also should ask when you say it should do one of those things is: And then what?
Okay, so it’s going to summarize it. And then what happens?
Does somebody look at that?
It’s going to draft something. So who edits it?
Think through how that plays out in the system.
Greg: Well, hopefully Sara takes the transcript of this and produces a nice AI summary for the website. Low risk.
Justin: Yes, indeed. It’s low risk.
If she gets it wrong, you’re going to listen to it, you’re going to find out it’s not correct, and it won’t matter.
And if you don’t listen to it, then it kind of doesn’t matter anyway.
I mean, yes, maybe it matters a little bit for our own egos, but it’s fairly low risk.
Greg: All right, Mr. Davis. Well, thank you very much.
Justin: We’ll see you later, y’all.
Greg: Take care. Cheers.
