To Vibe-Code or not to Vibe-Code: Responsible AI-assisted software engineering — Transcript
Full transcript
- 0:01Hello and welcome. The topic for today's
- 0:04video is to wipe code or not to wipe
- 0:06code or how to do responsible AI
- 0:08assisted software engineering. A few
- 0:11words about me. My name is Senko. I've
- 0:14been a software engineer for more than
- 0:1525 years now. For most of that time,
- 0:18I've been running a software development
- 0:20agency called Good Code where we built
- 0:23uh custom software web apps uh for
- 0:26clients all over the world. Uh I've also
- 0:29founded a couple of startups. Uh the
- 0:31most notable was web whiteboard which
- 0:33was shared online real-time
- 0:35whiteboarding uh app. Uh at one point we
- 0:38had 1.6 million monthly active users and
- 0:42in 2021 we were acquired by Mido a
- 0:45global leader in in the space. For the
- 0:48past couple of years I've been focusing
- 0:50on AI uh with Pythagora uh which was one
- 0:54of the first VIP coding platforms. I
- 0:56went through Y Combinator then also
- 0:59worked on a couple other uh projects and
- 1:02products uh that were based on top of
- 1:04LLM technology. Uh currently I'm working
- 1:07as as a consultant. I'm helping other
- 1:10companies to figure out what's what's
- 1:12real, what's hype in AI, how to uh
- 1:15implement AI in their own products, uh
- 1:18what are the challenges when doing so
- 1:20and if whether is this something that
- 1:23they actually really need.
- 1:26And we've all seen the hype surrounding
- 1:29AI today. It's it's huge and in software
- 1:32engineering especially because it's
- 1:34proved to be a fertile fertile ground
- 1:36for for AI. So, we've we've heard
- 1:40stories like uh somebody wipe coding uh
- 1:42an app uh that reimplements a startup
- 1:45worth a couple of dozen million dollars
- 1:49or uh like ads saying stop hiring humans
- 1:53or uh the CEO of Microsoft saying the AI
- 1:57agents will replace all developers or
- 2:00that like somebody mentioning that AGI
- 2:03is just around the corner. So people
- 2:06like read these things and then they
- 2:10believe them and are really excited
- 2:12about the potential of AI and want to
- 2:14use this to code their next uh big idea
- 2:17and the first couple of hours the first
- 2:20couple of days maybe uh things are going
- 2:22really well the AI is turning a lot of
- 2:24code it's journaling a lot of features
- 2:27and then the horror stories start like a
- 2:30replet agent uh deletes somebody's uh
- 2:33production database or uh people just
- 2:37getting stuck and unable to to move
- 2:39forward and then needing to actually
- 2:41hire an actual human to to fix it for
- 2:43them. uh we've seen actually uh
- 2:47freelancers and agencies uh advertising
- 2:50that they will they will step in and fix
- 2:52the mess that the AI agents uh have
- 2:55done. And even with the people who are
- 2:58uh enthusiastic and say they have they
- 3:01see positive impact with their usage of
- 3:04AI for software engineering. Uh this can
- 3:07be deceiving. uh a recent study uh a
- 3:11couple of uh at at the start of 2025
- 3:15uh conducted a survey of 16 developers
- 3:19and then gave them different tasks and
- 3:22specific specifying whether to use or
- 3:24not use AI and they the study found out
- 3:27that the developers
- 3:30mostly thought that AI was going to make
- 3:32them more productive so to spend less
- 3:35time on a task whereas in uh in uh
- 3:38reality
- 3:39they spent more time on the task than
- 3:41without using AI. And this is a flawed
- 3:44study. It was really small sample uh a
- 3:47bunch of uh dubious uh issues uh with
- 3:50it. Uh but still one step uh towards
- 3:54trying to understand how AI really uh
- 3:58affects the productivity or or doesn't.
- 4:01On the other hand, uh we can see
- 4:04positive experiences and pos positive
- 4:06anecdotes from people who are uh known
- 4:09to be like uh really good professional
- 4:12developers who have built uh projects
- 4:15that in the past that show that they
- 4:17have skills, experience, good judgment,
- 4:20wisdom and so on. and they've been some
- 4:22of them have been open uh around uh that
- 4:26they use AI how they're using the AI and
- 4:29are open to sharing their experiences.
- 4:31For example, Armen Ronaher uh who is
- 4:34really uh famous in the Python ecosystem
- 4:37and Python web ecosystem especially he
- 4:40wrote Flask uh Ginga 2 and a bunch of
- 4:43other Python packages. uh says that for
- 4:46him AI changes a lot about uh how
- 4:49software engineering is done and for the
- 4:52current startup he's probably writing
- 4:54more than uh 90% of the code uh using uh
- 4:59some sort of of AI. Uh Mitchell
- 5:01Hashimoto
- 5:03is a founder of Hashi Corp and has built
- 5:06uh has created Vagrant and Terraform
- 5:08which are widely known tools throughout
- 5:11DevOps community. uh he's now working on
- 5:14a terminal project. So fun fun uh side
- 5:18project on a terminal uh uh app and uh
- 5:24he's using AI in in parts and he's
- 5:28sharing like how he's building
- 5:30non-trivial features which really full
- 5:33production quality using using AI and
- 5:37one of the things he mentioned is that
- 5:39AI gives him the ability to work on a
- 5:41project while he's doing something else
- 5:44for example cooking dinner or
- 5:46and he's been open about sharing exactly
- 5:50like what's his process and how he
- 5:53ensures that the quality of the end
- 5:55result is something that he he wants. So
- 5:58he's not about to put AI slop into into
- 6:01his code base. Uh one other uh prominent
- 6:05open source developer Salvatore
- 6:06Sanfilippo who wrote Threadis is a bit
- 6:09more skeptical about uh using AI like
- 6:12full autonomous way uh but uses it a lot
- 6:16in maybe uh more constricted or ways
- 6:20that he has more control and his
- 6:23observation is that uh that definitely
- 6:25humans and AI uh agents together are
- 6:29more productive than just humans. But uh
- 6:32the key to unlocking this is to be able
- 6:34to communicate effectively with the with
- 6:37the LLM. So to describe what you want to
- 6:40the LLM so it can use your input to
- 6:43actually do something uh that's useful
- 6:46and on the level that you want. Uh Simon
- 6:48Wilson is one of the creators of Django.
- 6:51Uh recently he's been really into AI
- 6:54researching a lot around LLMs, how to
- 6:56use them, what are the security problems
- 6:58and so on. And one of the things he's
- 7:01noted is that AI
- 7:03uh is unlocking the the side projects or
- 7:07extra stuff that he would never had the
- 7:09time or the will or just uh the focus to
- 7:14to do without it. So if if some tool or
- 7:18a side project would take him a couple
- 7:20of days beforehand, uh he just wouldn't
- 7:23do it. And now with the help of AI, if
- 7:26it's like half an hour or an hour work,
- 7:28he'll do it and then have a useful tool
- 7:30for himself. So basically, he's more
- 7:33ambitious about the the kind of side
- 7:36projects or pet projects that he's doing
- 7:37because AI can really help a lot even if
- 7:40that's not some production level code
- 7:43that will go into uh and be used by by
- 7:46millions of people.
- 7:49So one of the reasons for this confusion
- 7:52about different uh different ways that
- 7:55people uh see AI assisted software
- 7:57development is because we're using the
- 8:00same terms for widely different
- 8:03approaches. So a popular term right now
- 8:05is VIP coding which is almost
- 8:09almost synonymous synonymous with the
- 8:12with software engineering using AI but
- 8:15actually VIP coding is just one specific
- 8:18ways of you using it. So the term was
- 8:20coined by Andre Karpathy. He didn't
- 8:22invent the procedure or the methodology.
- 8:24He just uh coined and popularized the
- 8:27term. And basically VIP coding is you
- 8:30ask the AI to do some code for you and
- 8:33then you just try it out and use it. You
- 8:35never look under the hood. You are not
- 8:37concerned with the implementation
- 8:39details. You're not looking at the
- 8:41codebase. You're just playing user uh
- 8:45and just interested in the in the end
- 8:47result.
- 8:49So this is just one end of a spec
- 8:52spectrum of different ways that you
- 8:53could use AI for software development.
- 8:56And one of the uh some of these uh give
- 9:00more control uh to the to user or keep
- 9:03more control uh to the user and some of
- 9:06them uh give more autonomy to the to the
- 9:09AI systems. So on the more control to
- 9:12the to the user end of the spectrum we
- 9:15have stuff like smart autocomplete. So
- 9:18autocomplete features have been features
- 9:20of uh editors uh for decades and now
- 9:24with AI uh they can complete not just
- 9:27function names or class names method
- 9:29names but also maybe a short uh snippet
- 9:32of code a for loop if block stuff like
- 9:35that. So uh the user is still in
- 9:39complete control here because here
- 9:41because if as a user you don't uh agree
- 9:44with uh what the AI has proposed, you
- 9:46can just type uh continue typing your
- 9:48own stuff and there's no drawbacks here.
- 9:52And if the AI uh completed code is uh
- 9:55useful, it's correct, then you can
- 9:57accept it and then save some keystrokes.
- 10:00So uh it's really light on the what AI
- 10:05does for you uh but still gives you uh
- 10:08some benefits less typing maybe a bit
- 10:12easier to think you don't need to think
- 10:14so hard about some some constructs and
- 10:16so on. The next step would be inline
- 10:19assist where uh you ask the AI to uh
- 10:22fill in some code, refactor some co some
- 10:25code within existing maybe function or
- 10:28existing code block and maybe to
- 10:31refactor some small some small bits or
- 10:33help you understand uh bits of code. Uh
- 10:36again here you're under complete control
- 10:38to accept or not accept this small
- 10:40change.
- 10:42Uh the next step would maybe be uh using
- 10:45chat GPT or cloud or other uh chatbased
- 10:49AI uh instead of stack overflow, Google,
- 10:53Reddit or some other development forums.
- 10:56So we've been using these for a long
- 10:58time and often we would just try to find
- 11:01the closest solution to what we need and
- 11:04then adapt it to our needs and basically
- 11:06chat claude and others now provide this
- 11:10custom solution based on these popular
- 11:13answers uh out of the box
- 11:16as a users as a user we are still in
- 11:19control of what actually ends up in the
- 11:21code. Uh but AI does kind of guide us uh
- 11:26somewhat because from maybe a couple of
- 11:28different approaches to doing something
- 11:31uh it presents us with one option how to
- 11:34implement something and if we accept it
- 11:36basically we didn't even consider the
- 11:38the other ones. The step beyond that
- 11:41which is probably the most popular with
- 11:43the with the software development
- 11:45community right now is chatb chat based
- 11:48agents like cloud code uh codex cli uh
- 11:53and the other chat agents that are that
- 11:56live in your uh ID sidebar like also in
- 12:00cursor or in GitHub copilot chat where
- 12:04you can chat with the AI which is
- 12:07basically a pair programming
- 12:09developer body uh that works together
- 12:12with you on some tasks. So, you're
- 12:14basically working interactively uh
- 12:16solving solving a task. Here, the AI
- 12:18does a lot more things, but you're still
- 12:20aware of everything that's going on. You
- 12:22approve uh when it needs to run some
- 12:25commands, you inspect all the code and
- 12:27so on. And this uh micromanaging might
- 12:31be uh a pretty distracting. Uh so one
- 12:36one way to move beyond that would be to
- 12:39take this same chat agent and just put
- 12:41it in a sandbox somewhere in cloud where
- 12:44you give it a task and then it does it
- 12:46autonomously and then you come back
- 12:48later and check whether it's correct. So
- 12:51you're still you still know exactly
- 12:53what's what's going on, what'so what's
- 12:56supposed to be uh going on and you uh
- 12:59review the code. You you know exactly
- 13:01what's uh what's happened. But you don't
- 13:03need to micromanage every every little
- 13:06step that the agent does. So these could
- 13:08be like called like a ambient agents or
- 13:11cloud agents or web- based uh agents. uh
- 13:15things like uh Devon or recently cloud
- 13:19code also announced cloud code web which
- 13:22is an ambient agent and so on. So
- 13:24basically they're doing something in a
- 13:25secure sandbox where they cannot break
- 13:28anything and that allows you to not
- 13:30micromanage them all the time. Of course
- 13:32if you're doing that then it's really
- 13:35critical to have a really good uh
- 13:38description of uh what you need to do.
- 13:41And if you push that to an extreme
- 13:43basically want to provide the AI with a
- 13:46complete specification functional and
- 13:48technical specification of this one task
- 13:50that it's doing so that it knows
- 13:52everything how to do something how like
- 13:55what to do what not to do the
- 13:57constraints requirements uh and so on
- 14:00and basically you're writing a spec. So
- 14:02this has been popularized lately as spec
- 14:05under the term specdriven development.
- 14:08So you give the complete specification
- 14:10to the AI, it does its work and then you
- 14:12review whether the work is according to
- 14:14the spec. Here you're still reviewing
- 14:16both the functionality and the
- 14:19underlying codebase and you're still as
- 14:21a developer you know exactly what is
- 14:24supposed to be uh happening.
- 14:27The step beyond that is basically wipe
- 14:29coding where
- 14:31you just give a rough description of the
- 14:34task to to the agent and then let it
- 14:38work and then test out the results. So
- 14:41basically you're not looking at uh under
- 14:43the hood you're not reviewing the code.
- 14:45You're just maybe copy pasting the
- 14:47errors or providing your feedback as a
- 14:49tester but you don't uh worry about the
- 14:52details. And at the ex total extreme of
- 14:55the spectrum would be VIP coding but not
- 14:58per task but for the entire application
- 15:00where you as a user don't care about the
- 15:03platform the uh the framework use the
- 15:06database use how it's hosted where it's
- 15:08hosted you just want to ask to implement
- 15:13some app and then have it working.
- 15:16So which of these is the the best way to
- 15:20use AI? This of course depends on what
- 15:23kind of projects or what what kind of
- 15:25pro problems you're working on. So if
- 15:28you're working on an existing project
- 15:30that has uh a lot of uh built-in
- 15:33knowledge into it uh that has a lot of
- 15:35edge cases that it needs to handle. So
- 15:37it's it has complex uh business logic
- 15:40then it makes sense to uh still have
- 15:44more control and just do uh just allow
- 15:48AI to help you out a bit because AI
- 15:50doesn't have all the context all the
- 15:53knowledge about the project and also if
- 15:56you're working in an environment where
- 15:59the programming language is not very
- 16:01popular or the framework is new or
- 16:03strange or you're really pushing the
- 16:05limits on uh the performance or like
- 16:09inventing new algorithms basically
- 16:12really uh non-standard stuff let's say
- 16:16then AI will not be uh of much help
- 16:18because these are not the types of
- 16:21problems that it has seen a lot of times
- 16:23in its uh training data. So basically
- 16:26every time you're kind of moving from
- 16:29standard boilerplate or uh typical
- 16:33typical stuff that many people have done
- 16:35over the years AI will will uh have a
- 16:39bit harder time. So in those kinds of
- 16:41projects it makes sense to keep more
- 16:44control and then just use uh AI
- 16:47sparingly. Also, if you're working on
- 16:50projects that are really really
- 16:52sensitive to risk, so uh highly risky,
- 16:56uh then you don't want to uh give wide
- 17:01freedom to AI uh and not notice if
- 17:04something's subtly subtly uh messed up.
- 17:07Uh on the other hand, if you're working
- 17:10on a project project that can tolerate
- 17:12more risk or maybe it's just a throwaway
- 17:15prototype or like a functional mockup or
- 17:18a uh proof of concept code, uh then it
- 17:21totally makes sense to use uh AI and
- 17:23give it as much uh space and autonomy as
- 17:27needed because uh at the end of the day,
- 17:30you're likely just going to learn from
- 17:33maybe from uh how the UI is working or
- 17:37whether your idea uh makes sense or not
- 17:40and then throw away that code and
- 17:42reimplement it properly or maybe adapt
- 17:44the code and implement it properly. Uh
- 17:46the same goes if it's just a one-off
- 17:48project or internal tool that it doesn't
- 17:52really matter if it crashes sometimes as
- 17:55long as it's useful and it can uh help
- 17:58you out in your work. And if it's using
- 18:00something that's really popular language
- 18:03or or framework like uh Python or uh
- 18:05JavaScript as languages or react as a
- 18:08framework AIS really know uh how to
- 18:11write code for this and then you can
- 18:14give them more more freedom because they
- 18:16are more comfortable uh producing uh
- 18:19code of okay okay quality on that level.
- 18:22So basically really depends on what what
- 18:25you're doing. Uh if you are if you are
- 18:29writing code for self-driving cars or
- 18:32for rockets or for medical instruments
- 18:35where your bug bug might mean that
- 18:37somebody will die then absolutely you
- 18:41don't want like you want to spend as
- 18:43much of time and effort on it. You want
- 18:47to put a bunch of really highly skilled,
- 18:50talented, experienced people like top
- 18:54top people on on the job and performance
- 18:57is or either performance or reliability
- 19:00is really critical. Uh but if you're
- 19:04working on an internal tool or just
- 19:06experimenting with something, then you
- 19:08won't waste maybe like your seniors or
- 19:11top people's time. uh you'll put your uh
- 19:15juniors or le uh less experienced people
- 19:18on on these kind of things uh because uh
- 19:23if they mess something up it's it's not
- 19:26such a big problem and basically so this
- 19:28is this is the spectrum of the quality
- 19:30of the project that is required not
- 19:33every project needs to have the same uh
- 19:36level of quality resilience robustness
- 19:39performance and so on. So there's an old
- 19:41saying uh from civil engineering uh any
- 19:45any fool can make a bridge that stands.
- 19:49You need an engineer to make a bridge
- 19:51that almost stands. So the idea is that
- 19:54in in business context in real world you
- 19:57don't have unlimited number of resources
- 19:59number of people time uh and money. You
- 20:02want to build a product with acceptable
- 20:06level of quality uh using the minimal
- 20:08amount of resources. So time uh money
- 20:11people and so on. So you wouldn't waste
- 20:15your uh seniors on really trivial
- 20:18projects and of course you wouldn't put
- 20:20uh green juniors on really uh complex
- 20:23and sensitive projects. So there's
- 20:25there's this uh spectrum also of the
- 20:28project quality and and uh that that is
- 20:31required. So in the past year we've seen
- 20:35LLMs with incremental updates or
- 20:38incremental improvements uh really
- 20:40widening widening the scope or the the
- 20:43part of this spectrum where they're
- 20:45applicable.
- 20:47So uh for kinds of projects for kinds of
- 20:50problems where they are applicable
- 20:55it doesn't make sense not to use them
- 20:57basically. So how does the Vive coding
- 21:01process works? So basically web coding
- 21:03is just give uh the task an AI agent. It
- 21:07works on a task uh doing its agent loop.
- 21:11So write some code uh execute some
- 21:14command maybe tries it out and so on.
- 21:16And when it's done as a user you test
- 21:19whether that works or not. If it works
- 21:22great you're done. If not you give some
- 21:24feedback. You uh maybe copy paste errors
- 21:27if there are any and then you ask the AI
- 21:29agent to fix it. So you're not
- 21:31interested in the what's under the hood.
- 21:34You're not looking at the code. You're
- 21:35not looking at how it's implemented. And
- 21:38this can work for simpler projects where
- 21:41you can build the thing in a couple of
- 21:43steps. But for anything uh a bit more
- 21:48involved, bit more challenging. At some
- 21:50point you are going to hit a wall where
- 21:53AI itself alone will not be able to to
- 21:56do it. And then because you're not
- 21:59looking uh under the hood, you're not
- 22:01understanding the code, you you don't
- 22:02know what's going on, you will you will
- 22:05not be able to to help it and then
- 22:07you're stuck.
- 22:09So what are these types of things or
- 22:12ways uh that AI is uh goes uh off the
- 22:17rails when when coding. So we can just
- 22:20start with the with actually the human
- 22:22uh the the person who is giving the
- 22:24task. Though very often tasks are uh not
- 22:28specified correctly. Uh often the scope
- 22:31is too large like the the description of
- 22:34one task should really be a couple of
- 22:37tasks uh done one by one and basically
- 22:41that that's just a a too large a bite
- 22:44for uh for the for the AI to chew at at
- 22:48one point or uh relatedly uh people give
- 22:52multiple uh tasks in the same uh
- 22:55question. Basically, this is often when
- 22:57doing follow-ups like the first
- 23:00iteration maybe produce something that's
- 23:01okay and now as a user you ask the AI to
- 23:04do this and that and this third thing
- 23:07while it's doing the first two things
- 23:09and this will basically confuse the AI
- 23:11because it will have couple of different
- 23:14goals and will need to go in into couple
- 23:17different directions at one point. So
- 23:18this is confusing to user to human
- 23:20developers as well but on AI it's it's
- 23:23having a similarly bad effect. The
- 23:25second problem with task description is
- 23:27that the input or the task description
- 23:30itself is often really uh not not good
- 23:33enough. So the the description of what
- 23:37needs to be done uh is often ambiguous.
- 23:39So not specified clearly enough. Uh the
- 23:42goals uh are maybe u implicit or not
- 23:47spelled out. uh entirely requirements
- 23:51uh like what's how exactly something
- 23:53needs to behave or constraints what not
- 23:55to do what's in the like person's head
- 23:59but it uh he or she doesn't actually
- 24:01spell it out uh sometimes these
- 24:04descriptions or these uh tasks or asks
- 24:08conflict with what's already in the co
- 24:09codebase and then the AI has to decide
- 24:12whether you want whether your intention
- 24:15is to uh pick something that's already
- 24:20change something that's already in the
- 24:21code or you maybe just made an error
- 24:23because you forgot. So these kinds of uh
- 24:26uh bad inputs basically uh push the
- 24:30decision making to AI and this is
- 24:33something that AI should defin should
- 24:35definitely not do. So the AI cannot read
- 24:38your mind. It cannot understand what's
- 24:41important to you without if you don't
- 24:43say it. uh it cannot do value judge
- 24:46judgments what's important uh which
- 24:49tradeoff to do it doesn't know your
- 24:51preferences or your priorities how to do
- 24:53something so if you ask AI to uh decide
- 24:57something instead of you basically
- 24:59you're just uh uh doing a very very
- 25:02expensive random uh random choice uh
- 25:05questions
- 25:07when it comes to coding itself uh the
- 25:10development development environment
- 25:11that's set up around the AI agent is
- 25:13really important. So no developer, no
- 25:16human developer could write a thousand
- 25:18lines of code from scratch at once
- 25:22without making a single error. uh LMS
- 25:26likewise will made some simple mistakes
- 25:29and if the development environment is
- 25:32set up in such a way that the LLM can
- 25:34get fast uh accurate feedback on these
- 25:38small mistakes it has much better chance
- 25:41to fix it before these mistakes uh grow
- 25:44and become larger mistakes. So um stuff
- 25:48like linting uh or code checking or
- 25:53compilers or automated types uh
- 25:56automated tests are tools that AI can
- 25:59use to make sure that it's on the on the
- 26:01right track. Uh on the other hand if the
- 26:04development environment is poor if it
- 26:07doesn't give uh clear feedback to the to
- 26:10the agent what's wrong. uh for example
- 26:13if the test just says error or if the
- 26:16application just crashes without a stack
- 26:17trace uh then the AI will have to guess
- 26:21uh what might be wrong and AI can often
- 26:25guess wrong and what's worse it can then
- 26:28try to double down on its guess and try
- 26:31increasingly in increasingly desperate
- 26:33ways to to fix it and then just you know
- 26:36make the problem much much worse worse
- 26:39and it has no sense
- 26:42of when and how far it should backtrack
- 26:45and try something else. And what's
- 26:47worse, this this all these errors then
- 26:50pile up in the context of the of the LLM
- 26:52and then basically prime it to be more
- 26:55even more desperate. This is analogous
- 26:58to the human mind when we're really
- 27:00tired, stressed, uh frustrated, nothing
- 27:03works on a problem and then we need to
- 27:07uh go home, rest uh or go for a walk,
- 27:11spend some time off the task and then
- 27:14let our mind brain recharge and then
- 27:17maybe uh come back to the problem the
- 27:19next day or maybe in a couple of days,
- 27:22see it with with fresh eyes and then uh
- 27:25be able to to do some progress.
- 27:27the the equivalent for this for LMS is
- 27:30just clearing the context and trying uh
- 27:33trying a new a new uh attempt at the at
- 27:36the task. So no matter how uh good the
- 27:40LLMs are at at one specific thing at one
- 27:43specific step if there's some
- 27:46probability of of problem and there
- 27:48always is these problems compound and uh
- 27:52after a few dozen steps or
- 27:57irrespective how many it's sooner or
- 27:59later uh the the problems get worse
- 28:02compound and the codebase becomes a mess
- 28:05and then at that point it's too late to
- 28:08fix it and it's really really hard to go
- 28:10back and often people just just give up
- 28:13at at this point.
- 28:16So the the way to prevent this is to try
- 28:19and prevent and fix detect and fix
- 28:22errors at each of these steps by uh by
- 28:26following a slightly modified process.
- 28:29So one one thing that I mentioned are
- 28:32guard guard rails which help the AI to
- 28:36figure out whether it's going into the
- 28:37right direction without having to ask
- 28:39you every time. So you could manually
- 28:42review everything and uh
- 28:47try out and test every change, but it
- 28:50would be pretty tedious because you
- 28:52would have to do it like constantly all
- 28:54the time. it would be pretty boring and
- 28:56really really tedious on on the on the
- 28:59human. So what we want is wherever
- 29:02possible to provide LLM with the correct
- 29:05accurate fast automated feedback. This
- 29:08is stuff like code formatterers, code
- 29:11llinters, type checkers, compilers, uh
- 29:14automated tests with good coverage and
- 29:16that are reliable so that when they uh
- 29:19report a problem, this is really a a
- 29:22problem and not something to ignore and
- 29:24that they are fast so that the AI can
- 29:27run them uh all the time and check
- 29:30whether whether stuff works. Uh it's uh
- 29:35sometimes useful to write small shell
- 29:38scripts or CLI tools that help AI uh do
- 29:43things uh easier without asking you. For
- 29:45example, if there's a couple of steps
- 29:47that you need to do to set up a test
- 29:50database and then tear it down. uh
- 29:52provide these steps to the AI in uh as a
- 29:56script so it can run it without
- 29:59thinking how it should manually load the
- 30:02data in the database. So make it easy
- 30:05for the AI to run these uh automated
- 30:09things to get to give it uh big uh quick
- 30:12feedback
- 30:14and
- 30:16as much as we can offload to these
- 30:18automated tools uh to the so that they
- 30:23provide automated feedback to the AI.
- 30:25This means uh when it comes to the human
- 30:28part of the picture then we have more uh
- 30:32more room or more space or more time to
- 30:35review and the code base that we are
- 30:38looking at that point should be on the
- 30:41right track. So we wouldn't need to
- 30:43nitpick and look at the small small
- 30:45changes. Another really big uh thing is
- 30:49documentation.
- 30:51So people like most projects suffer from
- 30:54too from bad documentation, too little
- 30:56documentation or obsolete documentation.
- 30:59Software de developers in general are
- 31:01not very known uh for writing and loving
- 31:06to write documentation.
- 31:09Uh but documentation is something that
- 31:11AI needs in order to be able to
- 31:14understand what's in the project. So
- 31:16that's that's things like architectural
- 31:18and component documentation. how all the
- 31:20different parts of the project fit
- 31:22together, how they're calling, how
- 31:24they're sharing data and so on. Coding
- 31:26style guidelines, what uh what's the way
- 31:31uh to write something? What are the
- 31:34coding patterns, design patterns used?
- 31:36Uh what's the proper way within that
- 31:38project to do something? uh then also
- 31:41the general knowledge about the problem
- 31:44problem domain or the project that uh
- 31:47developers have in their head but maybe
- 31:48it's not spelled out anywhere. Basically
- 31:51this is equivalent to the information
- 31:54that a new team member would need to
- 31:56have when uh they on board on onto your
- 32:00team. So all the information that this
- 32:02new team member is missing before they
- 32:04can be fully productive is basically the
- 32:07information that the AI is also missing
- 32:08because they uh it cannot read your your
- 32:11mind. Uh stuff like internal external
- 32:14API docs as well. So basically the the
- 32:17idea for this is to make this implicit
- 32:20test knowledge explicit to write it down
- 32:23somewhere uh either in the codebase or
- 32:26make it available to the AI in some
- 32:27other way. So it actually knows it has
- 32:30the whole context the whole knowledge
- 32:33about the project that it's working on.
- 32:36Putting it all together, here's the
- 32:39revised Vive coding process which uh
- 32:42avoids or early detects these uh kinds
- 32:46of problems that I mentioned and which
- 32:48allows us to work with AI in a more
- 32:52autonomous way but still have the the
- 32:56level of quality that we want to to
- 32:59output and that we can like stand stand
- 33:02behind as a as engineers. So first uh
- 33:05the first phase is just planning without
- 33:08jumping to implementation. We ask the AI
- 33:11to analyze everything. Uh give it the
- 33:14test description, give it as much
- 33:15information as we can and then uh task
- 33:18it to just write out a detailed plan of
- 33:21implementation, what it plans to do, uh
- 33:24what's the approach, uh what's the
- 33:26architecture, what are the the data
- 33:30uh data shape, uh data structures that
- 33:32it will use and so on. Then we when we
- 33:35get this plan we uh have to review it
- 33:38really detail in real detail and like
- 33:41think through whether this makes sense.
- 33:44Often uh you'll notice that you've
- 33:46missed something uh in just like
- 33:50describing in the task maybe some
- 33:52specific requirements or some specific
- 33:54way of doing something that you actually
- 33:56didn't mention to the AI. So this is a
- 33:59chance to provide feedback on the plan
- 34:00whether if AI did something like plan
- 34:03assumed something wrong or maybe you
- 34:05didn't uh give it enough information and
- 34:07then you can iterate on the plan a
- 34:09couple of times until you're really
- 34:12satisfied with the the specification
- 34:14with the the plan uh on how to implement
- 34:18this uh this one task. And this is the
- 34:22this plan you can give either to a de a
- 34:24human developer or you can use it
- 34:27yourself or you can give it to the AI to
- 34:29implement stuff. So it should contain
- 34:31all the required information so that
- 34:32even a junior developer can just follow
- 34:35it through uh and then uh implement the
- 34:39the thing. So the next phase when you're
- 34:42happy with this, the next phase is
- 34:44giving uh the AI agent the the plan and
- 34:47telling it to basically execute that
- 34:49plan. So it will now do the agentic
- 34:52coding loop again uh implement what's
- 34:55being uh agreed upon and then it can
- 34:58call these guardrail tools whether
- 35:01that's automatic uh like when whenever
- 35:03it writes a file maybe a formatterary is
- 35:06run or it just decides to run tests or
- 35:09compile the stuff after it's uh it's
- 35:13made it changes but basically these
- 35:15guardrails then can provide feedback
- 35:17like tests are failing or llinter error
- 35:20ers to the to the AI agent and it can
- 35:22automatically
- 35:24uh figure it out and fix it without
- 35:26involving you. Once the AI agent
- 35:29believes it's finished the job and all
- 35:32the guard guard rails are okay, then as
- 35:35a human we have to review and test it.
- 35:38uh review basically doing a thorough
- 35:41code review and checking whether this is
- 35:45done how it's supposed to be done and
- 35:47also just testing whether it's actually
- 35:49working and it doesn't matter which
- 35:51order we're doing this but it does
- 35:53matter that we are doing we do both so
- 35:56we shouldn't skip on the review and this
- 35:58is the the potential for problem is here
- 36:01in review because as a developer
- 36:04uh we really need to be uh detailed and
- 36:08think through whether this is this is
- 36:10correct code. We kind of just skim it
- 36:12through. Ah, it looks legit. Uh, and
- 36:14then it's it's done because
- 36:17it's it's going to almost always look
- 36:19legit, but the in this phase of the
- 36:22review, we want to detect the subtle
- 36:28misunderstandings or subtle wrong ways
- 36:30or maybe edge cases that AI did didn't
- 36:34think through and that we should notice.
- 36:37And this part of the review is not a
- 36:39substitution or a replacement for the
- 36:41coding review later on. This is just you
- 36:44as a developer who's working with the AI
- 36:46to make sure that you're not like
- 36:48committing something to the to the
- 36:49branch that's that you don't understand
- 36:52or that's not actually correct. So after
- 36:56you review and test if everything is
- 36:58okay, you can just then commit it to the
- 37:01repository or push it somewhere and
- 37:04you're happy. Uh if it's not okay, if
- 37:07it's just a small problem, then you can
- 37:09ask the AI to rework. Uh since it has
- 37:13the spec, it it's mostly correct and you
- 37:16just ask for uh like some detail, it'll
- 37:20it should work. In most cases, it's it
- 37:22doesn't prove to be a problem. If this
- 37:24is a larger problem, maybe uh the spec
- 37:27was wrong or the AI really went into
- 37:30completely incorrect uh direction, then
- 37:34you probably want to update the spec and
- 37:37then redo the coding process from
- 37:39scratch. Just clear the context uh load
- 37:41the spec into it and then do the coding
- 37:45uh again. But this time you have the
- 37:48knowledge of what went wrong the last
- 37:50time and you can update the spec or give
- 37:52additional instructions to the agent
- 37:54what what not to do. What's really
- 37:57really important that at the point where
- 37:59you say it's okay and then commit the
- 38:01code, push it and so on that you can
- 38:04stand behind and say this is the like I
- 38:07can guarantee that this is good code.
- 38:10I'm happy with it like I I can vouch for
- 38:13for the code. uh and I can put my
- 38:17professional pride on the line for it.
- 38:20So what we don't want to do is just push
- 38:22out code that we don't understand uh and
- 38:25hope for the best. Uh this is a slide
- 38:28from IBM internal training uh many
- 38:31decades ago when computers themselves
- 38:33were just starting to be widely uh used
- 38:37in the industry. And basically the the
- 38:41IBM training personnel were had to uh
- 38:44teach people that they cannot blindly
- 38:47trust the output from a computer. So
- 38:49computer can give you numbers, can give
- 38:51you data, information so on but as a
- 38:54human you are still the one who is
- 38:57responsible with deciding what to do
- 38:59with this information, how to interpret
- 39:01the data and so on. uh and we have to
- 39:04nowadays with AI we have to relearn this
- 39:06lesson not just with coding but with
- 39:08using AI anywhere that AI can give us uh
- 39:13results it can give us information text
- 39:17numbers uh code and so on but at the end
- 39:20of the day we as engineers are
- 39:22responsible for what we we output so it
- 39:26doesn't matter whether the code we are
- 39:29pushing uh we wrote it ourselves or AI
- 39:33wrote it or our friend wrote it or maybe
- 39:35we copied something from Stack Overflow
- 39:38and so on. We need to be able to
- 39:42understand explain and argue why the
- 39:45code is exactly as it is. And this means
- 39:49that we really need to own the the value
- 39:53judgment and understand what the AI has
- 39:56written. So at the point where we're
- 39:58happy with with the AI output for a task
- 40:01when we say okay we can commit it then
- 40:04at that point we become as as humans as
- 40:07a software developer we become
- 40:09responsible for that part of the code.
- 40:11So it doesn't matter like AI cannot do
- 40:14slop. You as a user can approve the AI's
- 40:18output and then commit slop to the
- 40:20codebase. You don't want to do that.
- 40:23The code is not the only thing that you
- 40:25get from uh working on a task in a in a
- 40:28way that I described. So this is like
- 40:30the implementation of a feature or bug
- 40:32fix is of course the main thing that we
- 40:33are interested in. This is why we're
- 40:35we're doing the project after all. But
- 40:38uh other artifacts that we get from this
- 40:41process that we can get and we should
- 40:43aim for are also tests. So human
- 40:47developers don't don't usually don't uh
- 40:51love writing tests. But AI is happily is
- 40:55going to happily write as much tests as
- 40:56as many tests as needed. So when coding
- 41:00it pays to have test setup, test
- 41:02hardness set up and then ask the co ask
- 41:05the AI to implement something. but also
- 41:07to write unit tests for it or any kind
- 41:10of like maybe end to end uh automated
- 41:12tests for it. Uh this makes it easy like
- 41:18in the this basically builds out these
- 41:20uh guard rails that make it easy for the
- 41:23AI and you together to work on a project
- 41:25in f future and to know that you are
- 41:28haven't broken anything uh that was
- 41:31written previously. Documentation is the
- 41:33same thing with AI. it's easy to keep
- 41:36the documentation up to date uh and to
- 41:39write the documentation for new stuff as
- 41:42you're writing as you're implementing
- 41:44new stuff. Uh the key here is to review
- 41:47both the test and documentation as well
- 41:49not just the the product code production
- 41:51code because AI can happily write tests
- 41:54that don't really make sense or be too
- 41:57verbo uh too verbose or misunderstand
- 42:00something in documentation. So you want
- 42:02to be paying attention to that as well
- 42:04and then fix as as needed. One form of
- 42:07documentation that you get naturally out
- 42:09of this process is the plans or
- 42:12specification that you have written with
- 42:13with AI. Uh some people want uh like to
- 42:17uh uh to commit those to the repository
- 42:20as well. So there's basically a trail of
- 42:24every
- 42:26task or every decision or every
- 42:28specification, every uh detail that was
- 42:32planned uh and implemented. So uh it's
- 42:35much easier to go into into the uh
- 42:39codebase and check why was some uh thing
- 42:43implemented as it was because you can
- 42:45then uh look at the plan and figure out
- 42:48what was going on there. Uh related to
- 42:50that is a conversation log which is
- 42:53basically the log of everything that
- 42:56that you and the AI agent are uh
- 43:00discussing or uh outputting uh into the
- 43:03into the chat while working on a task.
- 43:06Uh
- 43:08then at at the end of the task when you
- 43:10commit the code uh you can also
- 43:13reference either in the repository or
- 43:15maybe on another service and then just
- 43:17link it from git commit. You can
- 43:20reference the entire conversation log
- 43:22and this is really makes it really
- 43:24transparent to see exactly what AI was
- 43:26thinking what you were thinking while
- 43:28building such featur such feature as
- 43:31humans when we work on some codebase we
- 43:33also think through what we're doing but
- 43:36we almost never record it maybe some of
- 43:39us have a notebook on the side and then
- 43:42uh uh take notes but
- 43:46most of the people don't have don't take
- 43:48these notes or these notes are then
- 43:51forgotten in some drawer or somewhere.
- 43:53So basically
- 43:55uh after uh some time has passed we
- 43:58cannot perfectly recall how or and why
- 44:01we did something and conversation log is
- 44:04a really easy way because we basically
- 44:06get it out of the box when using AI.
- 44:08It's really easy way to
- 44:10record permanently what we were thinking
- 44:13when we were doing this partic uh
- 44:16specific a specific task.
- 44:20Uh how do AI develop how do software
- 44:23developers use AI today? Uh an
- 44:26interesting survey was done by by Dora
- 44:29uh that uh answered among others uh this
- 44:33very question. So is DevOps research and
- 44:37assessment uh a team uh within Google uh
- 44:42which uh researches and surveys and so
- 44:45on uh DevOps and development development
- 44:48practices software uh companies in
- 44:50general and looks at the problems like
- 44:52how teams are coordinated how they're
- 44:54communicating what have what are the de
- 44:57development and operations uh
- 45:01uh processes workflows and so on and AI
- 45:05is one of the things that have that they
- 45:08have been focusing in the past few years
- 45:10as well because of its rise in using in
- 45:13use in software uh engineering. So uh
- 45:17they've put up a really detailed uh
- 45:19survey in 2025 uh with a lot of really
- 45:23interesting insights. Uh uh the full
- 45:27survey is available on dora.dev. I
- 45:29highly recommend you to read it. It's
- 45:31full of really interesting uh tidbits.
- 45:33Uh this is one slide from the survey uh
- 45:36that uh shows how much and in which way
- 45:41people are using AI uh in coding. And we
- 45:44can see that most people are using uh
- 45:49the AI in in the ways that give them
- 45:52that still keep more control uh on the
- 45:54user side. So predictive text or
- 45:56autocomp completion and smaller
- 46:00uh smaller changes or interaction with
- 46:04the AI through chat but still uh doing
- 46:07most of the work manually and using AI
- 46:11to make broader uh code changes in an
- 46:14agentic way or doing uh autonomous
- 46:16agentic uh coding is uh most people are
- 46:21currently not use using that. So of
- 46:23course it's it's going to be really
- 46:25interesting to see how this changes in a
- 46:27year as the AI capabilities grow and as
- 46:31we learned to as an industry learn to
- 46:34how to use AI better
- 46:37in terms of the growth of the AI
- 46:39capabilities themselves uh just looking
- 46:42at LLMs as underlying technology. So
- 46:45basically you give it uh uh a
- 46:48description of uh what you want then it
- 46:51just gives you output without all these
- 46:53agentic uh tools and agentic loops and
- 46:56so on. we've seen uh the capabilities of
- 46:58these LLMs uh really grow um basically
- 47:03grow incrementally but this incremental
- 47:06growth in the past year from 2024 to
- 47:082025 has been able to uh really widen
- 47:13the uh the area of where LLMs or where
- 47:17where AI is applicable for coding. So a
- 47:22year before LMS were mostly used for
- 47:25really really small tasks not really for
- 47:29much agentic coding the just they just
- 47:32weren't good enough whereas now they are
- 47:35pretty useful in wide variety of cases
- 47:38still cases as I mentioned that that are
- 47:42suitable to to be run with LM so highly
- 47:46critical or really novel or pushing the
- 47:48limits or really like important stuff is
- 47:53not something [snorts] that you would
- 47:54just unleash LLM on. But the like the
- 47:58types of stuff and amount of stuff that
- 48:00LLMs can do today has definitely widened
- 48:03from uh the past year. And if we assume
- 48:05the same incremental uh uh progress on
- 48:08LLM, so no special extra uh inventions,
- 48:13just incremental progress as we've seen
- 48:16in the past year. It stands to reason
- 48:18that their applicability area will still
- 48:21widen and maybe even overlap a lot with
- 48:24uh with junior developers.
- 48:26And then it makes sense to ask okay uh
- 48:31what about those junior developers? How
- 48:32can they adapt? Well, how will will
- 48:36anyone uh hire juniors? Uh how will we
- 48:39get to seniors in uh 10 years after
- 48:42this? Uh I think that there's pretty
- 48:45good story and pretty good uh outlook
- 48:48for juniors as well. uh if they use AI
- 48:52as a like as a lever to learn and to
- 48:58uh improve themselves versus using uh
- 49:02the AI as a shortcut and it's really
- 49:04important that they have organizational
- 49:06support from that so that the
- 49:08organization understands that the junior
- 49:11using the AI uh will be basically mostly
- 49:14using it as a learning tool uh and then
- 49:17give that junior space and time and
- 49:20support needed to do it. Uh is if
- 49:23instead bosses and managers ask their
- 49:26juniors to work 10 times like to produce
- 49:2910 times more just because they have AI.
- 49:33This will of course cause juniors to
- 49:35just take shortcuts and then produce AI
- 49:39slop and the organization will be worse
- 49:41for this and juniors themselves will be
- 49:44worse for this because they won't be
- 49:45using these new uh capabilities for
- 49:49learning and improving themselves. It
- 49:51they will basically just be shutting off
- 49:53their brains. uh but definitely
- 49:56whichever way you look the capabilities
- 49:59of LLMs are going to make them more
- 50:02applicable in wider uh areas
- 50:06and this was just the LLMs uh basically
- 50:09they are the underlying like the AI
- 50:11systems the AI uh models that are the
- 50:14underlying technology that we are
- 50:16building those AI systems on but then we
- 50:18also have the tools built on top of LLMs
- 50:23like cloud code who is which is built on
- 50:26top of code which uh basically use this
- 50:30new technology in a way that helps us
- 50:32solve something helps us uh code uh
- 50:35easier do something autonomously and so
- 50:37on and basically this is still lagging
- 50:39behind the technology itself. So even if
- 50:42the LLM research stopped this very
- 50:44moment, we would still have a lot of
- 50:46time and lot of learning to do in how to
- 50:50effectively use this new technology and
- 50:54uh how to like maximize the benefits and
- 50:57minimize or eliminate the risks the
- 50:59problems that come with with new
- 51:00technology and LLMs in this regard are
- 51:03basically a normal technology as with
- 51:07any other that that really had huge
- 51:10impact on the world uh but still was a
- 51:14process of this invention adapt
- 51:16adaptation and then uh making it widely
- 51:19applicable. So uh the uh the mobile
- 51:24phones uh the uh internet the computers
- 51:28the like electric uh power the steam
- 51:32engine these were all first invented and
- 51:35then it took years or decades for the
- 51:37society to figure for the industry to
- 51:40figure out how to best use this new
- 51:42technology that we have and then even
- 51:44more years and more decades for the
- 51:47wider society or industry to apply these
- 51:50new processes, new applications, new
- 51:54systems, uh new ways of doing things
- 51:57with the new technology. So, LMS are so
- 52:00new that we're still in this innovation
- 52:02phase where we're trying to figure out
- 52:04what's the best best way to use it.
- 52:08So
- 52:10if we are going to be able to improve
- 52:12this coding or software development uh
- 52:15so much using AI this doesn't mean that
- 52:19we will automatically be hugely
- 52:21productive across all the things that
- 52:23like we maybe a software company is
- 52:25doing. The coding is just one step in a
- 52:29process that maybe uh uh starts with a a
- 52:33business strategy or a feedback from
- 52:36customer that then goes through
- 52:38determining uh what uh needs to be
- 52:41built, why it needs to be built, how
- 52:44this will interact with the rest of the
- 52:45company's business and so on. Then the
- 52:48coding, quality assurance, deployment
- 52:49and so on. So there's a bunch of steps
- 52:52and coding is just one. And if we hyper
- 52:56optimize this one step, this can
- 52:58actually create bottlenecks elsewhere in
- 53:01the system and make the entire operation
- 53:04uh the entire process uh uh slower or
- 53:09less productive. Imagine you're just
- 53:11turning out AI uh built code, AI written
- 53:15code and then somebody else needs to
- 53:19review [clears throat] that, needs to
- 53:20test it, needs to write documentation
- 53:22for it and so on and this basically
- 53:26swamps that those other parts of the
- 53:28system uh to to a standstill stand
- 53:32still.
- 53:34So uh one of the one of the takeaways
- 53:37from that Dora research that I mentioned
- 53:39is that the AI's primary ro role in
- 53:41software development is of an amplifier.
- 53:44It basically amplifies the strengths and
- 53:46weaknesses of organizations. uh for high
- 53:49performing organizations which have uh
- 53:52teams and processes that are coordinated
- 53:54and communicate well processes that run
- 53:56smoothly, AI can then improve the
- 53:59efficiency, improve the like strengths
- 54:02of these of these organizations. Uh for
- 54:05many of organizations that are
- 54:07dysfunctional in terms of how the teams
- 54:09are coordinating, how they are
- 54:11communicating, how the tasks are
- 54:13handoff, how like the whole process is
- 54:16is working. uh their AI can actually do
- 54:19more damage than good because it can
- 54:21amplify these problems.
- 54:24But however you look at it, uh AI is
- 54:28here to stay. We are not going to undo
- 54:30time, undo progress. And AI has a lot of
- 54:34potential to be very useful in software
- 54:37engineering and not just in VIP coding
- 54:39as in just quick throwaway code but in
- 54:42real software engineering to produce
- 54:43high quality uh production ready code
- 54:47but we need to understand that it is
- 54:51something that's that has a learning
- 54:54curve. It's not trivial to use it in
- 54:56good ways. We are still as an industry
- 54:58learning how to use it but we should
- 55:00approach it uh with the mindset that
- 55:02it's a tool and the still the
- 55:04responsibility
- 55:05the the uh
- 55:09end of the day end of the day who is
- 55:11whose responsibility it is uh who
- 55:14approves or who judges whether it's good
- 55:17or bad is us developers. So we need to
- 55:20put our stamp of quality on whatever
- 55:23we're doing. Uh even if that's partly or
- 55:26mostly written by AI. So basically my
- 55:29answer to the question of whether to
- 55:31wipe code or not to wipe code is to wipe
- 55:33responsibly. Thank you and see you some
- 55:36other time.
About this transcript
This page contains the full transcript of To Vibe-Code or not to Vibe-Code: Responsible AI-assisted software engineering by Senko Rašić, generated from the public captions YouTube serves with the video. The transcript has 8,448 words across 1,181 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.