YouTube Deep SummaryYouTube Deep Summary

Star Extract content that makes a tangible impact on your life

Video thumbnail

Claude Code: Build Your First AI Agent

Teacher's Tech • 2026-03-23 • 25:38 minutes • YouTube

šŸ“š Chapter Summaries (13)

šŸ¤– AI-Generated Summary:

Building Your First AI Agent with Claude Code in VS Code: A Step-by-Step Guide

Artificial Intelligence (AI) continues to revolutionize how we work and create, and one of the most exciting advancements this year is the emergence of agentic workflows. Unlike traditional AI interactions where you give specific instructions, agentic workflows empower AI agents to independently plan, decide, and execute tasks to achieve a goal. In this post, we’ll explore how to build your own AI agent using Claude Code inside Visual Studio Code (VS Code). Whether you’re a tech enthusiast, educator, or productivity guru, this tutorial will show you how to leverage agentic AI to automate complex workflows with ease.


What is an Agentic Workflow?

Before diving into the hands-on part, it's crucial to understand the concept of an agentic workflow. AI interactions can be categorized into three levels:

  1. Chat – The simplest form where you ask a question and get an answer (e.g., ChatGPT). This is usually a one-off exchange.
  2. Building – Here, you tell the AI exactly what to build, guiding it step-by-step (e.g., ā€œMake me a bookmark dashboardā€). You’re the director; the AI is the builder.
  3. Agentic – The AI is given a goal and the freedom to figure out the steps to get there. It plans, adapts, asks clarifying questions, and executes the work autonomously.

Agentic workflows are transformative because they mimic trusting an experienced employee rather than micromanaging every step. Instead of you dictating each action, the AI reasons through the process, pivots if challenges arise, and engages you only when uncertain.


Setting Up Your Environment: VS Code with Claude Code

While previous approaches might have involved working in the terminal, using VS Code significantly enhances the experience. VS Code offers:

  • A visual file explorer to see files and folders created or modified in real time.
  • A dedicated Claude Code panel to interact with your AI agent.
  • Easy toggling between planning and editing modes for iterative workflow development.

Getting Started:

  1. Download and install Visual Studio Code for your operating system.
  2. In VS Code, go to the Extensions panel and search for Claude Code.
  3. Install the extension and open it from the sidebar.
  4. Create a new project folder (e.g., My First Agent) and open it in VS Code.
  5. Open a new Claude Code session to start interacting with your agent.

The Power of the CLAUDE.md File: Your Agent’s Onboarding Document

One of the most crucial setup steps is creating a file named CLAUDE.md in your project root. This simple markdown file acts like an onboarding document for your AI agent, providing context and preferences that dramatically improve output quality.

What to include in CLAUDE.md:

  • Project Context: What is the workspace for? (e.g., research, content creation)
  • About Me: Who you are and your style preferences.
  • Rules: Guidelines for the agent’s behavior (e.g., always ask clarifying questions, keep summaries concise).
  • Project Structure: Where to save workflows, outputs, and resources.

By setting this file up once, Claude Code automatically reads your preferences every time it starts, saving you from repeating instructions and ensuring consistent results.


Agentic Workflow Architecture: The Three Layers

To effectively use agentic workflows, understand the three foundational layers:

  1. Workflows: Plain English markdown files that describe a multi-step process (like a recipe). The AI follows and adapts these instructions.
  2. Agent: Claude Code itself — it reads workflows, reasons through steps, and makes decisions dynamically.
  3. Tools: The capabilities the agent can use — reading/writing files, running terminal commands, and searching the web (built-in). You can also connect external services like Gmail or Notion later.

The secret to success lies in writing good workflows. A well-crafted workflow with basic tools outperforms complicated prompts or fancy plugins.


Building Your First Agent: Using Planning Mode

Instead of jumping straight to execution, use planning mode (toggle with Shift + Tab twice) to let Claude Code think through the workflow before making any changes.

Example Goal:

"Build a workflow where I provide a topic. The agent will research it thoroughly, organize findings, and produce a structured report. Before starting, it should ask clarifying questions about scope, audience, and details."

Claude Code will autonomously break down this goal into phases like clarifying questions, research, synthesis, and report generation. You can then refine the plan by adding requests, such as including a "Key Takeaways" section.

Once satisfied, switch back to execution mode and let the agent build the workflow — creating files, folders, and content as planned.


Running a Live Research Workflow: A Demonstration

To see your agent in action, provide a research prompt such as:

"Research the current state of AI agents in 2026, including usage trends, what's effective, what's overhyped, and future directions."

The agent will:

  • Ask clarifying questions about audience, depth, and format.
  • Search the web using built-in capabilities.
  • Organize and synthesize the information into a markdown report.
  • Save the report in the designated output folder.

You can view the report directly in VS Code and preview it formatted with a keyboard shortcut (Ctrl+Shift+V).


Iterating and Refining: The Agent Remembers and Improves

One of the powerful features of agentic workflows is iteration. You can ask the agent to make targeted edits without starting over, such as:

  • Trimming the executive summary to three bullet points.
  • Adding a comparison table of top AI tools mentioned in the report.

Because the agent keeps context and remembers previous work, it updates files intelligently, saving time and effort.


Five Common Mistakes to Avoid + Pro Tips

  1. Skipping CLAUDE.md: This file is essential. Spend 2 minutes setting it up to save hours later.
  2. Being Too Vague: Specific prompts yield better results. Include details like audience, date range, and format.
  3. Not Using Planning Mode: Always plan before building to avoid wasted effort.
  4. Forgetting to Ask Clarifying Questions: Build this step into your workflows to avoid assumptions.
  5. Trying to Automate Everything at Once: Start small with one workflow, refine it, then expand.

Additional Tips:

  • Organize workflows in a dedicated folder.
  • Monitor the agent’s to-do list and reasoning to catch errors early.
  • Give precise feedback for corrections instead of restarting.
  • Save your best workflow and CLAUDE.md files as templates.
  • Use the rollback feature to undo unwanted changes.
  • Adjust the agent’s effort level (low, medium, high) depending on task complexity.

Final Thoughts and Your Weekly Challenge

Building an AI agent that independently reasons and executes tasks is a significant leap beyond simple chat or direct building. It opens doors to automating research, content creation, analysis, and much more with minimal manual guidance.

Challenge for You:
Create one agentic workflow this week for a task you do regularly. It could be research, organizing files, drafting emails, or anything else. Don’t worry about perfection—get it running, see the results, and iterate.

Feel free to share your experiences or ask questions in the comments. I’m excited to see what you create with the power of agentic AI workflows.


Thanks for reading! Stay tuned for more tutorials and tips on harnessing AI to boost your productivity and creativity.

— Jamie, Teachers Tech


šŸ“ Transcript Chapters (13 chapters):

šŸ“ Transcript (280 entries):

## Intro [00:00] Hey everybody, I'm Jamie. Welcome back toĀ  Teachers Tech. So, in my last Claude Code video, we did something pretty cool. We built a fullĀ  bookmark dashboard app just by typing in plain English. No coding experience needed. If youĀ  haven't seen that one, I'll link it right up here and down below in the description. DefinitelyĀ  go watch that one first because today's video builds on everything we covered there. But today,Ā  we're going to go way beyond building apps. Today, we're going to be building an AI agent. LetĀ  me show you what I mean. Are you seeing this? I typed one sentence and it started thinking onĀ  its own. It broke the task into steps. It asked me follow-up questions. It went out to gatherĀ  information, organized everything, and produced a full report all by itself. Last time, CloudĀ  Code did what we told it to do. This time, we're going to teach it to figure out things on its own.Ā  That's called an agentic workflow, and honestly, it's the most useful thing I've learned in AI thisĀ  year. Oh, and we're doing the whole thing inside VS Code this time. way more comfortable thanĀ  the raw terminal like last time. Let's get into ## What is an agentic workflow [01:00] it. All right, before we start building anything,Ā  let's talk about what an agentic workflow actually is because it sounds way more complicated than itĀ  really is. Think back to the last video. We told Claude Code exactly what to build. We said, "MakeĀ  me a bookmark dashboard with search dark mode." We gave it specific instructions and it followedĀ  them. That was powerful, but we're still doing all the thinking. We were directing every step.Ā  An agentic workflow flips that around. Let me break it down into three levels so you can see theĀ  differences. Level one is chat. This is the most basic way people use AI. You ask a question, youĀ  get an answer. One and done. That's your standard chat GPT or clawed conversation. Most people neverĀ  get past this level. Level two is building. This is what we did in the last video. You tellĀ  the AI what you want to create. You guide the process step by step and it writes the code forĀ  you. You're the director, the AI is the builder. It's way more powerful than just chatting, butĀ  you're still making all the decisions. Level three is agentic. And this is where things get reallyĀ  interesting. Instead of telling the AI what to do step by step, you describe the goal. You say,Ā  "Here's what I need to accomplish." And the AI figures out the steps on its own. It makes a plan,Ā  picks its tools, adapts when things don't go as expected, and it will even ask you questions whenĀ  it's not sure about something. That's what we're doing today. Here's the way I think about it. It'sĀ  like the difference between micromanaging a brand new employee versus trusting an experienced one.Ā  In the last video, we were the manager saying, "Do this, then this, then this." Today,Ā  we're saying, "Here's the goal. Here's what you have access to. Figure it out." That's aĀ  completely different relationship with the AI. So what specifically makes something agentic? ThreeĀ  things. First, it follows a process. It's not just answering a single question. It's working throughĀ  a whole series of steps to get a result. Second, it makes decisions. It chooses what to do basedĀ  on what it finds along the way. If one approach isn't working, it pivots. If it finds somethingĀ  unexpected, it adjusts. Third, it asks before it assumes. Instead of guessing what you want, a goodĀ  aenic workflow will ask you clarifying questions first. That one change alone makes the outputĀ  10 times better. And the use cases for this are endless. You could use it to research a topicĀ  across multiple sources and compile a report. Analyze a folder of files and organize them byĀ  category. Draft personalize emails for a whole list of contacts. Compare competitors and produceĀ  a sidebyside breakdown. The pattern is always the same. You give it the goal and it does theĀ  work. All right, let's get our tool set up. Now, ## Setting up VS Code with Claude Code [03:37] last time we worked entirely in the terminal andĀ  that works, but VS Code gives us a much better experience for what we're going to do today. YouĀ  can see your files, your code, and cloud code all in the same place. When the agent is creating andĀ  editing multiple files, which it will be, having that visual file explorer makes a huge difference.Ā  So, let's get this set up. This only takes about 2 minutes. If you don't have Visual Studio CodeĀ  on your computer, I'll put the link to this site down below in the description. Then you can pickĀ  what operating system you're working on. Today I'm going to be on Windows, so I'm going to go aheadĀ  and choose this and download this for my machine. Once you have it downloaded, go ahead open it up.Ā  Where I want you to go is right here to extensions and you're going to type in just claude codeĀ  up here. And you're going to see that we can install cloud code here. So I'm just going to goĀ  ahead and click on this. I'm going to trust the publisher and this install. All right, it's allĀ  ready to go. We have it installed. I can see the cloud code. I'm going to click on it to open. I'mĀ  going to go and mark this as done. I'm just going to go and close these extensions over here. I'llĀ  just click on it again to give myself more room. Notice you can uh stretch these uh to whateverĀ  you want that works best for your preferences. If you already installed Cloud Code from theĀ  last video, you're all set. The extension uses the same installation. If you haven't installed itĀ  yet, go watch that first video because we covered the whole setup there. Let me give you a quickĀ  orientation of VS Code. Over here on the left, ## Quick orientation of VS Code [05:07] we've got our file explorer. This is where you'reĀ  going to see every file the agent creates in real time. Folders appearing, documents being written.Ā  It's really satisfying to watch. Over here, we have our cloud code panel. This is where you talkĀ  to the agent. You go down here, type your prompts, you see what it's thinking, and you watch it work.Ā  Now, let's create our project folder. I'm going to go ahead and create a new folder where we're goingĀ  to be working out of. I'm just going to click open folder. And I haven't created one yet. If you knowĀ  what folder you want, you can go ahead and choose that one. I'm going to go in my documents here.Ā  And I'm just going to create a brand new folder. And I'm going to go call it my first agent.Ā  Select folder. I'm just going to go back and click on clawed code here and new session just toĀ  open that back up. And if I click on the explorer, you can see here's the folder that I just created.Ā  Now, there's a couple of features in VS Code that are going to be really important for you today.Ā  First, you can see the files updating real time as the agent works. Watch the file explorer. When theĀ  agent creates something, it just appears. Second, when the agent plans a multi-step task, you'llĀ  see a to-do list pop up showing you exactly what's going to do and where in the process.Ā  And here's the big one, planning mode. Press shift plus tab and you'll toggle into planningĀ  mode. In this mode, Claude Code thinks and plans but doesn't actually change any files. It's likeĀ  a dry run. We're going to use this a lot today because the key to aenic workflows is planningĀ  before building. All right, our environment is ready. Now, let's set up one more thing that'sĀ  really going to make all the difference. Okay, this is something I didn't cover in the firstĀ  video and it completely changes how claude code ## Setting up your CLAUDE.md file [06:42] works for you. It's a file called claude.md.Ā  And I'm not exaggerating when I say this is the single most important thing you can set up.Ā  So, what is claw.md? It's a simple markdown file that you put in your project folder. Claude codeĀ  reads it automatically every time it starts up. Think of it like an onboarding document for aĀ  new employee. It tells the agent who you are, what the project's about, and how you want thingsĀ  done. Let's build one together right now. In VS Code, I'm creating a new file in the root of ourĀ  project. I'll name it claude.md all caps. And now, let's fill it in section by section. Okay, theĀ  first section is going to be project context. And this is going to tell the agent what the workspaceĀ  is for. So I am going to give it a heading right here at the beginning. And to do this, use theĀ  pound key and then a space. And then you can just type your heading. You'll notice how it turnsĀ  blue. I'm just going to give it a couple spaces just so everything's easier to read and so I canĀ  take a quick glance at and see what's happening. I'm going to go and put this. So for projectĀ  context, this is my AI agent workspace. I use it for research, content creation, and productivityĀ  workflows. I'm going to give it a couple spaces. Next is the about me. This is where you tell theĀ  agent about who you are, what what you care about. So, I'll give it again another header and giveĀ  it a couple spaces. And this is what I'm going to put. I create content about technology andĀ  productivity. My audience is people who want practical, nononsense tutorials. I prefer clear,Ā  jargon-free output. Now, the most important part, rules. This is where you set the guardrails. TheseĀ  are the instructions the agent will follow every single time. Let's give it a heading and a coupleĀ  spaces. And my rules are going to be listed with dashes in front of them. So you can have a clearĀ  list just like this. So always ask clarifying questions before starting a complex task. ShowĀ  your plans and steps before executing. Keep reports and summaries concise, bullet points overĀ  paragraphs. Save all output files to the output folder and site sources when doing research. AndĀ  finally, project structure. This tells the agent where things go. And this is where I want things.Ā  I have my workflows. Workflow instruction files. My output are the finished deliverables. AndĀ  resources are the reference docs and templates. I'm just going to save this now by hitting ctrlsĀ  together. That took us about 2 minutes. But now, every single time you open Claude Code in thisĀ  folder, it already knows your preferences, your rules, and exactly how you want things organized.Ā  No repeating yourself. Let me show you why this matters so much. Now, I'm going to use the sameĀ  prompt, research remote work trends on the left ## CLAUDE.md comparison -- with vs without [09:22] without claw.md. I made a separate folder with noĀ  claw.md file in it. So, I get this generic wall of text. You can see as it goes through, there'sĀ  not really much structure. I get one question just about allowing something uh just kind of a dataĀ  dump. But on the right with the claw.md file, the agent's asking me many different questionsĀ  as it goes through it. Then it gives me organized bullet list, clear sections, source cited, andĀ  save the file exactly where I told it to. Let's take a look at this end file here. Here's the linkĀ  to the report, and it's in the output. Remember, I told it to uh go ahead and put it the finishedĀ  output in here. So, if I click on it, it brings me to this. Now, you might be thinking, well, thatĀ  doesn't look very good. But there's a shortcut to see what it looks like. So, if you go to control,Ā  shift, and v uh together, when you click in here, if you press all those keys together, you getĀ  the report, what it created for you. So, as I go through it, you can see how much more detailedĀ  uh this was. Here we have our key takeaways. we have all of this information versus that that oneĀ  little short link that we had with the uh without the claw.md file. And this is why the claw.md isĀ  non-negotiable. 2 minutes of setup saves you hours of frustration down the road. And here's somethingĀ  that was just added to claude code that makes this ## Automatic memory in Claude Code [10:50] even more powerful. Automatic memory. As the agentĀ  works through your project, it now automatically records things it learns and recalls them in theĀ  future sessions. So, it's just not reading your claw.md at startup anymore. It's also building itsĀ  own understanding of your project over time. The more you use it in this folder, the smarter itĀ  gets about your preferences and how things are organized. Before we start building our agent,Ā  I want to give you the mental model. There are three pieces that make agendic workflows work. AndĀ  once you understand them, everything else clicks ## The three layers of agentic workflows [11:16] into place. Layer one, workflows. These are justĀ  plain English files that describe a process step by step. Think of them like a recipe. The agentĀ  reads the recipe and follows it, but it's smart enough to adapt if anything's off. Workflows liveĀ  as a simple markdown file in your project. Nothing fancy. Layer two, the agent. This is justĀ  cloud code itself. It reads your workflows, thinks through the steps, and makes decisions. YouĀ  don't program the agent. You don't write the code for it. You just give it clear instructions andĀ  let it reason. Layer three tools. These are what the agent uses to actually get things done. OutĀ  of the box, Claude Code can read and write files, run terminal commands, and search the web. That'sĀ  right. Web search is built right in. No extra setup needed. The agent can go out, find currentĀ  information, and bring it back into your project. Now, you can also connect external services likeĀ  Gmail, Notion, and databases using something called MCP. That's model context protocol. ThatĀ  opens up a whole world of possibilities, and we'll cover that in depth in the next video. But forĀ  today, the built-in tools are more than enough for everything we're doing. And here's the key insightĀ  that most people miss. Most people skip straight to the fancy tools and plugins. But the real powerĀ  is writing good workflows. A well-written workflow with basic tools will outperform a sloppyĀ  prompt with every plug-in in the world. The workflow is where the magic lives. Okay, enoughĀ  theory. Let's build our first agent. All right, ## Building your first agent with plan mode [12:45] I'm in our empty project. You can see I just haveĀ  the claw.md file that we created. I deleted those other test folders when I ran through that quickĀ  test. The uh first thing we're going to do is go and change it to plan mode. So, when I'm insideĀ  the chat down here, I'm just going to press shift and tab. But notice if I press it once, it goesĀ  to edit automatically. I need to press it one more time, it brings me to plan mode. If I pressĀ  it again, it brings me back to where I was. So, two times pressing shift and tap brings me overĀ  to plan mode. Now, plan mode means Cloud Code will think and plan, but won't change any files. We'reĀ  going to design our workflow before building it. Always plan first. Now, I'm going to describe whatĀ  I want. And watch carefully. I'm not giving it step-by-step instructions. I'm describing my goal.Ā  And this is what I'm going to say. I want to build a workflow where I can give you a topic. You'llĀ  research it thoroughly, organize the findings, and produce a clean, structured report. Before youĀ  start researching, you should ask me clarifying questions about the scope, the audience, and whatĀ  I specifically want to know. I'm going to submit. Look at this. I gave it a goal and it's alreadyĀ  breaking it down into steps. It's thinking about what the workflow needs. A clarifying questionĀ  phase, a research phase, a synthesis phase, an output phase. It's even suggesting qualityĀ  checks. That's the agendic thinking and action. I didn't tell it these steps. It figured them out.Ā  But I want to add one more thing before we build. Before I add one more thing, let's go ahead andĀ  take a look what it has already. Here we have a resource plan workflow. And if I scroll through,Ā  I can see there's some files that are going to be created. And remember once we accept it to keep anĀ  eye over on explore here because you're going to see it get created. It's going to uh go aheadĀ  and create this research report uh.md as I go down. Step two, confirm the plan. Three, research.Ā  Four, write the report. Five, save the output. It gave me some formatting. So, if I like everythingĀ  here, I could go ahead yes and auto accept or yes, manually approve or keep planning. But what I'mĀ  going to say is this. I also want the report to include a section at the end with key takeawaysĀ  and recommendations for the next step. So, I'm just going to put that in and hit enter. So,Ā  it's going to update the plan. It doesn't just start over. It just folds the new requirement intoĀ  what it already had. So, that's why plan mode is so valuable. you can shape the approach beforeĀ  anything gets built. So I can see now it says uh right here plan updated the report templateĀ  will now include two additional sections here I have recommended next steps key takeaways. So I'mĀ  going to go ahead and you know what I'm going to I'm happy with it. Let's build it and I'm goingĀ  to go to auto accept. So it's just going to go through and accept everything. So you're goingĀ  to see the mode change from plan and as I click on this just keep an eye on explorer. So noticeĀ  we have our workflows. If I go ahead and open it, it's still working, but we have the researchĀ  report MD that I said it was going to create. Now let's look at what it actually wrote. This isĀ  the important part. So I'm I'm going to go to the research report MD file and just double clickĀ  on it. And you'll see it opens up. We have the uh chat over here with it. But here we have theĀ  file. Now, at the top, I've got its objective or purpose here. A clear statement of what theĀ  workflow does. Given a topic from the user, ask clarifying questions. Conduct structured research.Ā  Okay. So, let's move down to the next. We have the qualifying question steps. Ask the user theseĀ  questions. And you get an idea. What are the specific angles of the questions you want covered?Ā  Who will read the report? Do you want a quick uh overview or deep dive? And you can see the otherĀ  ones that include uh format preferences. Now, this is what makes it a gentic rather than justĀ  a dumb text generator. It's going to check with you before it runs off and does the work. So,Ā  no more garbage output because it guessed wrong about what you wanted. So, then it moves down.Ā  We can see it confirmed the plan after receiving the answers. Confirm the research plan with usersĀ  before starting. We have step three, the research topic. as we uh go through and look at the detailsĀ  for each of these, you know, like avoid opinion only posts. Uh for recent developments, includeĀ  sources from the last 12 months where possible uh what to look for while researching. Now we'reĀ  on to writing the report with the writing rules, the tone, and then saving the output. And we doĀ  have some error handling. If the topic is too broad to research meaningfully, say so and ask theĀ  user to narrow it. Now, here's the be beautiful part about all this. Every single word in thisĀ  file is just plain English. There's no code, no special syntax. If you wanted to changeĀ  something like adding a step where it creates a summary table or removing the clarifying questionsĀ  for quick task, you just edit the text. The agent adapts to whatever you write. So, that's theĀ  power of this approach. I want to go back over to Claude Code and ask this question right here.Ā  What workflows do you have available? And look, it lists our research report workflow andĀ  describes exactly what it does. It knows what it's capable of now. So, let's put this to work.Ā  Now, for the fun part, I'm going to give it a real ## Running the research workflow live [18:03] research task and we're going to watch the wholeĀ  agentic workflow run from start to finish. I'm going to go and put this in. I want to researchĀ  the current state of AI agents in 2026. What are people actually using them for? What's working?Ā  What's overhyped? And where things are heading. Now, watch. The first thing it should do is askĀ  me questions because that's what the workflow says to do. So there it is. Look, it's asking,Ā  you know, the audience, the scope, the depth, all these questions. Now, I need to answer it,Ā  but I can answer it naturally, like I'm talking to a colleague, and this is how I'm going to doĀ  it. Keep it broad. I want a hype versus reality breakdown. The audience is techsavvy peopleĀ  who are curious about AI, but not necessarily developers. Medium depth. include specific tools,Ā  platforms, stick to the last 6 to 12 months, and formatted structured posts for clear sections andĀ  bulleted points. So, let's submit. Now, it's going to take those answers and start working. Watch theĀ  to-do list. Now, here's the plan before it starts. You can see AI agents 2026, what people areĀ  actually doing, all the uh things I just answered, what questions I'll research are these ones,Ā  and I'm just going to say proceed. Yes. And notice now even on the side we have resources aĀ  folder that's there. I'm going to say allow. Yes. So it's searching the web, reading throughĀ  results, pulling out relevant information. You can see it thinking through what it finds.Ā  And remember this is web search built right into cloud code. No plugins, no MCP setup, noĀ  BI API keys. It just works out of the box. Now I have to allow it to write. All right,Ā  it's all done. The link to the finished report is here. It's also in my output. It lives rightĀ  here. It's the same thing. Now, the one thing I just wanted to point out here, this right here,Ā  the uh most honest number, even the best models only succeed 45.7% of the time on real world task.Ā  Human oversight isn't optional yet. I wonder how fast this number will change. I must say it's kindĀ  of comforting to know this. But let's go ahead and open up the report. So remember when it opensĀ  up the MD file, this is in markdown uh language here. So it doesn't look quite as nice as theĀ  formatted report. But if we hit control, shift, and v together, it's going to give the preview ofĀ  it. So we have the topic and everything that we said said wanted in it from the depth of 3 to fiveĀ  pages, the date range, the audience. We have our executive summary up top here, background,Ā  uh what are the what's actually working, key findings. So, we have this detailed report nowĀ  going all the way through uh really narrowing down specifically what I told it to search. So,Ā  each time I do this, it's going to be very specific. It gives me all the sources to this.Ā  So, the agent did all the thinking, organizing, and all the writing. But we're not done yet. LetĀ  me show you one more thing that makes the agendic ## Iterating and refining results [21:12] workflow so powerful. Iteration. I'm going toĀ  say this. The executive summary is a bit long. Trim it to three bullet points. Now watch. ItĀ  doesn't start over again. It goes into the report, finds the executive summary, and trims it down.Ā  Clean, targeted, edited. And one more thing I wanted to do, add a comparison table of the topĀ  five AI agent tools mentioned in the report. So, look at that. It scans through what it alreadyĀ  wrote, identifies the tools it mentioned, and created a formatted comparison table. It didn'tĀ  need me to list the tools. It pulled it from its own research. Let's go check out those changes.Ā  So, I'm just going to open back up this. I'll go back to preview. We should see a shorter summary.Ā  There's the three. 1 2 3. And now, uh, before this was six. It didn't have quite the comparisonĀ  on it, but now 1 2 3 4 five on it. So, it made those quick updates to the files. That's what IĀ  mean by Agent. It remembers the context and it knows the project and it builds on what's alreadyĀ  there instead of starting from scratch each time. Once you start working this way, it's really hardĀ  to go back. All right, before we wrap up, let me ## Five mistakes to avoid and pro tips [22:22] save you some time with the five biggest mistakesĀ  I see people make and some pro tips that go with them. Mistake number one, skipping claw.md. IĀ  know I keep saying it, but this one file changes everything. Two minutes of setup saves you hoursĀ  of frustration. Just do it. Mistake number two, being too vague. Do some research gives youĀ  generic garbage, but research remote working trends for general audience. Focus on productivityĀ  data from the last 6 months and formatted as a structured report with bullet points. That givesĀ  you gold. Being specific is everything. Mistake number three, not using plan mode. If you skipĀ  planning and jump right to execution, the agent might go down the wrong path and you've wastedĀ  your time. Plan first, build second. It takes an extra 30 seconds, but it's well worth it. MistakeĀ  number four, not telling it to ask questions. If your workflow doesn't say ask clarifyingĀ  questions before starting, the agent will assume, and assumptions lead to wasted time and mediocreĀ  output. Always build that check-in step. Mistake number five, trying to build everything at once.Ā  Start with one workflow, get it working well, refine it, then build the next one. Don't try toĀ  automate your entire life in a single weekend. Trust me on this one. Now, here are some quickĀ  pro tips. Keep your workflow files in a workflow folder. It keeps things organized as you buildĀ  more of them. Read the agents to-do list and reasoning as it works. It's the best tool you haveĀ  for understanding what's happening and catching mistakes early before they snowball. When theĀ  output isn't right, tell the agent specifically what to fix. Don't start over. Targeted feedbackĀ  is way faster than redoing the whole thing. And save your best claw.md and workflow files. You canĀ  copy them into new projects as starting points. Over time, you'll build a library of workflowsĀ  that make it incredibly efficient. One more, and this is a really useful one. If theĀ  agent goes off in the wrong direction, hover over a previous point in the thread, andĀ  you have the option to roll back the conversation, and this undoes file changes that the agent made.Ā  So, you can rephrase your prompt and try again. No need to manually undo edits or start over again.Ā  It's a great safety net, especially when you're still learning how to write good prompts. AndĀ  finally, effort levels. Type effort followed by low, medium, or high to control how deeplyĀ  the agent thinks before responding. Low is fast and lightweight, great for simple edits. HighĀ  means it really slows down reasons carefully and produces its best work. Use that for more complexĀ  research or multi-step task. If you're not sure, just leave it on the default and Claude willĀ  figure it out. But knowing this dial exists is useful once you start running longer workflows.Ā  Let's bring it all together. In the first video, ## Wrap up and weekly challenge [24:58] we used Claude code to build an app. Today, weĀ  used it to build an agent. The first one does what you tell it. The second one figures thingsĀ  out on its own. That's a huge jump. And that's what you did today. So, here's my challengeĀ  for you. Build one workflow this week, just one. Pick something you do regularly, research,Ā  writing, organizing, analysis, whatever it is, and turn it into a workflow file. It doesn't haveĀ  to be perfect. Just get it running and see what happens. Let me know down below in the commentsĀ  what you come up with. I'm always curious to see what people are thinking about, what they couldĀ  automate through one of these workflows. Thanks for watching this time on Teachers Tech. I'll seeĀ  you next week with more tech tips and tutorials.