Latest / Talk Python To Me / #517: Agentic Al Programming with Python
Transcript
- 0:00Agentic AI programming is what happens when coding assistants stop acting like autocomplete and start collaborating on real work. In this episode, we cut through the hype and incentives to define agentic, then get hands-on with how tools like Cursor, Claude Code, and LangChain actually behave inside an established code base. Our guest, Matt Makai, now the Vice President of Developer Relations at DigitalOcean, the creator of FullStackPython, and PlushCap, shares hard-won tactics.
- 0:29We unpack what breaks from brittle, generate a bunch of test requests to agents amplifying technical debt and uneven design patterns.
- 0:38Plus, we also discuss a sane Git workflow for AI-sized diffs.
- 0:43You'll hear practical clawed tips, why developers write more bugs when they get less time programming, and where open source agents are headed.
- 0:52Hint, the destination is humans as editors of systems, not just typists of code.
- 0:58This is Talk Python To Me, episode 517, recorded July 29th, 2025.
- 1:20Welcome to Talk Python To Me, a weekly podcast on Python.
- 1:23This is your host, Michael Kennedy.
- 1:25Follow me on Mastodon where I'm @mkennedy and follow the podcast using @talkpython, both accounts over at fosstodon.org and keep up with the show and listen to over nine years of episodes at talkpython.fm. If you want to be part of our live episodes, you can find the live streams over on YouTube. Subscribe to our YouTube channel over at talkpython.fm/youtube and get notified about upcoming shows. This episode is sponsored by Posit Connect from the makers of Shiny. Publish, share, and deploy all of your data projects that you're creating using Python.
- 1:58Streamlit, Dash, Shiny, Bokeh, FastAPI, Flask, Quarto, Reports, Dashboards, and APIs.
- 2:05Posit Connect supports all of them. Try Posit Connect for free by going to talkpython.fm/posit, P-O-S-I-T. Matt, great to have you back on the show. Welcome back to Talk Python.
- 2:17Thanks, Michael. Been a little while. Good to be back.
- 2:19It has been a little while.
- 2:21As I was entering your show details into the backend system for Talk Python to say what episodes are coming up in what order and so on, I have to enter the guest ID into that thing.
- 2:33Yes, it could be a drop-down list, but then there's so much scrolling.
- 2:35I just can't do it.
- 2:37And it's multi-select.
- 2:38So your guest ID is 29.
- 2:41We first did an episode together about Fullstack Python when I was sitting on the couch in Stuttgart, Germany, back when I lived there.
- 2:49How about that?
- 2:50Wow.
- 2:50All right.
- 2:51Yeah, it's been a while.
- 2:52I feel like that's like that credibility.
- 2:54You have that like only a double digit guest ID.
- 2:59Exactly.
- 2:59That's a low double digits.
- 3:01Yes.
- 3:02This is like a pro number in racing or something.
- 3:05Indeed.
- 3:06Well, that was the past.
- 3:08We talked about some awesome things then.
- 3:11The idea of full stack Python, I believe, was a lot of the focus, but it's honestly been 10 years.
- 3:16I don't remember exactly what we covered in detail.
- 3:19However, I can tell you, this is definitely not a backward looking episode.
- 3:24This is cutting edge stuff.
- 3:25Yeah.
- 3:26I mean, so much of this has changed over even three months.
- 3:30I mean, we'll talk about it all, but there's like the philosophy behind all this, the holy religious wars around what developers should be doing with it.
- 3:40And then let's dig into the details
- 3:43because that's the fun stuff.
- 3:44Absolutely.
- 3:45Absolutely.
- 3:46I would say it's certainly one of the most controversial topics in dev space these days.
- 3:52Well, it's almost like, if you remember when Django and Ruby on Rails came out and they were the new frameworks, even before all the JavaScript frameworks and everything like that, it was backend server, server-side code, and you could do so much more.
- 4:05I remember this was back when I was an early professional developer.
- 4:08I was working in Java with servlets in a framework called Tapestry and everything was so hard to do.
- 4:15And they tried to add so many layers of abstraction.
- 4:17It was like peak enterprise, Java development.
- 4:20How many layers of dependency injection were at play?
- 4:22Oh, yeah.
- 4:23And so then I would go home at night and I'm like learning Django.
- 4:26And I was like, I can't believe how much more I can get done in an hour than I did eight, nine, 10 hours a day working in the Java code.
- 4:34Not because there's literally nothing wrong with Java, but it was just that the frameworks were so well built for what we were trying to do.
- 4:43So that's the only parallel I personally have to like what is happening right now, which, and this is like 10X, 100X of what that is.
- 4:50It's like, if you use the tools properly for the right purposes at the right time period, because like a year ago versus today is very different, you can be wildly more productive.
- 5:03There's also the downsides,
- 5:04but there is substantial improvement to be had in certain areas of software development.
- 5:09And I feel like that is actually really the big takeaway.
- 5:15Among all the hype, break everything out.
- 5:16It's like, there's tactical things you can use this, agentic tools for LLMs that will 10X, 100X certain things that are super annoying about software development right now
- 5:26in a way that was previously impossible.
- 5:28Right. Summarize my architecture.
- 5:30Have you tried that compared to like, I have a hundred thousand lines of code and I've got to like study the crap out of it just to figure out what piece connects to what.
- 5:38I love the roast my code.
- 5:40Like, don't just tell me about it.
- 5:43Like, give it to me straight here.
- 5:45Like, how could this function be improved?
- 5:48Roast it?
- 5:49Okay, now tell me how I can improve it.
- 5:51Okay.
- 5:53And at the end, just give me a little bit of like ego boost because I need it after all the roasting.
- 5:58Yes, exactly.
- 5:59Well, it's like, okay, you roast me.
- 6:01Anytime you talk me down, Just include a little spirit lifting comment as well.
- 6:06Well, the best part is like, okay, roast me.
- 6:09Okay, if you're so smart, go fix it for me.
- 6:11Yeah, you're like, oh, that's right.
- 6:13It did work.
- 6:14Sometimes it does actually.
- 6:15Sometimes.
- 6:16Which is insane.
- 6:17Yeah, I think probably the best way I could say we should frame, people should frame this conversation to at least to get started with in their mind is a balanced take, right?
- 6:28It's not necessarily vibe coding.
- 6:31while that's hilarious and has spawned many amazing YouTube videos, right?
- 6:37But it's also, it doesn't necessarily make sense to imagine that these tools don't exist.
- 6:43And just out of principle say, well, I'm never going to touch them
- 6:47because I'm not going to replace coders with this.
- 6:49It's like saying, I was just playing a bunch with rough, you know, the formatting tool, right?
- 6:54And it's ripping through 500 files at a time on these projects I'm working on.
- 6:59Ruff format, ruff check fix, bam, 37 files repaired.
- 7:04I could have done that by hand and flexed my dev skills, but should I?
- 7:09No, of course I shouldn't.
- 7:10It takes microseconds.
- 7:10Would that be the best use of your time?
- 7:12It certainly does not.
- 7:14And so if these tools exist, well, then I think it comes down to like, well, what is the right way to use them?
- 7:19How do they go well?
- 7:20How do they go poorly?
- 7:21Yeah.
- 7:21Are they too expensive?
- 7:23That's spot on.
- 7:23I mean, what I find fascinating about this shift is like most professional developers have spent their entire adult lives just like learning new technologies.
- 7:35I actually don't know why this is any different.
- 7:37Like the whole point of being a developer
- 7:40is like keeping an open mind, an open philosophy of like, what can I learn?
- 7:45How should I be learning?
- 7:47Just that is what appeals to me so much about being a software developer is like this mindset of I go into this year not even knowing what tools I may be using by the end of the year because they may not exist yet.
- 8:00And I want to go learn them. And some of them I am going to throw immediately in the wastebasket
- 8:05and other ones are going to stick with me for potentially decades. And in fact, when it comes to LLMs, I had put out a post on X and I was like, I feel like Olama is one of those tools that I've added to my tool belt, like Django or Vim or Teamux that will be with me potentially for a couple of decades because it is just so straightforward and it makes it so easy to use these open-weighted models. And so that's incredible. 18 months ago, I hadn't even heard of this tool. And actually, it didn't exist before, I don't know, 18, 24 months ago.
- 8:40And here's something that I'm like, wow, this is going to stick with me. So I think that's what's maybe getting lost in a little bit of the hype cycle is we're developers. All we do is learn new stuff. Why is this any different from learning an open source project that you just found on
- 8:54GitHub? A hundred percent. A hundred percent. I'm definitely here with you on that. I'd see in other areas like education, I see it, you know, like write this essay for me. That's very problematic if you're in 10th grade and you're supposed to learn how to write an essay, but your job is to create software that works, add features, make it awesome. Like there's not a test. Yeah.
- 9:15Other than shipping.
- 9:45you if you're not a senior enough developer you're not experienced enough or you're not willing to dig deep enough you suddenly are stopped there's nothing you can do from there you're like no fix
- 9:54it fix it it doesn't matter how many times you tell the lom to fix it or the tool to fix it please
- 9:58or you go to jail yeah exactly yes there's people on the train tracks you must fix this right now
- 10:05my grandma's life depends upon it right you gotta make this database query work yeah well
- 10:11I think one thing that maybe is preventing people from embracing some of this stuff is, I actually don't even think that a lot of the terminology is clear. So if you'll allow me to be pedantic for a minute, I actually think that this is often the most insightful thing that I work with people on or tell people about, which is just like, what is the difference between an AI model, an LLM, an AI agent, and some of these other things? Because actually, people use these interchangeably.
- 10:38People will say Gen AI, generative AI, when they mean an agent or vice versa or an LLM.
- 10:44These are not drop and replace terminology for each other.
- 10:48They have very specific meanings.
- 10:50And I think particularly when I've seen the traditional software companies try to all of a sudden AI all the things, this is part of why developers get so annoyed with the AI ecosystem.
- 11:02Because it's like saying Django is not a...
- 11:07You wouldn't say web framework.
- 11:08you would say like, oh, it's an AI agent coding tool.
- 11:11It's like, no, it's not.
- 11:12What are you talking about?
- 11:12Immediately you lose your credibility, right?
- 11:14It's an AI generative web framework builder.
- 11:20Right, right.
- 11:20Thank goodness it's not.
- 11:21Thank goodness Django, the creators and the maintainers know what they're good at.
- 11:26And they're not trying to be a part of the hype cycle.
- 11:30Ironically, I think Simon Willison, one of the original Django folks, is one of the leading people in AI.
- 11:38I've learned so much from his writing.
- 11:39Yeah, absolutely.
- 11:40It's unreal.
- 11:40It's amazing.
- 11:41I, I didn't think that, go ahead.
- 11:42Yeah.
- 11:43I don't know how, I don't know how, I don't understand how he can be so prolific.
- 11:46He is incredible.
- 11:47Like he's, he's just like a true gift, to software development, having been on the leading edge of so many things.
- 11:54It's amazing.
- 11:55Yeah, absolutely.
- 11:56So if I could just lay out real quick, maybe for, for folks like a, an AI model was an AI model is typically when people are talking about that.
- 12:04Now, again, like there can be a little bit of nuance and gray areas with some of these definitions, but typically an AI model is something that is trained on some sort of training set.
- 12:13And it's been typically trained on the transformer architecture, which is a fairly recent, last eight years kind of development. And so this is really what's allowed the breakthrough when we talk about AI now versus AI a couple of decades ago when it was like complete AI winter and no one wanted to talk about it, is we've had this breakthrough in architecture and it's not just like one breakthrough. It is a tremendous number of breakthroughs around attention and the way that things are weighted and things like that. But essentially, to boil that down, you have these AI models. Now, an AI model is not equivalent to a large language model, an LLM. An LLM is one type of AI model. So when I was at Assembly AI, they were training or they are training state-of-the-art speech-to-text models is not an LLM. So a lot of times people will say like AI model LLM, but those are not equivalent. An AI model is a superset of the subset, which is like an LLM, which is one type of typically working on text modality. Although there are things called multimodal models, which could have different image inputs and image outputs and text inputs, text outputs, and stuff like that. But I think that's one thing where a lot of companies and maybe even developers who are learning about the space get confused. It's like, is an AI model and LLM are the exact same thing? No, there's a relationship there, but they're not the same. So then you have like generative AI, which a lot of companies just kind of like sprinkle that into everything that they talk about. It's like generative AI is really using AI models, typically LLMs, but also image generation and some other forms to create some sort of output. So it's the generative component of it. So you have some sort of input and then there's a non-deterministic set of outputs to come out the other side.
- 13:52So it'll be, for example, like draw me a red dragon breathing fire for the image generation.
- 13:57And that generative AI is basically using an AI model to produce that image out the other side.
- 14:04So those are some of the common terms.
- 14:06And then you have AI agents, which is a lot of what we talk about or we're going to talk about, which is it is using typically an LLM, but it's typically using some sort of AI model.
- 14:16And that is kind of almost think about it as like the core.
- 14:19There's inputs into the system and non-deterministic outputs that come out the other side.
- 14:22So you'll say something like, write me a bunch of unit tests and in Claude Code or in Cursor or in Windsurf, and then it will interpret those inputs and then produce code or some sort of output out the other side.
- 14:35So I think for developers who are trying to get into, how do I even understand kind of the AI space?
- 14:40It's actually really important to get that terminology correct, because otherwise you won't even know when you're reading, particularly for companies or people that aren't as familiar with the space, like what they're even talking about.
- 14:53So I always like to kind of like- A lot of the companies, yeah, their job, it's to their benefit to obscure
- 15:00and make it just seem like it's everything.
- 15:01Yeah, they want to seem like-
- 15:03Yeah, totally.
- 15:05There's financial incentives by some companies to like obscure what they're doing and make it seem much more complicated so that they can sell this solution.
- 15:13Oh, it takes this really complicated problem and streamlines it down to like some sort of simple solution.
- 15:17And that's like often not the case.
- 15:18Like when you peel it back as a developer, like, you're not really doing that.
- 15:22Right.
- 15:23So I think that's often where I think a lot of developers would get frustrated with the current state of the industry because you're like, no, it's not what you're doing.
- 15:32You know, like you're not, you're not doing generative AI.
- 15:34You're not doing actual agents because agents are, you know, and then there's like autonomous agents, which are like operating independently.
- 15:40So that's one thing I think developers can like take away from the conversation is just like, is the company accurately describing what they are doing?
- 15:49Yeah, I a hundred percent agree. And let me do a little sidebar rant and I'd love to get your
- 15:55thoughts on this. Okay. Yeah. So when I hear people say, I've tried AI, it's a bunch of AI
- 16:02slop. It just makes up a bunch of mistakes. I noticed a couple of things that are often the case when I hear those and have people avoid that, right? So one, a lot of times I feel like people are not getting the best experience. They say like, I tried this. It really wasn't for me.
- 16:20It just messes up more than it provides. They're using the cheapest free models that they can find, right? If you use, you know, Claude's Opus model versus some free model, you know, like a 3 billion parameter local model they're not even in the same category the type of accuracy and like insight and like the context do they they understand everything rather than well they only understand the last file they read like that that is like one half of the problem and then i think the other for people who are not being successful yet with this kind of stuff it has to do with not providing enough information and context and stuff in the prompt so i'll see like oh refactor this function it's like well, hold on. What, where, where do you even want it to go? Right. It's just going to like, start randomly doing stuff. Here's a function. It is similar to these. And I need to move this to this kind of design pattern, keeping in mind that I'm using this ORM and like, give it like the same amount of description you would to a junior developer who's not super familiar with your project. So you want to give that thing like a possibly a multi-page write-up of what it needs to do and then ask it to plan it out and then start working through the plan, not just refactor
- 17:36to be, you know, to do this or whatever.
- 17:39And I think those two things are both problems.
- 17:42They often go together because the cheaper models can't accept that kind of information and keep it working.
- 17:48Right.
- 17:48Yes.
- 17:49What do you think about that?
- 17:50I mean, I totally agree.
- 17:51I think also to like these models, you cannot just like mix and match and replace things.
- 17:56So you may have an experience with one model and also recognize that these models, even though Claude for Opus is the public name of that model, they are tweaking and tuning that model on the backend to figure out how they can more, maybe not profitably, but serve this model up at scale in a window of resources.
- 18:20So even within a given model, unless it is an open weighted model that you've downloaded, like you have under complete control, these models are changing over time.
- 18:29So this is like, I think that's actually been one of the most concerning parts for me as a developer.
- 18:35I was like, what if I rely on a tool and it changes?
- 18:39And I wake up one day.
- 18:40The tests passed last week.
- 18:41They don't pass this week.
- 18:42Right.
- 18:42I have no control or visibility.
- 18:43Right.
- 18:44I was productive last week or I was productive yesterday and I can no longer be productive today.
- 18:49And that's setting aside any downtime or API stuff, right?
- 18:52So I think the thing is, that's why I very much appreciate the vibe check, the whole concept of a vibe check, which is you get a new model or get access to a new API.
- 19:03And what are the individual components that you want to test?
- 19:06So even to your example of refactor, here's the ORM, that sort of thing.
- 19:11I started very, when I have a model, and I use a lot of Claude Code.
- 19:16I use a lot of Opus and so on now, but I'm sure this will evolve.
- 19:19I would love to try it with some open weighted models soon.
- 19:22And I will say something like in this URLs.py, because I work a lot with Django on the backend, I'll say update just the, I'm trying to add a new page.
- 19:34It's going to be at this route.
- 19:35Here is the, please update the URLs.py file for me.
- 19:40And like, here's roughly what I expect, right?
- 19:42Super specific.
- 19:42And if it can't even get that part right, the chances of you saying, okay, now build a new page, now build a new view, now do X, Y, and Z are very small. So you kind of have like the smallest unit that you would work with and then start building up. And it is a two-way street. Like you have to build confidence in that model over time. Like what are its true capabilities? And I will say like it's a lot of work, but it's a lot of work being a software developer and learning a new open source project.
- 20:09So it's actually not that different from just like, okay, pip install, new library, reading the
- 20:14documentation, all those things. But it's a different format of going back and forth with
- 20:19the computer. I think it encourages people to be less serious because it feels like a little chat, a little back and forth. Just, hey, I just asked a little question and it came with a cool answer.
- 20:28It doesn't speak, you need to study this and you need to really, this is a skill. It's like I'm having just a chat with someone you know or whatever. Well, it does open up, even if you set
- 20:41aside code generation. It opens up new capabilities that I would argue are useful for every single developer, regardless of how soon you are. So just being able to run Claude and in plan mode, ask it questions about like, where might I have security vulnerabilities in my code? Or where could I refactor database queries in order to compress the number of database queries within this view or where could I add caching that would be most impactful and don't even have it touch your code other than to read the code. That was actually like my big kind of breakthrough with LLMs was I was like, I'm just going to use them in read only mode. I don't need them to modify my code for me.
- 21:22I'm comfortable doing that myself as a developer. But once I got confident in the models being able to read the code, I was kind of like, eh, just like dip my toe in the water, like maybe modifying some things. And especially in Python, I've read a lot of scripts. I'm like updating data and I just, I don't know. It's not my favorite part of coding. So having models that can write for me,
- 21:41even if it's not perfect, and then I can modify it. I need to export this from the database in that format. And if it works at all, it's perfect. If it's not going to work at all, right? It's a little risk. Yeah. And an export from a database is,
- 21:53as long as you're not accidentally dropping a table, it is just a read-only, kind of like, tell me about my code. There's all these things out there that in software development are like, you have to do the analysis yourself, but if you can shortcut it with an LLM, that actually seems like a big win to me.
- 22:08And I don't actually see any downside to doing that.
- 22:11Like if, again, if it's, if it's a read only and you're not touching the code, that to me feels like only a win.
- 22:17It was, it's time that I've saved that otherwise I would have to invest myself.
- 22:23This portion of Talk Python To Me is brought to you by the folks at Posit.
- 22:27Posit has made a huge investment in the Python community lately.
- 22:31Known originally for RStudio, they've been building out a suite of tools and services for Team Python.
- 22:36Today, I want to tell you about a new way to share your data science assets, Posit Connect Cloud.
- 22:42Posit Connect Cloud is an online platform that simplifies the deployment of data applications and documents.
- 22:48It might be the simplest way to share your Python content.
- 22:51Here's how it works in three easy steps.
- 22:53One, push your Python code to a public or private GitHub repo.
- 22:58Two, tell Posit Connect Cloud which repo contains your source code.
- 23:02Three, click Deploy.
- 23:04That's it.
- 23:04Posit Connect Cloud will clone your code, build your asset, and host it online at a URL for you to share.
- 23:10Best of all, Posit Connect Cloud will update your app as you push code changes to GitHub.
- 23:16If you've dreamed of Git-based continuous deployment for your projects, Posit Connect Cloud is here to deliver.
- 23:23Any GitHub user can create a free Posit Connect Cloud account.
- 23:26You don't even need a special trial to see if it's a good fit.
- 23:29So if you need a fast, lightweight way to share your data science content, try Posit Connect Cloud.
- 23:34And as we've talked about before, if you need these features, but on-prem, check out Posit Connect.
- 23:41Visit talkpython.fm/connect-cloud.
- 23:45See if it's a good fit.
- 23:46That's talkpython.fm/connect-cloud.
- 23:49The link is in your podcast player's show notes.
- 23:52Thank you to Posit for supporting Talk Python To Me.
- 23:55Let me give people an example of something I recently did.
- 23:58And I want to kind of tie this back to like really emphasize the agentic side of things.
- 24:03So I have, I just checked, I have 530 GitHub repositories on my hard drive.
- 24:10I have three computers.
- 24:11I have like this streaming course live recording computer that we're talking on now.
- 24:16M2 Mac mini.
- 24:17I have an M4 Mac mini, which I usually work on, but I also have my laptop.
- 24:21And so every now and then, usually I'm on top of things, but every now and then I'll up a project and i'll start making changes i'm like oh i forgot to do git pull oh no oh this might be this might be bad you know especially if it's like a binary file like a powerpoint that i'm going to use for a course it's like there's no fixing it right you just yeah put them side by side and rename one and copy it over but it's it's not great and so i was sitting at my my um kitchen table on my laptop about to take my daughter to school and i opened up cursor with Claude Sonnet in agentic mode and i described what i want i said what i would like is for you to create a script that i can run as a single command that will recursively find all the git repositories in a certain whatever folder i'm in downward find that do a git pull on every single one of them and report out which ones have changed. I drove my daughter to school, which is five minutes, one way, five minutes back. I sit down. The thing was there. It had created little test directories.
- 25:25It ran it. It said, it looks like it's totally good. And I literally just now have that as a
- 25:29utility. I can just, when I sit down, I'm like, oh, it's been like a week since I worked on
- 25:33security. Just get refreshed and just give it a moment. And then boom, you can see a report of all the stuff that's changed across all the parts. Even on something amazing is like chat CPT. You agentic. So maybe like, let's, that's a long winded way of like saying, tell us about the magic of like, what is this agent and tool using aspect for it? Cause I think when I said my rant, it's not working for people. I think a lot of times people are not doing agentic AI. They're asking LLM to write functions or stuff, which is great, but it's not the same. Yeah. Well, I think, I would say
- 26:05like kind of the biggest thing, and I mean, there's like, there's multiple attributes to it. Like, again, going back to some of the definitions, it's like you have an LLM and that LLM, if it's running ChatGPT on your web browser, it's not going to have access to all the stuff in your codebase.
- 26:19Unless you have a public GitHub repository or something. But generally, when you're working in your local development environment, it's not going to have access to that stuff.
- 26:28To be fair, there are some tools that will take enough context and upload it to ChatGPT. But again, what you're starting to do is you're starting to get really far away from a natural workflow and into one in which you have to bend to how the LLM is set up.
- 26:46So to me, I think the simplest way that I would look at it as agentic is like, it's something that is running side by side with you.
- 26:53It's almost like, I don't want to say copilot because copilot has overloaded terms with like kind of GitHub copilot, but it is essentially like, think about it almost as like pair programming with like more junior developers.
- 27:04Other people have used that analogy.
- 27:06It's not perfect, but it's kind of the one that I have that kind of sticks with me.
- 27:10It's as close as we got, I think, honestly.
- 27:11It's as close as we got, right?
- 27:13You can tell it to go do stuff, and it's not just going to only read.
- 27:16It'll look around.
- 27:18It'll experiment.
- 27:19It'll try something.
- 27:20It'll see it's wrong.
- 27:21It'll try something.
- 27:22It's kind of independent.
- 27:24And I think the easiest one for a lot of folks to have tried, because it was the one that I frankly got the most comfortable with at first, was in Cursor, you have which is essentially VS Code.
- 27:36So, you know, cursor is like embedded within that.
- 27:38And then you have different ways of interacting with like an agent mode where you're just asking to do stuff, right?
- 27:45Like asking stuff about the code base or please to write this function, whatever it is.
- 27:50So I do think that like that works for some folks.
- 27:53For me, it was not kind of the light bulb moment.
- 27:55It was kind of like where I started initially using it was I would, if I was like, oh, I need to like use this new API or I need to like kind of like develop a script or whatever it is.
- 28:05It was kind of like my, because I don't normally work in VS Code, I'm like a Vim, Tmux, like for a long time, like that's kind of my natural environment.
- 28:12And I was never going to like kind of adapt my own workflow.
- 28:15And I think a lot of people are like that, right?
- 28:16Like you're in JetBrains or you're in Xcode or whatever it is.
- 28:19You don't, you, you, what there's a breakthrough for you is like to build it in a way to your work, your development workflow that just is, is natural.
- 28:28And I think that's kind of, not the canonical definition, but to me is kind of most representative
- 28:34of kind of like agentic programming is like it it's just completely a part of your workflow and you don't have to adapt so um so again like that that cursor mode is kind of like okay i'd use it for like one-off stuff for me the breakthrough was using was using Claude Code and i'll actually instead of talking about Claude Code i'll say here was the bet that i made my feeling was there was enough value from Claude Code uh based off of what i've been the videos that I've been watching, what I've been reading, and a lot of folks have been using it, that I was like, I'm a little worried about getting too reliant upon this tool, which is an API.
- 29:10And I will give Anthropic a lot of credit.
- 29:12They have done a lot of good work on these models, but I've also used Anthropic stuff in the past, which either had bad uptime or they were changing the model too frequently on the backside or things like that, that I was worried.
- 29:24And I think that's a natural thing as a software developer, should I really use this API?
- 29:30So I was like, my bet was, okay, even if I use this and it's amazing, if it goes away, I still need to be comfortable just like moving back to my workflow.
- 29:39Or there could be open weighted models in the future.
- 29:42Like I can just run Olama and I could run either Claude Code or Open Code or some sort of CLI that would allow me to just do the same things, right?
- 29:52I mean, may not exactly, but roughly the same things.
- 29:54So that was kind of the bet that I made.
- 29:55That was like the philosophical mindset shift for myself was I'm already very comfortable as a software developer.
- 30:01Let me add this in a way that doesn't break my coding workflow.
- 30:04I'm not adapting to these tools in a way that is unnatural.
- 30:09And then I will use them in ways that I feel like are actually going to be productive as opposed to forcing them to be used in ways that almost like all the hype cycle and the news media is talking about, you will never write another line of code again.
- 30:22I don't actually really believe that is true.
- 30:25I don't know.
- 30:26I feel like anybody who's saying that is not actually using these tools. And I actually don't think it's going that direction. So I don't know that that kind of sets the stage rather than like how I use the tools, like what was going through my mind as a software, as an experienced software developer of like, should I even make this shift? I don't know if that if you had to undergo that
- 30:45as well. I did. And I guess I haven't been as introspective about it as you. But for me, The real shift for me was I'm already a good coder.
- 30:57I feel very competent flying around.
- 30:59Our tool chain, I know yours and mine is like kind of quite different, right?
- 31:03You're very Tmux based.
- 31:04I'm very much often in PyCharm jumping around there, but we all are very fluid and capable, right?
- 31:10So you're feeling like this is like, I'm really productive and competent.
- 31:13And the last thing I want to do is just like spend my days in a chat engine.
- 31:17You know what I mean?
- 31:18Right.
- 31:19Like that is, that is not it.
- 31:20And I guess one of the main things, I sat down with a friend of mine, we were out having beer and he had his laptop, a friend named Mark, and he had his laptop.
- 31:28I said, well, let's just, man, I've been doing some really cool stuff with Agenda.
- 31:31Let me just, let's just do an example.
- 31:33And over like a beer, we built the most amazing app that would literally take weeks or a week at least, you know, knowing what you're doing.
- 31:42I got not, not, I'm going to learn these frameworks and then do it.
- 31:46But even with, like that actually changes my perspective.
- 31:50Did it use open source libraries and frameworks in order to, like, did the tool pull in a bunch of stuff and it actually stood up and built this application off of all the open source code, right?
- 32:01Yes.
- 32:01And it was ridiculous.
- 32:02It was a FastAPI app using SQLAlchemy to talk to SQLite.
- 32:09The web design was done in Bulma CSS.
- 32:12It used simple MDE for live markdown editing.
- 32:18And it just, it kept going.
- 32:21And one of the things I think is really interesting, and I know you have some thoughts on this as well, is it's the more you work with like new fancy HIP frameworks, the less well off you are, right?
- 32:33Like I could have said Tailwind, but Tailwind's got all these build steps and all these little nuances.
- 32:37Bulma is just include a CSS.
- 32:39And so it didn't have, that was like a thing it didn't have to worry about and so on, you know what I mean?
- 32:43Yeah.
- 32:44So I find it's like,
- 32:46I find myself trending towards more simple code than more towards frameworks, which is the opposite.
- 32:52I think.
- 32:52Yeah, well, there's I'll even take it a step further, which is I very much appreciate.
- 32:56I very I agree with you on the like less build steps.
- 33:00And in fact, like the simpler is often better.
- 33:02But I will say that I very much appreciate the opinionated tools and frameworks.
- 33:07And that's why I've actually had a better experience using Claude Code with Django.
- 33:15And a big piece is also, I've written thousands, if not tens of thousands of lines of code already in Plush Cap, which is typically what I'm building, if not some side scripts and stuff like that.
- 33:28And I will have-
- 33:29Let's do a really quick sidebar
- 33:30and let you introduce those projects.
- 33:33Just because I know it's really nice
- 33:35to be able to reference back and say, when I was adding this feature or this is the, so give people something concrete, you know,
- 33:40like tell us about full stack Python and Plush Cap.
- 33:43- So this is full stack Python.
- 33:44I wrote full stack Python.
- 33:46It's like over 150,000 words, all about the Python ecosystem, ranging from like the Python language itself to web frameworks, to deployment options, and content delivery networks, APIs, all sorts.
- 33:59So it was kind of like all the things around Python and it was broken down by conceptual ideas.
- 34:05So like data visualization and implementations, which I feel like is something that is not particularly obvious to people that are learning to program is like you have conceptual ideas and those have specific implementations.
- 34:16So a web framework is a conceptual idea across many different programming languages, but the specific implementations like a Ruby on Rails, like Rails, the framework, or Django, the framework, are the specific implementations within those programming ecosystems.
- 34:30And so that's essentially how I built out this site over 10 years.
- 34:34I will say that I only really work on one side project at a time.
- 34:39And Fullstack Python, I felt like, kind of run its course over 10 years.
- 34:43So I really haven't updated it in a few years.
- 34:45I still think it's actually relevant for most of it, but some of the links are a little bit dated and things like that.
- 34:52And it's not been brought into the conversation that we're having around coding agents and things like that.
- 35:00It is still relevant, but I would say not as relevant as it was when I was updating it literally every day.
- 35:07Right.
- 35:07Back in 2016 or something like that.
- 35:10Yeah.
- 35:10Yeah.
- 35:11And I also, I struggle a little bit because I would love to go back to working on full stack Python, but what I struggle with is you can ask LLMs about all of this stuff and it will give you very good answers.
- 35:22And so a lot of what I was doing was just bringing like as an experienced software developer, like writing almost like essays on like, you can see here, like, why are web frameworks useful?
- 35:32You can ask an LLM like why web frameworks are useful. And actually it'll probably give you a better answer than what I've written here, because it's going to incorporate tons of different sources. So that's where I've struggled a little bit with like, as you know, the chat models based on LLMs, especially as they've added search have gotten better. I'm not really sure how to add enough value on top of what an LLM can tell you to justify a substantial investment in writing.
- 36:00And then also, the one challenge with Full Stack Python is it's a statically generated site. It is primarily Markdown built with Pelican, which is a great static site generator in Python, but it was a lot of writing and it wasn't as much coding as I wanted. The site is kind of the site And then you add a ton of content to it. To me, I really wanted to get back to, especially now as a VP for the last several years of my career in executive level, I don't get a lot of time day in and day out to code. And so I really wanted something that I was coding every single day on nights and weekends and just doing in my spare time.
- 36:39So that's kind of where I shifted to this project, PlushCap, which is at plushcap.com.
- 36:43So this is like a landscape of developer-focused companies with self-service motions.
- 36:49So the hypothesis behind this was like when I was at Twilio, we were tracking developer content and events and other competitors.
- 36:58And it wasn't back then, but now YouTube is a really important source for teaching developers.
- 37:05And so I want to just like to aggregate a lot of this data.
- 37:10So that's what I've done.
- 37:11It's essentially 500 developer-focused companies across all different stages from like pre-seed all the way to publicly traded companies, where they stand kind of in their competitive position.
- 37:21And then like leaderboards that will show you like how many videos and views and subscribers do different companies have.
- 37:28And so like there's just a lot of data analysis, a lot of data visualization, a lot that essentially just goes into, like, if you go to, if you scroll down on Airbyte and you go down to, on this page, if you scroll down to the website structure and click on the blog, like, sorry, if you click on, go back and just click on the blog or just go up a little bit, the blog posts.
- 37:52Gotcha. I see.
- 37:53Under content category, this lays out the number of blog posts that was published per month by the company. And so just being able to visualize like their content patterns and trends is like, been helpful for me as I talk to companies about their go-to-market motions with developers and developer marketing, things like that. So anyway, this is a Django project running on DigitalOcean, Cloudflare as a CDN, a ton of Python, a ton of database stuff on the back end. So for me, I just love digging into this and I use coding agents and they've really greatly accelerated what I can actually do with this.
- 38:34Because what I'll do is I'm in meetings all day.
- 38:37So in the start of the day, I'll just tee up like a bunch of stuff that I want to get done.
- 38:41And then throughout the day, as I'm like getting out of meetings, I can just hit like, okay, okay, like good.
- 38:45And I just run it all on my own computer.
- 38:48And then I've got my work computer, I got my own computer where I'm like running all this stuff.
- 38:52And like periodically when I'm taking a break, I'm gonna be like, okay, yep, that looks good.
- 38:55Or no, I don't do that thing, right?
- 38:57So to me, it is like having a development team, even just a small development team, because I'm not doing like huge stuff to actually implement things. So that's really where I use all these tools. And I have an established code base. I wrote the code base myself over three years by hand. So now I have all the design patterns.
- 39:15I have an opinionated framework with Django. I've already chosen the vast majority of the open source libraries that I need. And it is mostly about the coding tools, pattern matching against what I've already done to create a new visualization or to create a new scraper because I'll scrape all the content from all these sites.
- 39:34So if I add a new company in the database, I have to write some custom web scrapers in order to get all their data. And that stuff is annoying. I've already written hundreds of those. So I'd rather just have- You're done right now.
- 39:48And then out the other side comes something that I can actually use.
- 39:52And I don't have to do all the grunt work because I've done a lot of that myself.
- 39:55Yeah. There's no more lessons to learn by making you- figure out their nav structure.
- 40:01Yeah.
- 40:01Or like, you know, I'm pulling like, okay, which CSS class corresponds to like the author name of the blog post so that I can get some structured data out of what is otherwise like unstructured data because it's every single company has a different blog format, right?
- 40:16So.
- 40:17Yeah, I think this,
- 40:18you touched on two really interesting things here.
- 40:20First, well, three, I guess.
- 40:22One, PlushCap is super cool.
- 40:23Thanks.
- 40:24Yeah.
- 40:24Two, having a low stakes project that you can just kind of go mad on with agentic AI
- 40:32and it's not going to end things or end badly.
- 40:36And three, I think this is really interesting.
- 40:39And I've noticed the same trends for me as well.
- 40:42But having already created the project, having really carefully thought about design structures, like, okay, it's going to be in this folder structure and it's going to follow this design pattern over and over using these three libraries I like.
- 40:55Not the most popular ones, necessarily, but the ones that I think I want to work with.
- 40:59Putting that in place really limits the,
- 41:02oh, it just, why is it using NPM?
- 41:05This is a Python project.
- 41:06What is it up to?
- 41:06You know, like it's way, way more focused and more likely to be aligned with what you were hoping it would do in the first place.
- 41:13And you need to choose the tools that you can debug the best.
- 41:18And so for me, like this is a Bootstrap front end.
- 41:21There's a framework called Tabler, which is built kind of on top of Bootstrap, which makes it even easier to build kind of these admin style interfaces and pulls in.
- 41:29I think it's I think it's chart.js.
- 41:32Apex might be Apex.
- 41:33I was using a few different charting frameworks.
- 41:35So it might be like Apex or something now.
- 41:37But the whole the whole point of like choosing your tools and being opinionated about your tools, I think actually helps a lot because then you don't have to get up to speed on the framework or the library before you debug the problem that the LLM created, because the lms are typically gonna they're gonna get you often 95 of the way there and you can keep prompting them but it's often it's often better to just like go fix it yourself there might be like a one-line tweak or something like that um that you need to do as opposed to like trying to get it to like sometimes it feels like getting the last like five to ten percent of polish is like finding a needle in the haystack because it's changing too much often whereas if you can just go in and and modify it yourself, you're not going to, you're not going to introduce additional noise into the development process.
- 42:25Yeah.
- 42:26I have a, but seems like an out of left field question, but it's not.
- 42:30What about Git and source control?
- 42:32Oh, yeah.
- 42:33So, I mean, that's the thing that we haven't talked about, which is like wildly important, which is like after when I'm letting something run, it is off of either it's either in a separate Git branch from running a bunch of things, or I actually like a grant, I have some simplest simplifying assumptions with my own code base.
- 42:50I've split the code base into multiple parts.
- 42:54So I have scripts where the scripts are like web scrapers.
- 42:59And if I'm updating things through an API, like I use the YouTube API.
- 43:03I use the PyPy API.
- 43:07I use a bunch of different APIs to get data into the database.
- 43:10So I can have an agent running on that thing.
- 43:14And that's separate.
- 43:15I actually only have those things interface with an API that is running with Django framework with the main production application database.
- 43:23So I've created a layer of abstraction where I can have an agent running on this thing over here.
- 43:28Then I can also have it running on the main application code base.
- 43:32And as long as we're not changing anything about the API, then I know that they can make their changes separately and that they're not going to interfere with each other.
- 43:41And all of this, going back to your original question about Git, I'm just constantly just doing Git add, Git commit.
- 43:47The one thing I've definitely noticed about some of these tools they will go off and create a bunch of different files.
- 43:53And so you do have to get pretty careful with like, I used to just do, you know, git commit, all the things,
- 44:01git commit dot, or no, sorry,
- 44:03git add dot, git commit with a little message.
- 44:06And I've learned like, oh, geez, like there's some debugging files that it actually didn't remove.
- 44:10I got to like manually remove those.
- 44:12Now, again, like I think a lot of these tools, you can configure them to like get rid of those problems.
- 44:18I think that that's the thing that's really improving quickly now.
- 44:21So if you ask me, like, what's the thing now that's really annoying that will likely be much easier a year from now, it will be like, you're going to have a standard like claw.md file that gives instructions that's just going to be like standardized.
- 44:35It's like how everybody has a git ignore file.
- 44:39Like you just kind of copy it from somewhere, right?
- 44:42Yeah.
- 44:42And then you modify it a little bit.
- 44:44But like the vast majority of it's the same.
- 44:45Like that's where we're going to go, right?
- 44:47Right.
- 44:48Right.
- 44:48You're like, oh, this we've all tended towards this.
- 44:50Yeah.
- 44:51And so that goes back to my, you're not prompting enough sort of things, right?
- 44:55Like if, if you're opinionated about how your project is built, put that in there.
- 45:01And a lot of times these agentic tools have like a rules file, like cursor has a dot cursor rules and stuff that you might put in there is my preferred web framework is FastAPI.
- 45:11When you install things or create a virtual environment, use uv, not Python's native, right?
- 45:19And you'll see it when it's working.
- 45:20It'll say things like, I know that I'm supposed to use uv, so it'll run uv pip list when it's checking if something got installed right.
- 45:28And it'll even like sort of remind itself from what you've said.
- 45:30And it's those kinds of things that keep sit on track, right?
- 45:34So I would say one of the things people should actually put more effort into than maybe they initially think is like setting up these rules about just your general preferences yes and uh i think
- 45:43it was armin roniker had a really great uh tip the other day where essentially like you can just use i believe it's a hook in Claude Code and it's like basically if the um the lm tries to use a pip install something it will actually throw an error and it will know based off of that error that it should be using uv uh and so you could add enough of these hooks and so like what i anticipate is like over time, number one, like people will develop some level of standardization for these, like right now, the configuration files are very fragmented across the different agentic tools. So you can't quickly swap from like one to the other, like, and like there's a Gemini CLI and there's a cloud, you know, cloud that has a configuration, both for project specific and for all your development workspaces. My guess is like a lot of this stuff will start to get standardized, just like MCP was standardized and an open standard. And then it will make it much easier for people to just transpose their development preferences from one tool to the other.
- 46:44So my guess is that's probably what's coming over the next 12 to 18 months. And if the big companies don't want that to happen, they'll be left behind by the open source tools that will make that much easier. I think the other thing is I actually don't... I don't know. Maybe I'm one of the balls with them. I don't, I have a VMRC, like for my configuration, I don't have like an insane number of extensions or, you know, or I guess plugins, or like a huge VMRC or anything like that. Like I actually try to keep things relatively standard. And then just focus on the patterns that are most important or the configurations that are most important. And I I'm still kind of like that with, with using Claude Code, I do have, you know, cloud and defy on stuff. But I also found that it's not 100% accurate. And so I think there's going to be a lot of development around making sure that the tools adhere to the practices that you really want. Because right now, I feel like if you want reliability in code formatting, you need to run the code formatter as a separate step as a part of your build workflow. The agentic tools are just not... Maybe I'm not doing it right.
- 47:55I'm reliable now.
- 47:56I've gotten, Claude Sonnet to, to know that it's supposed to run ruff format and ruff check --fix whenever it finishes anything.
- 48:04And so it'll, at the end it'll say, and now I'm supposed to do, you know, this to make sure it's tidy and like the style you like according to your rough Tom, all right.
- 48:12Yeah.
- 48:12And that, that makes sense.
- 48:13I mean, it's, it's not, sometimes it doesn't.
- 48:16Right.
- 48:17But you usually do what do you, what's wrong with you?
- 48:19I know.
- 48:19Yeah.
- 48:20And also I feel like everything that you add to the agent, like the more and more steps than you add, actually, again, this will change over time, but I feel like it actually gets less reliable. And also the number of steps, I would rather just have it run a script that will handle all those things before I'm ready to commit, rather than having it run all the time.
- 48:39Because I've also found that sometimes I want to add a tool for code formatting or something, and then it slows down the whole process too much for me. And then the main thing with these tools is I want them to be extremely fast. And that is probably the biggest piece of advice I can get to any of these companies is like why Claude Code over others?
- 48:57Like it is insanely fast, even though the LLMs require, you know, processing time and stuff like it's responsive.
- 49:03And so like my guess is like that's also where a lot of the open source tools will go as well.
- 49:07They'll just be really fast and responsive, just like Vim and T-Monks are.
- 49:10Yeah.
- 49:10Leave it to a Vim user to say it's not fast enough.
- 49:13Just kidding.
- 49:15Yeah, exactly.
- 49:16So I think maybe just like some quick shout outs to some of the tools, right?
- 49:21So Claude Code obviously is a really interesting one.
- 49:24You've been talking about that a lot.
- 49:25I've mentioned Cursor a few times.
- 49:26I think as much as I'm a much more fan of the PyCharm style, I find it to be very effective.
- 49:33I've done some stuff with Juni, which is kind of a new project from JetBrains.
- 49:37Like JetBrains has had an AI agent that was kind of like a super duper autocompleter.
- 49:42And maybe we could talk about that difference as well.
- 49:44But it's like a super duper autocompleter.
- 49:46but then they have a separate completely different install thing that is an agentic ai called juni and i think it's making good steps it like really integrates with PyCharm if you're you're into that
- 49:57um yeah well and that's been the evolution right like we had yeah GitHub copilot which was essentially like a very fancy auto complete it kind of it would complete your code for you but it was not an it wasn't an agent in any meaningful capacity like that's what kind of kicked off some of this stuff of like wow it's really great autocomplete and i think a lot of the tools follow that pattern. Even when you would use cursor say a year ago, it was very much like auto-complete, at least the standard pattern, right? Before they had the agent mode.
- 50:26For sure. And that never really connected with me. I'm like, I don't need that. I can just, I can auto-complete it word by word. I don't really, because half the time it'll auto-complete like three or four lines. I'm like, yes, but not that line. And how do I get it to auto-complete
- 50:39the next? I guess I got to accept it then go edit that part. You know, like it's just,
- 50:43I never really vibed with that, but the agentic mode, that is next level stuff.
- 50:48Also, if you're a PyCharm or VS Code user, the Claude Code integrates in both of them, right?
- 50:55Yes.
- 50:57So maybe talk, I know you're using Claude Code, so maybe tell people what it's like and why you like that one.
- 51:03Okay, so I started using Claude Code like six months ago, but I was using it off of the API credits, which was before they came out with the plans.
- 51:11Started evaluating it.
- 51:12I was like, this is going to be way too expensive.
- 51:15Like this is going to be- Yes, it is very expensive very soon.
- 51:18I was like, based off of my usage patterns, like just like monthly, it's probably going to cost me over $1,000 a month.
- 51:25I was like, this is just not, it's not worth that, right?
- 51:28So then they came out with the max plan, which was I think originally $200 a month.
- 51:32Now they have $100 and $200 a month, which I thought was interesting, right?
- 51:35But I was like, I talked to enough people that did use it.
- 51:37And I was like, that's interesting, but I'm not that comfortable with this workflow yet.
- 51:41They came out with the pro plan, which was $20 a month.
- 51:43They said, okay, I'll try it for a month.
- 51:45It was almost like a, to me, it was almost like a free trial.
- 51:48Like I'm willing to invest $20 into a course or whatever it is like 200 is like a pretty high bar, but 20 bucks.
- 51:54I was like, yeah, okay, fine.
- 51:56Even if it, even if this sucks, I'll just, I'll try it.
- 51:59So I maxed out the pro plan.
- 52:01I was like, I'm gonna get every drop out of the pro plan that I possibly can for my 20 bucks, and then I'll make a decision as to whether I want to upgrade or not.
- 52:08I was like, this is good enough.
- 52:11And that was only with the Sonnet model.
- 52:13It wasn't the higher Opus model.
- 52:14So there's a lot of stuff that was a little bit more limiting about it.
- 52:17We have to give a lot more instructions.
- 52:19It wasn't as good as architecting things.
- 52:21But I got enough out of it.
- 52:22I was like, okay, I'd be willing to upgrade.
- 52:25And so I'm actually currently now on the $200 a month plan.
- 52:28I think it's worth it.
- 52:29I will say that it also, for me personally, it forces me to be a little bit more addicted to using it.
- 52:37I want to get my money's worth.
- 52:38and so there's a, there's a, a tool called CC usage, which, was originally just for the API, but now, is it'll just give you your usage patterns.
- 52:49Even if you're on the, the, you know, subscription plan, I will say like, my usage yesterday was, if it was by API would have been $105.
- 52:58So, you know, over a course of a month, if I was actually consistent, I'd be spending over $3,000 a month off of API credits, which is just not, not sustainable.
- 53:06Right.
- 53:06Yeah, there might be people out there listening who think, you know what, Matt is actually crazy because $200 a month to some random AI thing when I'm a developer is insane.
- 53:16But if you had somebody who worked for you, who you could give detailed instruction to and have some reasonable expectation that they can get it done independently, and you said, well, that person you hired is $200 a month, that would be insane, right?
- 53:29And this, you can really turn this thing loose and get a lot done.
- 53:34But I think one of the mind shifts, at least I had to make was if I'm going to pay for one of these AIs at a level like that, you better make use of it.
- 53:42And you better have a plan that like, this thing is, this is how I'm going to take advantage
- 53:46of it.
- 53:46But when you do all of a sudden, you're like, wow, this is actually a bargain.
- 53:49Yeah.
- 53:50Well, and let's, let's compare it to like another like AI tool that I use, which is Descript.
- 53:54And I use Descript quite a bit.
- 53:55Descript is for creating, you just record video.
- 53:58And then you can edit off of the transcript and it'll like edit the video.
- 54:02It's not perfect, but it's very, very good.
- 54:05And I'm on like, I don't know, it's like 150 bucks a year or something like that.
- 54:09I use it a lot for everyone.
- 54:11Like my teams are remote distributed and I like to record videos just so they can hear from me like in five to 10 minute increments of like, here's what I'm thinking about or shout outs or whatever it is.
- 54:20Right.
- 54:20So I use it like quite a bit internally, but like if I don't use it for a week because I'm traveling, I don't feel bad about it.
- 54:27And so like, but that's 150 bucks a year.
- 54:30Like I get enough usage out of it at 150 bucks a year that if I don't use it for a week, it's not that big of a deal.
- 54:35200 bucks a month is like a really high bar.
- 54:37And so my bet there was just like with the $20 a month plan was, if I don't use this enough, I'm going to cancel it.
- 54:44And the other bet is I think eventually that the open weighted models are going to get really interesting here.
- 54:51And so I just want to be on the edge of seeing this ahead of time.
- 54:56And so I look at it as a little bit of an investment in my own learning.
- 55:02And so to me, there's just no replacing hands-on time with the tools, right?
- 55:08And so that to me is really what this is about.
- 55:11And to be fair, I've used other tools, other APIs, developer tools, where I paid for them.
- 55:18It's actually a browser-based, which is like a web scraping tool, is awesome.
- 55:21I have paid 40 bucks a month here and there to use it.
- 55:24And then when I don't use it enough, I will just downgrade my plan.
- 55:27And you kind of have your short list of things that you're using as a developer, as a time, as opposed to thinking that it is like indefinitely, I'm going to be paying for this.
- 55:36Yeah.
- 55:36Yeah.
- 55:36I definitely think it's important for people to maybe not try the $200 plan, but like the $20 plan or something, if they're interested in these things, because it's downloading a free model that runs on your local machine, that 3 billion parameters and saying, well, I tried AI and it doesn't work is not the same as, as trying this, this type of thing.
- 55:56Right.
- 55:56Right.
- 55:56It's, it's, it's really, really different.
- 55:58Yeah.
- 55:58Well, and also think it's, if you have a, I think that's why my situation, okay, let's,
- 56:03let's maybe like set up a little framing of who I think this is most valuable for.
- 56:07If you were like an elite developer and you're working on things like embedded systems or things that absolutely cannot break.
- 56:13I actually think there is less value for you here.
- 56:15I think the read only mode is valuable in that.
- 56:18like analyze my C code, where could there be like, you know, like memory, you know, buffer, buffer or bullet attacks or whatever it is. Right. But I think if you were building like side projects, like I'm not trying to like monetize like plush cap really, but like, you know, maybe someday I will. I just really love building plush cap. Like I think if you have a side project and for you, like you're building courses, you have your website, like there's a lot there that if you just had more bandwidth, you could build so much more cool stuff.
- 56:49Like, yeah, like when you have a backlog of ideas and you don't have time to build them, that's actually where I think these tools are most valuable because you can build a lot of those ideas and some of those ideas might be stupid and then you can just throw them away.
- 57:03But the ones that you, if you can just clear your backlog and come up with new ideas, because this thing is just, you're able to ship so much faster.
- 57:10Even if you have to refactor by hand, that's amazing.
- 57:13Yeah.
- 57:13I have three projects that are like sort of side project-ish, but are like related to Talk Python in various ways.
- 57:21And yeah, it's just turn the stuff loose on it and see if it's a good idea.
- 57:24Who knows if it'll see the light of day, but it goes from, can I dedicate three months to that to, well, let me try an afternoon.
- 57:32Yeah.
- 57:33See how it comes out, you know?
- 57:34Let me show you like something that I built purely off of like Claude Code.
- 57:39if you go to if you go to plush cap i have a um a leaderboard uh of youtube channels and by company so you've got i actually have you know all almost 500 companies in there but it cuts off at a thousand so yeah if you go to leaderboards youtube um you know there's there's 231 companies listed here and all 231 are um uh have over a thousand subscribers now the thing that's interesting out like i was just showing this to someone and they're like oh you know it'd be really interesting is like you have like subscribers, you've got videos, you've got views. And if you click into like views, like if you click into the number of views, this is total views over time. It's a visualization of like, you know, what, how many views, OpenAI has on their YouTube channel over time. They were like, what would this look like? You know, cause they're, they're producing more and more videos. So are, is the average number of views going up over time or down?
- 58:34Like, are they becoming more efficient or less efficient?
- 58:37So I was like, I wonder, like I already have subscribers, videos and views.
- 58:42I have the visualization.
- 58:43I literally have the pattern for what I would like this to be.
- 58:45And yeah, there now you can see actually they're becoming less efficient over time as they add more videos and there's different ways you can slice this data.
- 58:54So I've actually got like a bunch more ideas just from creating this view.
- 58:58But this view was based off of the pattern that I had already created.
- 59:02And so it was just basically like using the Django ORM to pull the data, you know, create a new web page.
- 59:08And I could tell whether it was correct or not and then like tweak it.
- 59:11So it had the pattern and it just needed to mimic that in a way that was a new view and visualization.
- 59:19And I feel like that's what this is.
- 59:20Pull new data, make a new page, but it's pretty much the same.
- 59:23Exactly.
- 59:24Yes.
- 59:25So this isn't like, you know, rocket science or anything like that.
- 59:28But for me, like I wanted to build this view.
- 59:30I actually, the interesting part about the story is like, I talked to somebody in the morning and I shipped this like when I had a quick break and I was like, I sent it over to them and I was like, Hey, I built this thing. and actually no, it was my, my boss at work at DigitalOcean.
- 59:45He was like, cause we're looking at our YouTube channel and he's like, I wonder what the average views are over time. And I like, I was like a few hours later, I was like, I had a break, I shipped it. And he's like, this is crazy. Cause we use, you know, we use this data as a part of
- 59:55running my, my org, like Debra and stuff. So yeah, absolutely. Because whenever we have an idea,
- 1:00:00we're like, what does the data look like? Or what, especially when you can compare it across
- 1:00:03companies, that's really helpful. Yeah. It's the perfect type of thing. I absolutely love it.
- 1:00:08So let's close this out. We got maybe take a few more minutes and let's, let's give people some concrete tips. Like for example, when we talked about Git, you know, check in off to let it finish a job, save it and check that in. And don't let it just go wild for a while. Cause if it goes of bonkers and you're like oh i hate that you're like but that's also hours of work that's gone you know what i mean like use use source control as a um um sort of a save along the way
- 1:00:35um you've got a bunch of tips and stuff very give us tips yes i know okay number one thing i actually feel like i can clear uh i have better clarity around technical debt and how important it is to get rid of technical debt now because if an l if you're using the like an agent and it it like is looking to pattern match to what you have in your code base, and it finds the area that you know is basically technical debt, and it copies that, and you're not really on top of looking through the code, it will often copy design patterns that you really do not want in your code base.
- 1:01:08And so I actually feel like it allows you to make the argument that cleaning up technical debt is more important when you use LLMs and agents than when you were doing things by hand where you knew So as a developer, I'm just going to ignore that section of the code and I'm not going to use it.
- 1:01:25So that's like a very specific tip, which is like, if you are going to pattern match against something you're doing in your code base, make sure it's not copying the area that you know is a problem.
- 1:01:35And then just like shipping that.
- 1:01:37I think that's, that's one really.
- 1:01:38You don't want to supercharge your bad habits.
- 1:01:41Yeah.
- 1:01:42Yeah.
- 1:01:42I would say on top of this, you absolutely do want to clean up technical debt.
- 1:01:47you can, when it's done, say, great work, that's valid, but now please apply some dry principles and some design patterns that you know that we're already using and just polish this up one more time and you'll get pretty good results. On the other side is if you've got a project that's got a ton of technical debt, you can kind of just have this conversation with the agentic AI and say, help me understand, where are the long functions? Where is there too much coupling? Let's start breaking that down. And when it's in that mindset, it's, it's pretty good at like addressing those
- 1:02:20problems. Right. And that's, that's the flip side of like the technical debt is like, it should be easier, arguably to clean up technical debt, because if you fix something or you're, you're asking the L like the agent, like the introspective, like how could this be improved? What are the design patterns? And particularly like, at least in clock code, there's like a plan mode. I use plan mode. It's like a shift tab. I use it all the time because then it's not, it's going to just like tell you what it's going to do, not go and do it, not going to make any changes. And so I will ask it, like, how can I optimize these database queries? How can I simplify this code without oversimplifying? That type of thing. And that's actually really helpful for just identifying what changes actually should be made. Then I can make the decision, are you going to go ahead and implement those? Or should I just go ahead and implement them because they're easy enough for me to make the changes myself. Awesome. Next tip. Yeah. So I feel like you've already talked a little bit about this. Like the context is really important and the prompting is important. I will say that like where I've failed in the past and I like was not happy with the LLMs was like, I'd say something like, can you just write a bunch of unit tests for this thing? And like, of course, it's not going to have enough. Like I give it the code that I want it to be testing. But now what I found is like I, when I, after I have it write some code, I will say like, okay, now write me like a few happy paths and I'll like evaluate the happy paths and I'll be like, write the unhappy paths. And I'll like, look at those and how it's failing. And then I'm like, what are the edge cases? And so you just have to, even if you're like, a lot of people are like, oh, here's how you write the perfect prompt. Like I actually really hate doing that because what if I wrote the perfect prompt and it still didn't give me what I wanted at the other side? I just tend to
- 1:04:00have to tell it it's going to go to jail please you know no i just tend to be really incremental
- 1:04:05i'm like really specific like just like again going back to like that junior developer mentality it's like just write me like three happy path tests to test this function yeah like give me some inputs and the expected outputs okay now i want you to write the things that like basically would break it and make sure that it doesn't break so what that does is like rather than i i have not found success or it's been a lot harder with like write me a bunch of tests both happy path the non-happy path and then it's kind of you know depending which model you're using or what day you get like it may or may not be correct and so i brought it's also think about like for yourself and your own sanity when you're doing reviewing the changes that it's making uh you really want it to just like be consumable like okay those are the happy path and mentally you're like okay happy path tests or mentally not that um you should if you instruct it in the way that you want to consume the information that it's created out the other side, that can actually be really helpful as well.
- 1:05:00Yeah. I find it's terrible if you just, this, this project needs tests, write tests. It ends up testing like just the smallest arbitrary aspects of the code. And you're like, what is this?
- 1:05:09Like now I got to maintain this junk that like one plus one is two. Like, no, this is not what I want from you. Right. You got to be really specific and do bite size. And it's a little bit of the plan to like maybe plan out like the types of tests we should have. Okay. Let's do this first one and focus, you know, like really guide it a little bit, treat it like it's, it's a junior that's kind of new to this stuff. Don't just, you wouldn't tell the junior, like we need to refactor the architecture. I'll see you next week. You're like, well, what are you going to
- 1:05:35get back? You don't know. Yeah. Well, maybe, maybe like three quick, like lightning round tips.
- 1:05:40Yeah. One of one, one of them mostly just, I thought about because I do this with, I have been doing this for years where if I'm working on different projects or different part of the code base, I will just use different terminal backgrounds, different colors. This is my blue terminal. So blue is where I've got Tmux and Vim, and I'm running a bunch of stuff. Exactly.
- 1:06:02And then, yeah, I think my colleague, Amit, tweeted about this. And then black will be, I'm running the server, I'm running my task queue, all the stuff that is running right now, local development. Then if I'm tailing a bunch of logs on the server, that'll be in another
- 1:06:19different color. So just mentally- Does this happen automatically?
- 1:06:22No, I actually just open up separate terminals. And then within that, I'll have different team
- 1:06:27accessions running where I can just be like, again, it has nothing to do with the computer.
- 1:06:32It has everything to do with me. A lot of times just doing a ton of context switching. So I've found this to be applicable as a pattern for the agents. If I'm having an agent that works primarily on one part of the code base, then I will just have that be blue. And then another part of the code base have a B black.
- 1:06:49Right.
- 1:06:49So, again, like I also, this maybe goes right into the second tip, which is a lot of people are like still microservices versus monolith.
- 1:06:58Like I actually think that the perfect design pattern right now for a lot of projects is like much closer to monolith, but like you split it up into like based off of the number of agents that you want to run.
- 1:07:10So like, for me, I've got like my web scraping and like data collection stuff.
- 1:07:14And like, I generally just want like one, maybe two agents.
- 1:07:18So like, that is like a separate project.
- 1:07:20And then it interfaces with everything else through APIs, like actual like web APIs.
- 1:07:25And so like, that is actually how I've architected things where I'm like, how many developers, developers, agents do I want working on the code base at once?
- 1:07:32Like, what is my actual capacity to review the code?
- 1:07:36As a single developer, there's only so much capacity that I have.
- 1:07:39And so I will actually architect, or I've started to architect around that.
- 1:07:44But that doesn't mean I have a thousand microservices.
- 1:07:46It typically means that I split the architecture into like three or four components, maybe two beyond the main application.
- 1:07:55And that helps me to just feel like I'm being productive without being overwhelmed.
- 1:07:59Yeah, it's also good advice just for working in small teams anyway.
- 1:08:03Yeah, yeah, exactly.
- 1:08:04And it's just like a little bit more like a pragmatic.
- 1:08:05Some of the teams are automated, right?
- 1:08:06It's crazy.
- 1:08:07Yeah, it's like a pragmatic, like I'm not doing crazy microservices.
- 1:08:10I'm not also doing like monolith everything, right?
- 1:08:13So I think that to me, I'll just kind of be a little bit more, more pragmatic about things.
- 1:08:18Yeah.
- 1:08:18I wonder if you could automate, if you could, if you could AI agentic code, some form of automatic color profile selecting.
- 1:08:26I mean, yeah, they go pretty good on bash scripts.
- 1:08:29I mean, it's possible.
- 1:08:31I've one, one last tip, which kind of bit me.
- 1:08:34Luckily I have, I'm running Sentry, shout out to the Sentry team for, for, for BlushGap.
- 1:08:40and I caught this bug and I, you know, a lot of times I'm like finding bugs, like, oh, it's a 500 error or whatever.
- 1:08:46I'm not the end of the world.
- 1:08:47Like I go and fix it.
- 1:08:48I had definitely written more bugs myself by hand.
- 1:08:53Now that I am like, I have a mixed sort of like toolkit.
- 1:08:56Like I, I've just, it's just something to like be mindful of, which is like, I'm, I'm so used to having like bits and pieces written by an agent.
- 1:09:05And then I review it that when I'm writing code, I have like my, it's almost like over It's like, oh, I review a lot of code.
- 1:09:11I actually almost feel like the agent should be reviewing the code that I'm writing by hand.
- 1:09:15And so I'll just say like, that's one thing that I feel like is a big tip for developers and might bite a lot of people as they spend somewhat less time writing code, especially like low level kind of like rote detail kind of stuff.
- 1:09:29And then they have to, then they are like, oh, I'll go do that real quick.
- 1:09:31And then they suddenly like introduce a bug and they're like, oh, geez, I didn't.
- 1:09:35Yeah.
- 1:09:36Yeah.
- 1:09:36haven't done this like yeah by hand with the clickety click for a while yeah exactly exactly yeah i um i think that we need to we need to embrace and be mindful like you're saying um a certain level of like student mind when we're doing this kind of stuff i mean you say you've been using clock code for like six months and these are starting to show up like imagine 10 years down the line right you know what i mean it could be seriously an issue yeah i did help one person do a bunch of HNNC coding and won't name it because I'm not sure they want to be named, but they really were like, wow, this is incredible. And the thing that surprises me, they said, was as it's going through maybe 30 or 40 things it does to process a request, it's explaining why it's doing it. It says, okay, now I need to make sure that this runs in this way. So let's do this like Django, this manage pi command or something like that.
- 1:10:32Right.
- 1:10:33And they're like, I'm actually, if I'm paying attention, I'm actually learning new things about how this is supposed to be done.
- 1:10:38And in the end it says, here's why I made these changes.
- 1:10:41I think it's so easy to just go great next.
- 1:10:44You know what I mean?
- 1:10:44Yeah.
- 1:10:45But if we just slow down a little bit and you can learn a lot to learn, you learn, I've learned a ton.
- 1:10:50Like I can just hit escape and I'm like, tell me why you're doing that.
- 1:10:53I'm not really sure why, why you're doing that.
- 1:10:56And it'll explain it.
- 1:10:57And then you can, you can, it's the back and forth.
- 1:11:00I mean, it is like having the conversation about code that you often can't have with another developer.
- 1:11:07It's really expensive to take your whole team's time to talk through some change to the code base.
- 1:11:12You can have all those conversations.
- 1:11:14And I personally find as someone who is relatively introverted, it is not taxing on me to just have that conversation with the computer.
- 1:11:20So I can still have all the conversations with the humans and not be drained by the conversation with the computer.
- 1:11:26Yeah.
- 1:11:27Yeah, that's awesome.
- 1:11:27And think of the opportunity for people who either are sole developers or they live in places where they can't go to user group meetup type things.
- 1:11:35Yeah.
- 1:11:36Yeah.
- 1:11:36Or they're like busy in meetings all day and they still want to be a productive developer and be hands on with this stuff.
- 1:11:42And not, you know, I think a big part of it is like not getting caught up too much with the whole hype cycle.
- 1:11:47I am firmly in the camp that while this is a shift, it is not that big of a shift compared to when they said, oh, software developers are going to go away because we have COBOL. Software developers are going to go away because we have code generation off UML diagrams. Software developers are going to go away because of low code, no code.
- 1:12:08I get the sense, having used these tools, that a lot of companies will use them in the wrong way of thinking they can just replace developers.
- 1:12:16And actually what they're doing is they're building up a massive amount of technical debt and they're going to need software developers to fix it.
- 1:12:22Yeah.
- 1:12:22So that, I think it's building further layers of abstraction and more code.
- 1:12:26I think that you and I and everyone else out there who is very competent coders pre-AI, we're going to be a little bit like COBOL programmers, I think.
- 1:12:35There's going to be places that are just like, look, we've just got to call some people that know how to write code and figure this out.
- 1:12:41Like this stuff, the crazy analogy, the crazy analogy is like, okay, this is what I read one.
- 1:12:47Like, so that like the U boats during German U boats during world war one have like a pre they have steel in them that is pre or it's not been affected by like nuclear, the nuclear bombs that were set off around, you know, during and after world war two.
- 1:13:04So like they will extract the steel from those because they're not affected by the radiation.
- 1:13:10I guess we're like the old U-boats.
- 1:13:12They're going to extract us from retirement and be like, you still know how to program
- 1:13:17in this esoteric language.
- 1:13:18The LLMs can't do it.
- 1:13:19I don't know.
- 1:13:20Maybe that's what's going to happen.
- 1:13:21Take the mothballs out.
- 1:13:22That's right.
- 1:13:22Yeah.
- 1:13:22And we're going back into service.
- 1:13:25Boy, it's an interesting time.
- 1:13:27And there's a lot of opportunity as you pointed out.
- 1:13:30So I want to leave people with a message of don't be scared, embrace this, see what it can do for you.
- 1:13:35There's a lot of opportunity here, but Matt, you get the final word.
- 1:13:38Yeah.
- 1:13:39I mean, I agree.
- 1:13:39I think it's, again, it's like the same philosophy we started with, which is like, I don't see this as that big of a shift compared to like a lot of the other stuff that's happened in industry.
- 1:13:49Like just, I would just learn these things.
- 1:13:51And frankly, like, then you are empowered to say like, I'm not going to use that because you've tried it.
- 1:13:57And so like, then you have an informed opinion on it.
- 1:14:00And I think that's really what matters as software developers, not to just dismiss something simply because it seems like a hype cycle, but actually just to try it.
- 1:14:07And if it doesn't work and you're like, well, I have an informed opinion.
- 1:14:10I will say, though, this is actually rapidly evolving.
- 1:14:13And as we've talked about through our conversation, I would actually try this multiple times over several months because it does get better and it does change with the tools.
- 1:14:22And so it's not just like I tried it once and I'm going to toss it away.
- 1:14:26I would give it a try every few months and see if it works for, you know,
- 1:14:29kind of clicks for you and kind of works for your use case.
- 1:14:31Yeah, if we had this conversation pre-agentic code agents.
- 1:14:34Yeah.
- 1:14:35Could be very, very different, but six months later.
- 1:14:38It's just like when open source was like nascent.
- 1:14:42Oh, I tried open source once.
- 1:14:43If you haven't tried it in 15 years, like, I don't know what to say, right?
- 1:14:47I think it's a similar thing, but it's just a little bit faster evolution.
- 1:14:50Yeah.
- 1:14:51Yeah, it's crazy times.
- 1:14:52I mean, I'm honestly thinking maybe we should ship this episode like this week without recording, not the two weeks out that it's scheduled to be recording because who knows what's going to happen.
- 1:15:01No, I'm just kidding.
- 1:15:02But they are changing fast.
- 1:15:04Well, thanks for coming back on the show.
- 1:15:06Always great to catch up with you.
- 1:15:07Thanks, Michael.
- 1:15:08It's been great.
- 1:15:08Yeah, bye.
- 1:15:10This has been another episode of Talk Python To Me.
- 1:15:13Thank you to our sponsors.
- 1:15:15Be sure to check out what they're offering.
- 1:15:16It really helps support the show.
- 1:15:18This episode is sponsored by Posit Connect from the makers of Shiny.
- 1:15:22Publish, share, and deploy all of your data projects that you're creating using Python.
- 1:15:26Streamlit, Dash, Shiny, Bokeh, FastAPI, Flask, Quarto, Reports, Dashboards, and APIs.
- 1:15:33Posit Connect supports all of them.
- 1:15:35Try Posit Connect for free by going to talkpython.fm/posit, P-O-S-I-T.
- 1:15:41Want to level up your Python?
- 1:15:43We have one of the largest catalogs of Python video courses over at Talk Python.
- 1:15:47Our content ranges from true beginners to deeply advanced topics like memory and async.
- 1:15:52And best of all, there's not a subscription in sight.
- 1:15:54Check it out for yourself at training.talkpython.fm.
- 1:15:58Be sure to subscribe to the show, open your favorite podcast app, and search for Python.
- 1:16:02We should be right at the top.
- 1:16:04You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 1:16:13We're live streaming most of our recordings these days.
- 1:16:16If you want to be part of the show and have your comments featured on the air, be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 1:16:24This is your host, Michael Kennedy. Thanks so much for listening. I really appreciate it.
- 1:16:28Now get out there and write some Python code.
- 1:16:42*music*