Udemy

Production AI Agents with JavaScript: LangChain & LangGraph

立即報名
  • 267 名學生
  • 更新於 12/2025
4.9
(21 個評分)
CTgoodjobs 嚴選優質課程,為職場人士提升競爭力。透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期
全年招生
課程級別
學習模式
修業期
16 小時 34 分鐘
教學語言
英語
授課導師
Sangam Mukherjee
評分
4.9
(21 個評分)
29次瀏覽

課程簡介

Production AI Agents with JavaScript: LangChain & LangGraph

Production-grade AI agents with LangChain.js, LangGraph.js, RAG, Next.js, LangSmith & real JS/TS projects

Most LangChain and LangGraph courses are Python-first. This one is built from the ground up for JavaScript & TypeScript engineers who want real, shippable agentic systems—not disconnected demos.

You’ll build a sequence of end-to-end projects that mirror how modern teams ship AI features: clean TypeScript code, clear APIs, JSON contracts, LangGraph orchestration, RAG, proper vector stores, and real Next.js frontends wired to real agents.

By the end, you’ll know exactly how to go from idea → design → implementation → observability → deployment in the JS ecosystem.

Here’s what we’ll cover in Phase 1:

  • Intro & Mindset

    • How this course works, what it is / isn’t, and how to follow.

    • Choosing models (OpenAI / Gemini / Groq / local) smartly for cost, speed & reliability.

    • How all projects connect into a reusable “agent platform” you can extend.

  • Foundations: LangChain, Agents & Flow

    • Modern AI app architecture: UI → orchestration → models → tools → storage.

    • Simple, honest definition of AI agents and real-world use cases.

    • Chains vs agents: when a chain is enough, when an agent is worth it.

    • Where LangChain.js fits, where LangGraph.js fits, and how they work together.

    • JSON-first mindset teaser: why strings lie and schemas save you.

  • Orientation & “Hello Agent” Project

    • TS/Node project setup, tsconfig, env patterns, scripts.

    • Multi-provider setup: OpenAI, Gemini, Groq via a single provider factory.

    • First “Hello Agent” function that runs like a clean backend primitive, not a toy script.

  • LLM Fundamentals: JSON-First Approach

    • Tokens, context windows, cost-aware thinking.

    • Sampling knobs: temperature, top_p, max_tokens in practical terms.

    • Chat vs tools; why structured outputs beat ad-hoc prompts.

    • Zod schemas as contracts for every response.

    • Validate → repair → fallback strategies to keep agents stable.

  • JSON-First Mini Project

    • Implement a strict Q&A pipeline in TypeScript with:

      • Centralized env management.

      • Reusable LLM wrapper.

      • CLI entrypoint that returns guaranteed JSON, ready for any frontend.

  • LangChain.js Fundamentals

    • Why use LangChain.js instead of only raw SDKs.

    • Prompt templates, models, output parsers in JS.

    • Runnables & LCEL (RunnableSequence, RunnableMap) as your mental model.

    • Tool-calling with schemas, low-temperature deterministic behavior.

  • Tool-Calling 101: Search v1 (LCEL)

    • Design a search agent that chooses:

      • Direct answer vs web search route.

    • Implement:

      • Typed schemas for search results, open-url, and summaries.

      • Tavily (or similar) integration via LangChain tools.

      • LCEL pipeline that routes, fetches, summarizes, and returns strict JSON.

    • Expose as /search HTTP endpoint and connect to a simple Next.js UI.

  • RAG Fundamentals

    • Clear, no-buzzword explanation of RAG.

    • Ingestion vs query phases; chunking & embeddings.

    • Vector store concepts: similarity search, metadata, top-k.

    • Where “light RAG” is enough vs when you need heavy infra.

  • Light RAG: Docs Helper Project

    • Build a small RAG system in JS:

      • Character-based chunker.

      • In-memory vector store with pluggable embeddings (OpenAI/Gemini).

      • /kb/ingest, /kb/ask, /kb/reset APIs.

      • Cited answers with confidence scores.

    • Next.js UI tab: paste docs → ask questions → view grounded answers + sources.

  • LangGraph Fundamentals

    • Why LCEL alone isn’t enough for complex agents.

    • State, nodes, edges: an intuitive JS mental model.

    • Linear flows (validate → plan → act → finalize).

    • Branching, retries, max-iterations & error boundaries.

    • Checkpointing, replay, and human-in-the-loop approvals.

  • LangGraph Orchestration Project

    • Implement a real LangGraph.js graph:

      • Typed state in types.ts.

      • Nodes: validate, plan, approve, execute, finalize.

      • HTTP route to run the graph; Next.js UI to inspect outcomes.

    • Show how LangChain tools plug into LangGraph nodes cleanly.

  • Deploying & Observing Agents (LangSmith + LangGraph Cloud)

    • Why tracing & observability are mandatory in production.

    • Connect your JS agents to LangSmith for logs, spans, errors, prompts.

    • Deploy a LangGraph graph to LangGraph Cloud.

    • Test via API + HITL (approve/deny) flows.

  • Agentic RAG with Vector DB (Mongo/Supabase style)

    • Turn RAG + tools into a production-ish agent:

      • Chunk → embed → upsert into a real vector store.

      • Ask → retrieve → summarize with citations & confidence.

      • Add tools like calculator, date planner, summarize.

      • Use createAgent / tools with strict policies (cite-if-used, no hallucinated sources).

    • Wire it into a Next.js UI and show how this can power support bots, internal copilots, or SaaS features.

Throughout the course you’ll see one consistent JavaScript architecture, heavy inline explanations, and production-minded patterns you can lift directly into your own products or client work.

課程章節

  • 10 個章節
  • 112 堂課
  • 第 1 章 Introduction
  • 第 2 章 Foundations: LangChain, Agents & Flow
  • 第 3 章 Orientation & Hello agent
  • 第 4 章 LLM Fundamentals: JSON-First Approach
  • 第 5 章 JSON & Structured Output in Action
  • 第 6 章 Langchain fundamentals
  • 第 7 章 Tool-Calling 101: Search v1 (LCEL)
  • 第 8 章 Introduction to RAG
  • 第 9 章 Light RAG (Docs Helper)
  • 第 10 章 LangGraph Fundamentals

課程內容

  • Design, build and ship production-grade AI agents using LangChain.js, LangGraph.js and modern TypeScript/JavaScript.
  • Implement real projects: web search agent, docs chat (RAG), code-driven tools and agentic workflows with clean, testable APIs.
  • Master JSON-first patterns, Zod schemas, tool calling and structured outputs to make agents reliable, debuggable and observable.
  • Deploy and monitor agents using LangSmith & LangGraph Cloud, integrate with Next.js UIs, and prepare for real-world production use.


評價

  • I
    Ismael Windinso Tinta
    5.0

    Awesome course and well structured. I discovered the instructor from his youtube channel and did not hesitate to buy the course because of the efforts he put in free content. Some of the concepts are a bit difficult to grasp for me, I am sure it's because I just watched the whole content without coding along. So I will revisit some sections and code along with langchain documentation to support, and I am sure it would be fun as I will be integrating AI into my SaaS which I am developing. Can't wait to learn more from part 2

  • a
    abhishek
    5.0

    Sir, I want to give you a small suggestion. Your content is top-notch and very advanced, but I have a tiny piece of advice. When you write code, please also explain why you are writing it that way. For example, tell us whether something is a syntax requirement or a LangChain-specific rule, because many of us are not familiar with LangChain's syntax. And if possible, please also show the overall flow at the end — like which function runs first, where its output goes next, and how the entire process works step-by-step.

  • A
    Avirup Some
    4.5

    Simple to understand. In depth explanations

  • S
    Samikshya Nanda
    5.0

    Amazing Content ,I hope January brings another set of informative content. Great going Sangam

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策使用條款才繼續瀏覽。

我已閱讀及同意