From Building to Operating
Part six of my Agentic AI series: An agentic mortgage underwriting system, guardrails, red teaming and knowing when not to use an agent.

Marvette Johnson
9
min read
Stay curious. I believe curiosity is the beginning of every meaningful breakthrough. — Marvette Johnson
When we last met, I had spent weeks learning how AI agents could work together, learn from experience, interact with the world, and even work alongside humans.
I had gone from wondering what made an AI system agentic to actually building one.
And now I was about to confront a very different question: what happens when the thing you've built has to work in the real world?
Up to this point, much of my learning had happened in the lab. I could experiment. I could test an idea. If something broke, I could figure out why, make a change, and try again.
But real-world systems don't get that luxury.
They have to be reliable. They have to be monitored. They have to handle failure. They have to protect sensitive information. They have to operate within defined boundaries. And, in some situations, a human needs to be able to step in.
In other words:

That was the focus of the final weeks of the program. The fourth and final course, Advanced Agentic AI, closed with our third and final graded project in Week 15, followed by Pre-Deployment and Operationalization of Agentic Systems in Week 16.
And for that final project, we were going to put that idea to the test by building an agentic AI mortgage underwriting system.
Oh, boy. Here we go again.
The final project: now build something that matters
This wasn't another exercise where I could simply build something, run it, and see what happened.
Mortgage underwriting is a consequential business process. Decisions have financial implications, sensitive information is involved, and the process operates within established policies and regulatory requirements.
Suddenly, "Does it work?" didn't feel like a sufficient question.
The system we were building needed to do more than produce an answer. It needed to produce a recommendation that could be examined, challenged, and ultimately reviewed by a human decision maker.
The system used multiple specialized agents to break the underwriting process into distinct areas of analysis: credit, income, assets, collateral, quality assurance, and final decision-making. LangGraph orchestrated the agents and maintained the shared workflow state, creating a structured process that could be followed and audited.

This was starting to feel less like building an AI tool and more like designing a business system.
It can't just work
I was beginning to understand that making an AI system reliable wasn't necessarily about making the language model do more.
It was about designing the system so the language model didn't have to do everything itself.
In our underwriting system, the specialist agents could retrieve relevant underwriting policies through RAG, use deterministic tools for calculations, and share information through the workflow's common state.
The more I thought about it, the more I realized that reliability was coming from the architecture around the AI, not simply from the AI itself.
And then we tested it.
The system didn't simply produce the same kind of answer every time. Across our test cases, it generated recommendations ranging from approval to conditional approval to denial, with supporting analysis for each. More importantly, the recommendations were reviewed by a human before the final decision was made.
It was beginning to look less like a chatbot answering questions and more like a system participating in a structured decision-making process.
I was also learning that reliability wasn't just about whether the system produced a reasonable recommendation.
It was about whether I could understand why it produced that recommendation, trace what happened along the way, protect the information it was handling, and demonstrate that the process was operating within the appropriate policies and constraints.
Explainability, auditability, privacy, and compliance weren't things to bolt on at the end. They had to be part of the design from the beginning.
The guardrails matter
If reliability comes from the architecture around the AI, what keeps that architecture from doing the wrong thing?
The more I learned, the more I realized that building a reliable system wasn't just about giving the agents the right tools and information.
It was also about deciding what they should, and shouldn't, be allowed to do.
That meant thinking about guardrails before the system ever reached production.
In Week 16, we explored a seven-stage pre-deployment pipeline that moved from identifying the problem and its risks, through specifications and contracts, the orchestration decision, data and tooling, evaluation and safety, and governance, to launch and rollback.

I was beginning to see that responsible AI wasn't a final checkpoint.
It was part of the architecture.
That became especially clear in our underwriting system.
We weren't going to let a language model simply calculate financial ratios, interpret lending policies, and make an unchecked lending decision.
Instead, we built the system with specific controls around the agents. Deterministic tools handled calculations, while RAG provided access to relevant underwriting policies. The system also incorporated privacy and bias considerations, and human oversight remained part of the decision-making process.
The AI could make a recommendation. The human still had to make the decision.
That distinction mattered to me.
The system wasn't being designed to eliminate human judgment. It was being designed to give the human decision maker a structured analysis to review.
In our test cases, the reviewer examined the AI-generated underwriting analysis and then approved, conditionally approved, or denied the application based on the evidence presented.
That was a very different way of thinking about automation.
The goal wasn't simply to ask, "What can we automate?"
It was to ask, "What should the system handle, and where should a human remain in the loop?"
Because even with guardrails in place, there was another uncomfortable question: what happens when things still go wrong?
What happens when things go wrong?
Up to this point, my instinct had been to make the system work.
Now I was learning that part of building a production-ready system meant doing something that felt almost counterintuitive: try to break it.
In other words, we weren't just testing whether the system worked under expected conditions. We were testing how it behaved when things didn't go according to plan.
That meant thinking about what could fail, how we would know it had failed, and what the system should do next.
We explored red teaming and chaos engineering: deliberately challenging the system and its workflows to uncover weaknesses and test how resilient they could be.
I found that idea fascinating.
You don't really know how resilient a system is until you put it under pressure.
But finding a problem is only useful if you can see that the problem is happening.
That brought me to another concept I hadn't thought much about before: observability.
In a production environment, it isn't enough to test a system once and declare it ready. Agentic systems need to be evaluated continuously to make sure they continue to behave as expected over time.
The evaluation doesn't stop when the system goes live.
That was another shift in my thinking.
I had been accustomed to thinking about testing as something that happened before launch: build it, test it, fix it, and then move on.
But with an agentic system, the environment can change. The system can encounter situations I didn't anticipate. Its performance can change over time.
Production wasn't the end of the testing process. It was the beginning of an ongoing evaluation cycle.
That also changed how I thought about resilience.
A resilient system isn't simply one that works when everything goes according to plan. It's one that can withstand unexpected conditions without becoming completely brittle.
We explored this idea through resilience against brittleness and continuous evaluation.
I was beginning to understand that reliability wasn't a destination. It was something you had to keep engineering for.
And sometimes, the right response to a problem isn't to keep pushing forward.
Sometimes, you need a way to stop, step back, and recover.
That's where rollback came into the picture. The pre-deployment pipeline included planning for launch and rollback.
That idea stayed with me because it represented something I hadn't fully appreciated earlier in the program: responsible deployment means planning not only for success, but for failure.
And that raised an even more fundamental question: just because we can build an agentic system, does that mean we should?
Knowing when not to use an agent
That question stayed with me.
After spending weeks learning how to build increasingly sophisticated AI systems, I could easily have come away thinking that the goal was to find more things for agents to do.
Instead, one of the final lessons of the program was almost the opposite.
Sometimes, the right answer is not to use an agent at all.
That required a different kind of judgment.
Just because an agent can perform a task doesn't mean an agent is necessarily the right solution for it.
The more I thought about it, the more I realized that this was part of what responsible AI meant.
It wasn't about using AI everywhere. It was about knowing when AI, and specifically agentic AI, was appropriate for the problem.
That felt like an important distinction.
I had started this program wanting to understand what was possible. By the end, I was learning that understanding what should be built was just as important as knowing what could be built.
From building to operating
When I started this program, I thought building an AI system meant getting the pieces to work together. And, to some extent, it does.
But by the end of the program, my definition of building had changed.
Building wasn't just about the model, the tools, the agents, or the workflow.
It was about everything that had to surround those pieces to make the system reliable enough to operate in the real world.
It also meant recognizing that deployment wasn't the finish line. It was the beginning of another phase of work.
The system had to be monitored. Evaluated. Maintained. Improved. And sometimes, the right decision might be to step back, or to decide that an agent wasn't the right solution in the first place.
I had started the program wanting to understand what was under the hood.
By the end, I had learned that understanding the machine was only part of the job.
You also have to understand the environment it will operate in, the boundaries it needs, the people it affects, and what happens when things don't go according to plan.
That was the difference between building an agent and building something that could actually operate.
The last lesson
The final weeks of the program changed the question I was asking.

That felt like the right place to end the technical part of the journey.
Because the next question wasn't really technical anymore. It was: what was I going to do with everything I'd learned?
Up next in this series: From Learning to Leading.
Becoming Agentic · The series
Marvette Johnson
Marvette is a learning and development leader and Director of Instructional Design who has spent her career helping others build new skills. In 2026 she stepped away from her corporate role to invest in her own learning, starting with Johns Hopkins' Certificate Program in Agentic AI. Becoming Agentic is her account of that journey.



