Quick Guide & Tips

💻   Accessing Utils File and Helper Functions

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Open"

You will be able to see all the notebook files for the lesson, including any helper functions used in the notebook on the left sidebar. See the following image for the steps above.


🔄   Reset User Workspace

If you need to reset your workspace to its original state, follow these quick steps:

1:   Access the Menu: Look for the three-dot menu (⋮) in the top-right corner of the notebook toolbar.

2:   Restore Original Version: Click on "Restore Original Version" from the dropdown menu.

For more detailed instructions, please visit our Reset Workspace Guide.


💻   Downloading Notebooks

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Download as"

3:   Then, click on "Notebook (.ipynb)"


💻   Uploading Your Files

After following the steps shown in the previous section ("File" => "Open"), then click on "Upload" button to upload your files.


📗   See Your Progress

Once you enroll in this course—or any other short course on the DeepLearning.AI platform—and open it, you can click on 'My Learning' at the top right corner of the desktop view. There, you will be able to see all the short courses you have enrolled in and your progress in each one.

Additionally, your progress in each short course is displayed at the bottom-left corner of the learning page for each course (desktop view).


📱   Features to Use

🎞   Adjust Video Speed: Click on the gear icon (⚙) on the video and then from the Speed option, choose your desired video speed.

🗣   Captions (English and Spanish): Click on the gear icon (⚙) on the video and then from the Captions option, choose to see the captions either in English or Spanish.

🔅   Video Quality: If you do not have access to high-speed internet, click on the gear icon (⚙) on the video and then from Quality, choose the quality that works the best for your Internet speed.

🖥   Picture in Picture (PiP): This feature allows you to continue watching the video when you switch to another browser tab or window. Click on the small rectangle shape on the video to go to PiP mode.

√   Hide and Unhide Lesson Navigation Menu: If you do not have a large screen, you may click on the small hamburger icon beside the title of the course to hide the left-side navigation menu. You can then unhide it by clicking on the same icon again.


🧑   Efficient Learning Tips

The following tips can help you have an efficient learning experience with this short course and other courses.

🧑   Create a Dedicated Study Space: Establish a quiet, organized workspace free from distractions. A dedicated learning environment can significantly improve concentration and overall learning efficiency.

📅   Develop a Consistent Learning Schedule: Consistency is key to learning. Set out specific times in your day for study and make it a routine. Consistent study times help build a habit and improve information retention.

Tip: Set a recurring event and reminder in your calendar, with clear action items, to get regular notifications about your study plans and goals.

☕   Take Regular Breaks: Include short breaks in your study sessions. The Pomodoro Technique, which involves studying for 25 minutes followed by a 5-minute break, can be particularly effective.

💬   Engage with the Community: Participate in forums, discussions, and group activities. Engaging with peers can provide additional insights, create a sense of community, and make learning more enjoyable.

✍   Practice Active Learning: Don't just read or run notebooks or watch the material. Engage actively by taking notes, summarizing what you learn, teaching the concept to someone else, or applying the knowledge in your practical projects.


📚   Enroll in Other Short Courses

Keep learning by enrolling in other short courses. We add new short courses regularly. Visit DeepLearning.AI Short Courses page to see our latest courses and begin learning new topics. 👇

👉👉 🔗 DeepLearning.AI – All Short Courses [+]


🙂   Let Us Know What You Think

Your feedback helps us know what you liked and didn't like about the course. We read all your feedback and use them to improve this course and future courses. Please submit your feedback by clicking on "Course Feedback" option at the bottom of the lessons list menu (desktop view).

Also, you are more than welcome to join our community 👉👉 🔗 DeepLearning.AI Forum


Sign in

Or, sign in with your email
Email
Password
Forgot password?
Don't have an account? Create account
By signing up, you agree to our Terms Of Use and Privacy Policy

Create Your Account

Or, sign up with your email
Email Address

Already have an account? Sign in here!

By signing up, you agree to our Terms Of Use and Privacy Policy

Choose Your Plan

MonthlyYearly

Change Your Plan

Your subscription plan will change at the end of your current billing period. You’ll continue to have access to your current plan until then.

Learn More

Welcome back!

Hi ,

We'd like to know you better so we can create more relevant courses. What do you do for work?

Join Team Success

You have successfully joined undefined

You now have access to all Pro features. Click below to start learning!
DeepLearning.AI
  • Explore Courses
  • Membership
  • Community
    • Forum
    • Events
    • Ambassadors
    • Ambassador Spotlight
  • My Learning
Welcome to Building Coding Agents with Tool Execution, both in partnership with E2B and taught by Tereza Tizkova and Francesco Zuppichinni. In this course, you learn how to build agents that can generate and execute code as part of how they get the work done. Many of us will predefine some set of functions that we give to, say, an LLM to call. But rather than using only a predefined small set of functions, if you instead let your LLM or your agent write and execute arbitrary Python code. then has access to every built-in Python function or can even ask to install common Python packages and call functions from that. This really opens up the space of what an agent can now do. Also, instead of sequentially making function calls one at a time, which is common in LLM tool use for slightly more complex tasks, your agent can now also just write a huge chunk of code. and efficiently execute a long sequence of operations, and this too makes it more capable. But running code generated by an LLM on your local machine can be unsafe. What if the code does something it isn't supposed to? Once, a highly agentic coding tool deleted one of my team members' important project files. And another did a flawed database migration that deleted production data. Thankfully, we had backups. But to run generated code safely, a good practice is to run that code inside a sandbox environment so that the code execution is isolated from your system. Thanks Andrew. In this course, we will start by breaking down what an AI coding agent really is and how it differs from other AI agents. You will learn how an LLM can reason step-by-step, decide which tool to call, execute code, and use the result to plan its next action. And then, you'll build your own agent capable of running Python code, reading and writing files and iterating through tasks until it reaches a final answer. We'll discuss how to manage the context window, handle errors, and retries. Once you understand how an agent thinks and acts, you'll explore different environments like local execution, containers, and secure sandboxed microVMs. And you will learn how to choose the right one. depending on your use case. You'll learn how to create and manage sandboxes, run code remotely in different languages and interact with the sandbox file system. So your agent will be able to use uploaded dataset, save outputs and even create and host small web application. You build a data analyst agent that explores CSV files with pandas and generates clear visualization. And in a final lesson, we'll create a full-stack agent that edits multiple files and builds a working Next.JS web app inside the sandbox. To keep your agent focused even across large, multifile projects, we'd also discuss managing long context through runtime summarization. Many people have worked to create this course. I'd like to thank Jakub Dobry from E2B and from DeepLearning.AI, Esmaeil Gargari also contributed to this course. The first lesson will introduce you to the inner workings of coding agents, as well as some challenges in building them. So, let's go on to the next video and get started.
course detail
Next Lesson
Building Coding Agents with Tool Execution
  • Introduction
    Video
    ・
    3 mins
  • Inside a Coding Agent
    Video
    ・
    8 mins
  • Your First Coding Agent
    Video with Code Example
    ・
    10 mins
  • Tool Execution Environments
    Video
    ・
    5 mins
  • Running Code in the Cloud
    Video with Code Example
    ・
    7 mins
  • Data Analyst Agent
    Video with Code Example
    ・
    4 mins
  • Full Stack Agent
    Video with Code Example
    ・
    8 mins
  • Conclusion
    Video
    ・
    1 min
  • Quiz

    Graded・Quiz

    ・
    12 mins
  • OPTIONAL
    Code Example
    ・
    10 mins
  • Course Info