页面简介
Pamela and Eleanor dig into the real art of AI‑assisted coding—delegating work to background agents, writing specs that models actually follow, and steering different LLM personalities without superstition. Expect hands‑on tactics with Copilot, GitHub Actions, CLI‑first workflows, and the agents.md standard, plus a peek at Eleanor’s open‑source Ruler project for centralized rules. Come for the model face‑offs, stay for the practical tips: richer prompts, sandboxed evals, and even talking to your computer.
正文摘录
Pamela and Eleanor dig into the real art of AI‑assisted coding—delegating work to background agents, writing specs that models actually follow, and steering different LLM personalities without superstition. Expect hands‑on tactics with Copilot, GitHub Actions, CLI‑first workflows, and the agents.md standard, plus a peek at Eleanor’s open‑source Ruler project for centralized rules. Come for the model face‑offs, stay for the practical tips: richer prompts, sandboxed evals, and even talking to your computer. Follow VS Code: X: https://x.com/code Bluesky: https://bsky.app/profile/vscode.dev YouTube: https://youtube.com/code LinkedIn: https://www.linkedin.com/showcase/104107263 GitHub: https://github.com/microsoft/vscode Okay, welcome, Eleanor. And let's start off with some introductions. So I'm Pamela. I'm from Microsoft on the Python Cloud Advocacy team. And can you tell us about yourself and what you're doing now? Sure. I'm Eleanor Bega. I'm a consultant and advisor on AI engineering. And more recently, also an educator focusing on AI-assisted software development. And I'm running the elite AI-assisted coding course and community together with Isaac Thoth, which we hope, we think is probably the most comprehensive course on using AI for doing software development. So you're going to be doing a whole course about AI-assisted coding. How did you realize there was like a need for that? Oh, the world told me. It's kind of funny. I'm talking to lots of teams and leaders and people working in software development in general. Mostly it was around helping them build with AI. So the sort of thing where you use APIs or fine tuning, evals, this kind of thing. And at some point I just started hearing like, okay, that's cool. But can you help us with this? Because this looks really powerful and we need to understand how to integrate it. Read Full Transcript Hide Full Transcript Okay, so that's just something you kept hearing from people at companies. It does seem like in the past year, we've all come to realize like, wait, this could be really, really helpful for us if we know how to use it, right? You know, it became possible, right? So if you asked me a year ago, I would have said, Yeah, I don't know. You can chat with AI and it will help you a little bit, but don't count on it too much. And then we got the next generation of models and it's amazing what they can do. And now the possibilities are so much more powerful. And so what sort of tasks do you think are the best suited for these agentic coders now? What I'm especially excited about is anything that you can fully delegate, orchestrate during the background. I think that there's a lot of focus on interactive working with AI. It's fun. It's very helpful. I do it myself, of course, a lot too. And that's something we also cover in the course. But when I think about what's really going to make a difference for software development in the large, for teams that are trying to improve productivity, improve quality, which is in many ways even more interesting than productivity, It is the ability to delegate to these agentic models complete tasks and get them happening while you sleep or when you trigger something from a new branch or anything like that. What sort of tools are you using for these delegation scenarios? And I use a lot the GitHub Copilot Coding Agent, which is the one that's hosted on GitHub. It is really fun, easy to use. you need to get the discipline to write a really good spec. Because once it's gone, once you've delegated it, this is it. You're not going to intervene anymore. But when you develop good habits and sort of good techniques for doing this, it's really powerful. And I even learned to trigger it through your unpublished API, which is now available. and kind of get it working from GitHub Actions. I have like a few things that like just trigger automatically from time to time and do things like, I don't know, update my documentation or do some code reviews or things like this. So I really like using that. I've used Open Hands quite a bit. It's another sort of remote agent. It's open source that I really like. There are things you can run in GitHub Actions, so any of these command line tools, I've used Codex and OpenCode and some of these other command line tools, just kind of giving them a prompt and some context and triggering them from GitHub Actions. Okay, cool. So, and you mentioned spec, the importance of the spec, and there is also this movement now, everybody talking about spec-driven development, PRD-driven development, test-driven development. What do you think is the right approach when working with AI coding? Yeah, I think you don't have to, To hang too much on the word spec, it can be a little bit intimidating to people sometimes. When you say spec, they think, oh, I'll need to write this book-length description of everything. The point is, you need to give full instructions. If you don't instruct clearly what it is you want, the problem with these models is they will not tell you hey, you didn't tell me what to do, so I'm just going to sit here and do nothing, right? Don't do something and kind of something random. You don't want... Software development is not a good place to do random things. You want to get a good specification. And so... It doesn't have to have any particular structure. In fact, models, they cope with anything. But you do want to have all the information there, including what not to do, what version to use, what are the constraints that should be respected. And the more you're able to do that, the more you can direct the results you got. Yeah. One of the issues we've seen, you were talking about what not to do, one of the issues is sometimes it does too much. How do you get the agents to focus and do just enough? Yeah, I mean, this is especially a problem with cloud, isn't it? It's very eager, and it will sometimes invent things for itself to go. And it's less of a problem, for example, now with GPT-Five, which I really like for that reason. But you just say, so I had this thing, for example, recently I set up this process where I trigger the coding agent to update my documentation and I would tell it, yeah, go update the documentation. Sometimes it would update some of the code. I was like, no, I definitely don't want you to update the code. That's not what this is about. And I don't want updates to the code that I didn't direct. That's a terrible thing to do. And so I just added this paragraph in all capitals. Don't touch anything else. You should only update the documentation. And now it works. So that's another question I have is that, how do you evaluate whether the instructions you've written are good instructions, right? Do you just evaluate by just doing one check, or do you have any sort of formal evaluation systems for determining whether you've written good instructions? I have to be realistic. You're not going to have a formal eval suite for every little task that you do. If there is something where it's high stakes, you're doing a lot of it, then yeah, go ahead and write an eval suite. It's often a lot easier than having to then chase problems again and again. But for simpler things that you do, like one-off or something like this, just try and make sure that you do it in a situation, an environment where the risks are not high, right? So if I do it like in... I don't know, an environment where it could have destructive operations or kind of side effects, that's very risky. But if I do it in a sandbox environment, it would get to where I can revert whatever it did. The cost is fairly low for experimenting. Do you find that you need to write different prompts for different models? Because you talked about Cloud versus GPT-Five. What's the experience with different models? It is a bit different, but what's common is you just need to say what you want and say it clearly and unambiguously as much as possible. And then, yeah, with code, I find that sometimes I need to repeat things multiple times or use this kind of very standard language, not like, don't you dare do this thing, like whatever I can do to convince it to follow my orders. Whereas with GPD-Five, it's a bit more... sort of almost clinical, just say something, I'll keep it as short and concise as I can, just with all the information in it, it will follow it. So it is a bit different, but you kind of fundamentally, it's not that different. And you get a feel for the subtle differences between the models. Yeah, it's stuff like that where you say that with cloud, you have to say, don't you dare. I really kind of want to evaluate that as like, do you actually have to like, or like using all caps, right? Like stuff like that where people will kind of like say like, oh, if you threaten or use all caps, or even some people said, like I was sharing a prompt which had a do not. And somebody was like, no, no, no, if you say do not, then the lm's gonna just do it because it's gonna you know it's just gonna see what you want to do so like you know stuff like that like how do we know like whether we're really like following the best practices and how to get it to you know stick with what we're saying You know, there's a lot of superstition around these things. I think the things moved really fast. I think the first generations of models, like GPT-CV and even the first versions of GPT-CV and Cloud, they were quite sensitive to kind of subtle differences in wording in a way that I think the newer models, especially the reasoning models, are not. And I'm less concerned about it now. The thing is, you can't know unless you have formal evaluation. So again, if the situation is high stakes, it is important you have the time and the budgets to invest in formal evaluation. Sure, that's the best thing to do and the only way to know for sure. If not, I don't know. I think sometimes I write these things to myself. Like, yeah, why would I use all caps? Does it make a dif