DeepLearning.AI
AI is the new electricity and will transform and improve nearly all areas of human lives.

๐Ÿ’ป ย  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.


๐Ÿ’ป ย  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

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 Learning Path

Enjoy 30% Off Now. Cancel Anytime!

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.

View All Plans and Features

Welcome back!

Hi ,

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

DeepLearning.AI
  • Explore Courses
  • Community
    • Forum
    • Events
    • Ambassadors
    • Ambassador Spotlight
  • My Learnings
  • daily streak fire

    You've achieved today's streak!

    Complete one lesson every day to keep the streak going.

    Su

    Mo

    Tu

    We

    Th

    Fr

    Sa

    free pass got

    You earned a Free Pass!

    Free Passes help protect your daily streak. Complete more lessons to earn up to 3 Free Passes.

    Free PassFree PassFree Pass
Welcome to AI Agents and LangGraph. Built in partnership with LangChain and Tivoli. Taught by Harrison Chase, co-founder and CEO of LangChain, as well as Rotem Weiss who is the co-founder and CEO of Tavily. Harrison, it was not quite a year ago that we're working on our first course on LLM frameworks. And back, then we had an ancient example, but, you know, it was a little bit of a struggle to get it to work. Since then, I've seen many teams successfully build AI agents. What was your view on that? Yeah, that's exactly right, Andrew. We've seen many people successfully building agentic applications now, and I think there were a couple of key improvements over the last year. First, function calling LLMs have made tool use much more predictable and stable. And also specific tools like search have been adapted for agentic use. Yes. If you think about it, when you do a query on a search engine, it will return multiple links that you can then follow to find answers. However, what an agent really wants are answered that you can then reference to the link. Also, the agent needs predictable formats for its results. This is exactly what Agentic Search provides. That makes sense. And by the way, I'm personally a user of LangChain and Tavily. And the reason for being excited is of both of you here. And let me start by describing agents and agentic workflows. let's say that the three of us are going to write a paper together. Maybe I would start with some planning and try to put together an initial outline of the paper. Yeah. And I can take it from there and do some research, maybe run some queries and compile documents related to our topic. Okay, I guess that leaves me to write the first draft. I hope it's not a long paper. Yeah, yeah. Short paper. Hopefully. And then after that, I might veto the paper. Try to make some constructive suggestions and hand it back to Harrison to see if he wants to make some changes or to Rotem to see if he wants to do some more research. and so on. And this would be an example of an agentic or an agent like workflow, in which we iterate to produce a work product. And, in contrast to how people often use LLMs to write essays today, which is served by the prompt and the, write the essay for the first work to the last word in one shot. This type of iterative workflow gives a much better work product. In fact, as a person, I don't write that well. If you force me to just write from start to finish with no backspacing allowed. So concretely, you can similarly prompt an LLM to tell it to write an outline, prompt an LLM to write a draft or revise prompt an LLM to do research and so on. But to dive a bit deeper, let me share what I think are some of the key design patterns of agentic workflows. First, I think there's planning, which is thinking through the steps to take like the outline and what to do after that. Then tool use. Knowing what tools are available and how to use them, like our search tool. Reflection, which refers to iteratively improve a result, possibly with multiple LLMs critiquing and making useful suggestions to drive that type of editing cycle. Multi-agent communication. So you can think of each of us as playing a role again to an LLM with a unique prompt to play a unique role in this process. And then memory, that is tracking the progress and results over the multiple steps. Now, some of these capabilities are related to the LLM itself, like function calling for tool use. But many of these capabilities are actually implemented outside the LLM by the framework that they operate in. Exactly. And the LangChain framework has had many of these elements for some time. Memory is available in multiple forms. Supporting function calling, LLMs and tool execution are available. And we talked about this in the last DeepLearning class we did, functions tools and Agents course. But LangChain has recently updated its support for agentic workflows. Here's some examples of agents that we now better support. So, ReAct agents was an early paradigm for building agents, and ReAct stands for reasoning and action. Another example that we recently added support for is the example presented in the Self Refine paper, where it does the iterative refinement that you were talking about. And most recently, you can see the alpha coding example. Which creates a coding agent using flow engineering. And from all these diagrams you can see that these agents and their behavior is defined by a cyclical graph. And to support directly building agents like this, LangChain has extended to support LangGraph. In this course, you will start by building an agent from scratch with just an LLM and Python. Then, you'll learn about the components of LangGraph by rebuilding that same agent using the LangGraph components directly. Since search tools are such an important part of many agent applications, you will learn the capabilities of agentic search and how to use it. There are two additional capabilities that are helpful when building agents. First, is being able to receive human input. This allows you to guide an agent at critical points. The second is persistence. This is the ability to store the current state of information so that you can return to it later. This is great for both debugging agents and for productionalizing them. We will build a project using LangGraph, but you'll have to reach the last lesson to figure out what it is. And at the end, I'll describe some of the cool applications and future directions I see for this technology. Many people have worked to create this course from LangChain. I'd like to thank Lance Martin and Nuno Campos. From Tavily, Assaf Elovic And from DeepLearning.AI. Geoff Ladwig. All right. We don't want to keep those agents waiting. Let's go on to the next video to get started.
course detail
Next Lesson
AI Agents in LangGraph
  • Introduction
    Video
    ใƒป
    6 mins
  • Build an Agent from Scratch
    Video with Code Example
    ใƒป
    12 mins
  • LangGraph Components
    Video with Code Example
    ใƒป
    19 mins
  • Agentic Search Tools
    Video with Code Example
    ใƒป
    5 mins
  • Persistence and Streaming
    Video with Code Example
    ใƒป
    9 mins
  • Human in the loop
    Video with Code Example
    ใƒป
    14 mins
  • Essay Writer
    Video with Code Example
    ใƒป
    18 mins
  • LangChain Resources
    Video
    ใƒป
    2 mins
  • Conclusion
    Video
    ใƒป
    4 mins
  • Course Feedback
  • Community