Episode 005: Your AI Agents Are Writing Code… But Who's Running the Show? Every developer has an AI coding assistant. Every company wants autonomous agents. But what happens when your requirements, designs, APIs, and code are all telling different stories? In Episode 5 of Geeks Do Byte, Rayen explores why giving everyone AI tools doesn't automatically make development teams more productive - and how poorly coordinated AI workflows can actually make existing engineering problems worse. Then we get into the solution: building a proper agentic software development pipeline, connecting everything from product discovery and Figma designs to API contracts, coding agents, automated testing, and production deployments. We're talking about practical workflows that development teams of any size can use, without turning software engineering into an endless series of approval meetings. In this episode: Why disconnected AI agents create confusion How requirements, design, and implementation drift apart Mapping existing code before generating new requirements Building shared API contracts for parallel development Using specialized AI agents throughout the development lifecycle Connecting requirements to tickets, pull requests, and tests Human approvals, automated verification, and safe deployments Building an agentic pipeline that improves with every release The big question: Are your AI agents actually working together, or have you just automated your team's existing chaos?🎙️ Geeks Do Byte - Real code. Real conversations. A little tech chaos.#GeeksDoByte #AIAgents #AgenticAI #SoftwareEngineering #AICoding #DevOps #ClaudeAI #ChatGPT #SoftwareArchitecture #TechPodcast
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Speaker 1Welcome back to Geeks Do Byte. I'm your host, Ryan. I'm a software developer, and today we're talking about something that's been on my mind as AI becomes a bigger part of software development. Everybody wants AI agents. Every developer wants an AI coding assistant. Every company wants to automate its workflows. And apparently, if you put the word agentic in front of absolutely anything, it immediately becomes worth another $ 300 a month. But I've got a question. What happens when you give an entire development team AI agents, and
Speaker 1none of those agents are working from the same information? Because I think that's where we're heading. We've got developers using Claude, other developers using ChatGPT, somebody's running Cursor, somebody else has an autonomous coding agent making changes across an entire repository, and management is sitting there thinking, look at all this innovation! We're going to ship software 10 times faster! Except there's one little problem. The product requirements say one thing. The design says something slightly different. The API implements something else.
Speaker 1And the front-end developer is working from a screenshot somebody sent in Slack three weeks ago. And now we've got four different AI agents confidently building four different interpretations of the same feature. Congratulations! We've automated miscommunication! And that's what I want to talk about today. Not just how to use AI to write code. We've covered plenty of that on this podcast. I want to talk about something bigger. How do we build a proper agentic development workflow? One that takes an idea from product design, through architecture, through implementation,
Speaker 1through testing, and eventually into production. Without turning the entire engineering department into a collection of disconnected AI chat sessions. Let's start with the problem. In a traditional software team, information gets scattered everywhere. Requirements live in a document. Designs live in Figma. Tickets live in Jira or Linear. Code lives in GitHub. API documentation lives somewhere else. And important decisions? Oh, those live in the sacred company knowledge base, also known
Speaker 1as a random Slack conversation that nobody can find anymore. Now imagine dropping AI into that environment. The product manager asks an AI to write requirements. The designer uses another AI to help build screens. The engineering lead asks an AI to generate implementation tickets. And developers use their own coding agents to start building. Everybody's moving faster. But here's the thing. They're accelerating their own individual workflow, not necessarily the workflow of the entire team. And those are very
Speaker 1different things. You can have the fastest coding agent in the world, but if it's building against outdated requirements, all you're doing is producing the wrong implementation faster. You can generate a beautiful interface in minutes, but if the backend doesn't support the data that interface needs, congratulations, you've got a very attractive problem. And you can generate an entire API from a design document, but if nobody checked how the existing system works, you might be recreating functionality that's already there. Or worse, breaking something that other applications depend on.
Speaker 1Because why reuse an existing endpoint when your AI can invent 17 new ones? That's called innovation. And here's something I think a lot of teams are missing. AI agents need context. Not just a prompt. Actual, reliable context. They need to know what the application does today. What the team is trying to change. Which requirements have been approved. Which interfaces already exist. which services depend on each other, and what rules they need to follow. Otherwise, they're making assumptions.
Speaker 1And AI is extremely good at making assumptions sound like facts. Here's a hypothetical example. Say you're building a new checkout experience. The product team writes the requirements. The design team creates the screens. The front-end developer starts building. And the back-end developer starts updating the API. Sounds reasonable. Except the front-end assumes payment gets authorized during checkouts. The backend assumes payment gets authorized earlier, and the requirements never clearly defined when authorization should happen. Now everybody's implementation looks correct from their
Speaker 1own perspective, but the complete system doesn't agree. So what happens? More meetings, more tickets, more revisions, more debugging, and more time spent trying to understand how everybody ended up building something different. Now add AI agents that can generate hundreds of lines of code in seconds. The misunderstanding didn't disappear. it just became a lot more expensive to unwind. And that's why I think the conversation needs to change. Instead of asking, how many AI agents can we give our developers?
Speaker 1We should be asking, how do we make sure those agents are building the same product? Because an agentic workflow isn't just a collection of AI tools. It's a coordinated system with defined inputs, defined outputs, clear responsibilities, and actual checks between each stage. Not just one giant prompt that says, Build the application, make it scalable, follow best practices, and don't break anything. If that worked reliably, we'd all be retired by now. So let's talk about what I'd actually build.
Speaker 1A development pipeline where AI helps at every stage, but nobody gets to skip the engineering discipline that makes software reliable. And it all starts before anyone writes a single line of code. Here's how I would approach building a proper agentic development pipeline. First, we need to stop treating every AI agent like it's an independent employee who can just figure everything out. Agents need responsibilities. They need boundaries. And they need to know what they're allowed to change. Because the last thing you want is an AI agent that's supposed to update a button, deciding your entire authentication architecture
Speaker 1needs to be rewritten. Thanks, buddy. I asked you to change the button color, not rebuild the company. So the first stage is product discovery. Before we touch design or code, we need to understand the actual problem. What are we building? Why are we building it? Who is it for? What does success look like? And what are we specifically not building? That last question is important, because scope creep is already a problem without AI. Give a language model a vague requirement,
Speaker 1and suddenly your simple dashboard needs machine learning, real-time analytics, and a blockchain integration. Because apparently every application needs to be enterprise ready before it has a single user. At this stage, I'd have an intake agent help turn product discussions into a structured brief. It can organize requirements, identify missing information, highlight assumptions, and suggest questions that need answers. But it shouldn't invent business decisions. If a requirement is unclear,
Speaker 1flag it. Don't quietly fill in the blanks. A product owner reviews and approves the brief. That's our first checkpoint. Now here's the step I think a lot of teams skip. Before writing new requirements against an existing application, understand the code that's already there. I would have a read-only code analysis agent inspect the relevant repositories, map out the existing components, identify API endpoints, understand database relationships, look at service dependencies,
Speaker 1check feature flags, and determine which functionality already exists. Because the documentation might describe how the system was supposed to work, but the code tells us what was actually implemented. And deployment information tells us what's running in an environment right now. Those aren't always the same thing. I want the agent to provide evidence, not just tell me The system already supports this feature. Show me where, which repository, which file, which function, which version. And if the agent can't verify something,
Speaker 1it should say so. That's a big deal because otherwise we're building new requirements on top of assumptions about old requirements. And that's how technical debt gets grandchildren. Once we understand the existing system, we can write a proper specification. This is where a requirements agent becomes useful. Take the approved brief, take the verified current state information, and produce testable acceptance criteria. Every criterion gets a unique identifier. Not because I love bureaucracy. Trust me, I don't. But because that identifier can follow
Speaker 1the feature through the entire development process. From requirements, to design, to API contracts, to implementation tickets, to automated tests, and eventually to release verification. That's traceability. And when something breaks, it's incredibly useful to know exactly which requirement a piece of code was supposed to satisfy. Next comes design. Now, I don't think we should give an AI agent unrestricted access to Figma and tell it to redesign the entire application. That's how you wake up to 14 different button styles
Speaker 1and a new design system nobody asked for. Instead, use AI to support the design process. Let it compare screens against approved requirements. Identify missing states. Check whether error handling is represented. Look for inconsistent flows. And flag design elements that don't map to an actual requirement. The designer still owns the experience. The product owner still decides whether the scope is correct. The AI handles the tedious comparison work. And once the design is approved, the next stage becomes
Speaker 1extremely important. API contracts. This might be one of the most valuable parts of the whole pipeline. Because if you've got front-end developers, back-end developers, and mobile developers working on the same feature, they shouldn't need to wait for each other to finish before they can start. But they do need to agree on how the systems communicate. That's where something like OpenAPI comes in. Define the endpoints, define the request bodies, define the response structures, define the error codes, define authentication requirements, and document the behavior everybody is expecting. Then,
Speaker 1generate a mock API from that contract. Now your front-end developers can build against the mock. Your mobile developers can build against the same mock. And your back-end developers can implement the real API. All at the same time. Look at that! Parallel development! Without six people sitting in a meeting arguing about whether a field should be called user ID or customer ID. And if the API contract needs to change? That change goes through review. You don't just
Speaker 1let one agent quietly update the response format while the other teams keep building against the old version. That's how integration problems happen. Once the design and interfaces are agreed upon, we move into planning. A planning agent can take the approved specification and break it into implementation tickets. Each ticket should identify the requirement it supports, the relevant API operations, the affected areas of the code base, dependencies on other tickets, and what tests should prove the work is complete. But again,
Speaker 1the agent drafts, the engineering team approves. Because agents don't always understand team capacity, delivery priorities, or all the reasons a particular implementation might be risky. Now we're ready for the part everybody gets excited about. Coding agents. And here's where the pipeline really starts paying off. Instead of giving a coding agent a vague paragraph and hoping for the best, we give it a properly scoped ticket, an approved specification, a defined interface, the relevant code context, and repository-specific development rules.
Speaker 1Now it has a much better chance of making the correct changes. I'd also keep agents isolated. Separate branches or work trees for separate tasks. One focused responsibility per agent. clear instructions about which files it can modify, and no unrestricted access to production. Because giving an autonomous coding agent production credentials and hoping it behaves is not a deployment strategy. It's a horror movie! Each agent implements its assigned work, runs the relevant tests, checks formatting and linting, and prepares
Speaker 1a pull request. The pull request links back to the ticket and acceptance criteria. and a human developer reviews it before merging. That's the important part. We're not removing developers from the process. We're letting AI handle implementation work while developers focus more attention on architecture, correctness, and integration. And because everybody is working from the same approved requirements and contracts, the different pieces have a much better chance of fitting together. Now we just need to make sure they actually work. So now we've got an agentic pipeline. We've turned an
Speaker 1idea into requirements. mapped the existing system, created a specification, connected the design, defined the API contracts, generated implementation tickets, and had coding agents build the changes. Everything looks great! The pull requests are ready, the automated tests are green. Which obviously means nothing could possibly go wrong. Because if you've been developing software for more than about 15 minutes, you already know what happens next. Something breaks. Something doesn't match.
Speaker 1Something works perfectly in development and immediately falls apart in staging. And somehow, the one bug nobody caught is the exact thing the customer clicks first. That's why the next part of the pipeline is verification. And I don't mean asking the same coding agent, hey, does your code look good? Because that's basically asking somebody to grade their own homework. And surprise, the agent thinks it did an excellent job. I'd separate implementation from verification. Have a dedicated verification agent
Speaker 1examine the completed work against the acceptance criteria, not against what the coding agent claims it built, against what the team actually approved. For every requirement, we should be able to answer a simple question. Where is the test that proves this works? For an API, that might mean contract tests and integration tests. For a web application, that might mean Playwright. For mobile applications, platform-specific automated testing. And for the complete product experience, end-to-end testing in a controlled environment.
Speaker 1The point isn't that every test must be generated by AI. The point is that the result needs independent verification. And I'd take that one step further. I'd have another agent compare the artifacts themselves, the specification, the design, the API contract, and the actual implementation. Does the design introduce functionality that wasn't approved? Does the API expose behavior that contradicts the requirements? Is there an acceptance criterion nobody implemented? Did somebody add
Speaker 1a new field that the clients don't understand? That's the kind of drift I want an agent looking for. Because those inconsistencies are often where bugs hide. And instead of pretending everything is fine, the agent produces a report. Here's what matches. Here's what doesn't. Here's what couldn't be verified. And here's what needs somebody to make a decision. I know, an AI agent admitting it doesn't know something. Truly revolutionary technology. But that's exactly what we want. A reliable development pipeline
Speaker 1shouldn't manufacture confidence. It should expose uncertainty before that uncertainty reaches production. Now let's talk about something I consider absolutely essential. Versioning. Because it doesn't matter how organized your workflow is if everybody is working from a different version of the requirements. Imagine the product team updates a specification. The design was approved against the previous version. The API contract was generated from an even older version. And developers are halfway through implementation.
Speaker 1If nobody notices the change, you've got a problem. That's why I'd have the pipeline record which approved versions each artifact depends on. Requirements reference the verified code snapshot they were based on. Designs and API contracts reference the specification. Implementation work references the relevant contracts. And automated checks flag when something upstream changes. Not every change needs to stop the whole organization, but affected work should be reviewed before continuing. Because otherwise, we end up with documents that all look official,
Speaker 1but describe completely different versions of the product. Now we're finally getting close to production. And this is where I draw a pretty firm line. An AI agent can help prepare a deployment. It can review configuration, check migration requirements, compare environments, analyze test results, prepare release notes, and help build a rollback plan. That's all useful. But I don't want an unrestricted agent deciding on its own that production looks ready and deploying whatever it feels like. Production changes need controlled permissions and explicit approval. Especially when we're talking
Speaker 1about database migrations, customer data, authentication, or anything that could affect a live service. Now, not every production deployment needs somebody manually clicking a button. Mature teams can absolutely have automated releases. But those releases should follow approved policies, tested pipelines, and clearly defined controls. The important thing is that an autonomous coding agent doesn't get unlimited authority just because it successfully ran a few tests. Because nothing makes for a relaxing Friday afternoon like an AI agent deciding the production
Speaker 1database could use a little cleanup. So the release stage should verify the important things. Did the required migrations run safely? Does the configuration match the target environment? Are the necessary secrets and permissions available? Can we roll back if something goes wrong? Are our monitoring and alerts ready? And after deployment, is the application actually healthy? That last part matters. Because deployment success is not the same thing as product success. A green deployment notification doesn't guarantee the application is working
Speaker 1for real users. And here's one more part I'd build into the pipeline. Feedback. After a release, update the team's understanding of the system, record the architecture changes, refresh the code indexes, document important decisions, and make sure the next agent starts from the current implementation, not from a specification written six months ago. Because an agentic pipeline shouldn't just be a straight line. It should be a loop. Every release improves the context available for the next feature. Every
Speaker 1verified change improves the team's understanding of the code base. And every recurring problem should help improve the workflow itself. Now, I can already hear somebody saying, Ryan, this sounds like a lot of process. And yeah, it can be. If you turn every stage into a giant approval meeting, you've defeated the whole purpose. I don't want an AI-powered development pipeline that takes three weeks to approve a button change. The goal is to make the process proportional to the risk.
Speaker 1A small UI adjustment probably doesn't need the same approval process as a payment system migration. A straightforward bug fix shouldn't require 9 agents to write 15 documents. And a simple internal tool might only need a lightweight version of this workflow. But the underlying principles still apply. Know what you're changing. Understand the current system. Define what success looks like. keep interfaces consistent, verify the implementation, and control what reaches production. That's the foundation. Everything else can scale with the size
Speaker 1and complexity of the team. And here's what I think makes this interesting. A proper agentic workflow isn't really about replacing developers. It's about connecting the work developers already do. Product teams can focus on defining the right problems. Designers can focus on user experience. Architects and engineering leads can focus on system decisions. Developers can focus on implementation quality. Q & A can focus on whether the software actually behaves correctly. And agents can handle a lot of the repetitive reading, drafting, checking, and implementation work between those steps.
Speaker 1But somebody still needs to own the decisions. Somebody still needs to understand the architecture. And somebody still needs to be accountable when things go wrong. Because when production goes down, you can't exactly put your AI agent on a performance improvement plan. And maybe that's the biggest misconception about agentic development. People hear the word autonomous and assume the goal is to remove humans completely. I don't think that's the right goal for most engineering teams. I think the goal should be reducing unnecessary manual coordination while keeping the decisions that
Speaker 1matter visible and accountable. Less copying information between documents. Less rebuilding context every time somebody opens a new chat. Less discovering at the end of a sprint that the front end and back end never agreed on the same API. And fewer situations where somebody says, wait, I thought we were building something completely different. because those are problems AI can actually help solve, but only if we give the agents a coherent process to work within. So here's my challenge. If your development team is already using AI, don't just
Speaker 1look at how much faster individual developers can write code. Look at the entire process, from the moment somebody proposes a feature to the moment it reaches production. Where does information get lost? Where do teams make assumptions? Where do requirements drift? Where are people waiting on each other? And where could a focused AI agent remove repetitive work without taking away important decisions? Start there. Build a small pipeline. Test it with one feature. See what works. Fix what doesn't.
Speaker 1And expand it gradually. You don't need a massive autonomous engineering platform on day one. You need a workflow that actually makes sense. Preferably one that doesn't require hiring an AI agent just to manage the other AI agents. Although at this rate, Somebody's probably already selling that subscription. Anyway, that's going to wrap up this episode of Geeks Do Byte. I'm Ryan, your host and resident software developer. And I want to know what you think. Is your team using AI agents across the entire development lifecycle? Or is everybody
Speaker 1still working from their own chat sessions, hoping everything comes together at the end? Have you started connecting requirements, designs, API contracts, and code into one workflow? Or are you still finding out during testing that everybody built something different? Because I think this is where AI-assisted development starts becoming genuinely interesting. Not when one developer can generate more code, but when an entire team can build better software together. Until next time, keep building, keep experimenting, and remember, giving
Speaker 1every developer an AI agent doesn't automatically make your engineering team more productive. Sometimes... It just means you've automated the chaos. This has been Geeks Do Bite. I'll catch you in the next episode.
Episode 004: AI Made Coding Faster… Why the Hell Are We Working More?AI is making software development faster, and we're getting more done than ever. But are we finally getting our time back, or just getting handed a...
Episode 003: AI Is Flooding Gaming… But Is Any of It Actually Good?AI is changing game development, and we're about to get a whole lot more games. But are we entering a golden age of indie creativity, or drowning in...
Episode 002: Stop Paying to Vibe Code. Learn to Own Your Stack. Are developers wasting money on Lovable when they're already paying for Claude or ChatGPT? In Episode 2 of Geeks Do Byte, Rayen takes aim at the growing...
Episode 001: Am I Using AI Wrong… or Are You Just Burning Tokens? Welcome to the very first episode of Geeks Do Byte, hosted by Rayen, a software developer navigating the rapidly evolving world of AI and technology. In...