In order to be skilled at AI engineering, it's important to practice skills you've learned. In these videos you've learned about how to build an agent harness, and what I hope you do next is enter the practice build experience on this site, so that you can use a coding agent— no more writing code by hand— but use coding agent to actually build an agentic harness. And what DeepLearning.AI has built is a practice environment in which you really use a real coding agent alongside a guide that is an AI avatar of me, an AI Andrew, that will help you get through the process of building an agent harness. And so if you haven't built an agent harness before, I hope you enjoy practice doing so in this practice build environment, because in today's AI world, knowing how to build an agent harness is one of the most important skills of AI engineering. In this video, I'll show you how the practice build environment works, and after that, I hope you give it a shot yourself and go build an agent harness. When you go to the Practice Build with Andrew activity, you'll see something that looks like this. And what I'm going to show you is how this Practice Build activity works. You'll go through three steps: build a harness, adding guardrails, and adding memory. And this interface should work well on either your desktop or your phone. So feel free to use it in either environment. In fact, one difference with coding agents is I now code quite a lot from my phone with coding agents. So unlike coding environments where you're writing code syntax by hand, we built this to be mobile-friendly as well. When you click get started, you'll see something that looks like this. user interface has two key parts: one is the coding agent, you can message a coding agent here, just like you would most other coding agents, build a Hello World app, say, I'm not actually going to run that. And the second part of this user interface, which is highlighted in green, is where The AI guide, actually is uh my avatar, or AI Andrew, will walk you through the three tasks one step at a time, and also give you tips on how to complete these tasks. So, your first task of the three is to build the harness. You can ask Coding Agent to build a file organizer, harness builder skill. In this coding environment, we have already installed the openworker-harness-builder skill. Just as a reminder, if you do this on your own machine, remember to run the npx command that I showed you in the second video on how to install this skill on your own machine. For this first step, here's a prompt that we've written that should work, and you can just click "Use prompt," and this will paste a prompt in here, and then hit this to send this prompt off to the coding agents. For this first task, I'm just including here a prompt that should probably work. And for the later tasks, I hope you'll try to write your own prompt rather than just use the one that we provided. But this is a coding agent that is using gpt-6-luna. So if you run it on your own machine, you'll probably use a coding agent with a more powerful LLM. And this being an LLM-based coding agent, it will probably work, but sometimes it may have a bug. And if that's the case, I'd encourage you to see what error message there is, pass it back to the coding agent, and debug and see if you can get it to work. And the key thing to remember in this coding environment is all of this stuff with a white background is similar to a coding agent you may use elsewhere, like Claude Code, or Codex, or OpenCode. And this stuff in green is the guide, which will occasionally make suggestions on the next also give you hints on what to do next. One other piece of this user interface is this where if you open this up and you click Files, then this shows the files in this local file system. Click on Downloads to look at the files in the Downloads folder, so we'll be organizing the files in this folder. And then, if you want, you could also get it to organize the files in Temp1 or Temp2, but I'm just going to focus on the files in this messy Downloads folder for now. And you can ignore AGENTS.md. This is just a file with some configuration details that work specifically for the DeepLearning.AI environment to make sure that you can run and deploy and view the app in the DeepLearning.AI site. If you run this yourself, remember to install the agent skill, but you won't need this AGENTS.md. Although you can open this and look at this if you wish. And if you want, you can also look at a few of these files in the UI to see what are the types of files that we're asking the agent to sort out. Okay. So, this coding agent usually runs for 5 to 10 minutes to complete this build. Last time I ran it, it took about 7 minutes, but um let me just fast forward this video until it's finished building. Okay, it looks like it's finished running. The guide, AI Andrew, up here, gives you some instructions for what to do. And so I'm going to click this button, "My App", to open up the app that we just built. And when you run this yourself, your user interface will look different than this. is because this UI was invented by this coding agent based on that very short prompt, and I didn't really give any specificity to how I want the UI to look. But if I then click Organize here, hopefully this will start organizing my Downloads folder. And so, you know, looks like this is showing me the actions it's taking: looking inside a folder, reading a file, and so on. And then, oh, it's already creating subfolders. and it will start to move things. All right. So this will take a while, so okay, let me just fast forward this part of the video till when it's done. All right, looks like it's done. And uh you can take a look at the folders, it looks okay, and Sometimes, if this encounters an error, then I encourage you to debug it, paste the error message back to the coding agent, maybe iterate a few times, and see if it can fix it. After you've built this, the guide here, that is AI Andrew shown in green, will also offer to check your work to see if it's correct. But now that you've already run it, the guide knows that it is correct, and so it's summarizes the key idea and then invites you to go on to Task 2, so let's do that and do the second task, which is we want to add guardrails to the harness. So, here's what we want to do, and in order to do this task well, this little snippet of text does not actually contain enough information, so I would not copy Task 2 into the prompt that's pretty underspecifies what we should do. I'm going to show you a prompt that I will use that I think should work well. So I'm just writing that down here and I'm going to run it, but when you do Task 2, feel free to pause the video and look at the prompt that I'm using here or the prompt that I showed you in the third video. But I would also encourage you to try writing your own prompt. The loosely, the main ideas that I captured are use a skill to add guardrails if a file ends in .key or is .env, don't read the file contents, and for other files, come up with regular expressions to see if it contains API keys. If so, redact it, you know, and then confidential files should be moved into a Confidential subfolder, have the agent ask me for approval before moving any file into Confidential/. That's what I wanted to do. For you to complete Task 2 successfully, you don't have to use my exact same prompt, but think about what prompt you might use in order to get it to meet the requirements of Task 2: have it block reads of files named .env or ending in .key, and redact API keys. from other files, and have it ask for approval before moving each confidential file to the subfolder Confidential/. So let me run that. And in case you can't get it to work well, you can also ask the guide for a hint. For example, if you click this Then this brings up the conversational history of the guide, and you can actually click on the keyboard, you know, to type a question to the guide here in green. But I think most of the time, I hope you'll be talking to the coding agent, which is the stuff with a white background, rather than talking to the guide. So I'm not going to do this, But you can also ask the guide to take a look at your work, check your work, give you a hint, and so on. But in this case, I'm just going to focus on talking to the coding agent rather than to AI Andrew. So, this will run for a few minutes. Let me again fast-forward the video to when this is done. Great, looks like it's done, and you can hit this reload button to reload the app, and then run Organize again. And so fast-forwarding a bit, here, it is asking for approval to move .env to Confidential. So we can, you know, "Keep file in place" or allow it. And if something is strongly not Hey so what's, you can ask the guide to check your work and then it may make some helpful suggestions if it can, or if you are confused and want a hint, you can also just, you know, click on the "Hint" button and see if it can give some helpful suggestions. But uh, I'm just going to approve a bunch of these, you know, There! And so my successful run of the app has let the guide, the AI Andrew know that I've successfully completed Task 2, and so it now takes me to Task 3. which is the last of three tasks before you finish this practice build activity, you will want to ask the coding agent to see if there are multiple reasonable ways to organize the files, and if so, to ask one to two multiple-choice questions and save the answer in memory, so that it can reuse your preferences next time. And so, I did show a prompt in an earlier video, and you can use that from my earlier video if you want, but I hope you will try to write your own prompt for this task yourself. All right, it looks like it's finished. So, let me reload the app. And then, you know, if you run through this... Oh, it looks like it quickly says, How should I group files? So grouping by file type, topic... Oh, let me try that. And then hopefully this will save this in memory. And so, after it's finished organizing the Downloads folder, which looks like it did a decent job, if you now tell it to organize Temp1, it should use the preferences you had saved and then go and do that in a similar way. So... to complete the task activity, you should have it organized, say Downloads, say saved in memory, use it to organize some other folder, and then, oh look, looks like things have, we've finished it. So, to wrap up, building agent harnesses is a very important technique for quickly getting a variety of agents to work, and I'm confident you'll find this useful in other things you want to build. If you want more practice beyond what you see in the Practice Build with Andrew activity, here are a couple other things you might consider building. A popular agent harness to build is one to build a research agent, deep research agents, similar to that offered by many of the frontier LLM companies, where you can give a prompt and have it do extensive web research to write a deeply researched report. So, for something like that, you may build an agent harness with instructions like that written here. And depending on how you write the prompt, you can tell it to do more or less online research, and you'd have to give it tools to do web_search, as well as web_fetch. And by the way, if you're not sure how to build a web_search tool, one thing you could do is ask your agent to just call a normal web search engine, like maybe DuckDuckGo or some other web search engine, and just, um, read the results from fetching a web page, and then to crawl some appropriate set of URLs based on that, um, web_fetch off the page of a web search engine. Or just for fun, you could also build tool for updating the UI on a web app with a tic-tac-toe board, as well as the status of the board, and if you have your coding agent implement a tool to update a user interface with the state of a tic-tac-toe board, then you can build a tic-tac-toe agent where the main loop would be that it'll figure out what move the user plays, so take an action, and then it'll reply with its own move. onto a tic-tac-toe board. You can also do this with more complex games like chess, but it turns out that even a frontier LLM tends to be like a so-so chess player, but tic-tac-toe is an easier game. And so with that, that brings us to the end of these videos. Congrats and thank you for sticking with me to this point. I hope that you will go on to complete the Practice Build with Andrew activity, because in addition to listening to me show you the basics of how agent harness engineering works, you practicing these skills yourself, you using coding agent to build your own agent harness, is an important part of how you deepen your knowledge on this. I'm excited about what agent harnesses you'll be able to build. Please take what you learned and go for the practice build with Andrew, and go build a bunch of fun, useful things with this. Thank you.