Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Production AI Agents with JavaScript: LangChain & LangGraph

Production AI Agents with JavaScript: LangChain & LangGraph

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

4.6
(90 đánh giá)
731 học viên
Giảng viên
Sangam Mukherjee
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 399.000đ -87%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
16.5 giờ video
112 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 28/05/2026

Bạn sẽ học được gì

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.

Yêu cầu

JavaScript/TypeScript and Node.js basics (functions, async/await, npm).
Familiarity with Git, REST APIs, JSON, environment variables and VS Code (or similar).
Basic React/Next.js knowledge is helpful but not mandatory; we walk through the integrations.
No prior ML/AI required.

Đối tượng phù hợp

JavaScript/TypeScript developers who want to build real AI agents instead of toy chatbots.
Full-stack, backend and Next.js engineers ready to add LangChain.js, LangGraph.js, RAG and tool-calling skills to their production toolkit.
Developers coming from Python-only AI content who want a JS-native, framework-driven path to shipping agentic apps.
Tech leads, indie hackers and SaaS builders who care about correctness, JSON-first APIs, observability, and deployable architectures—not just demos.

Nội dung khóa học

12 phần • 112 bài giảng
1 Introduction
2 Course projects demo
3 Course Prerequisites and What this course is not
4 How to follow this course and Resources to follow
5 IMP: Which models to use - paid or free ?
1 Modern AI apps: UI → Orchestration → Models & Tools
2 What is an AI agent
3 Chains vs agents
4 Where LangChain fits in this stack
5 Where LangGraph fits in this stack
6 JSON-first mindset (high-level teaser)
1 What are we building ?
2 Setting up project and install dependencies: Starter Code
3 OpenAI, Gemini & Groq models - API keys, overview
4 Env setup
5 Google gemini provider implementation
6 Groq provider implementation
7 OpenAI provider implementation
8 Hello agent and output
1 Tokens, cost and context window
2 Sampling knobs: temperature, top_p, max_tokens
3 Chat models VS Tools
4 Zod schemas as contracts for outputs
5 Structured outputs
1 What are we building?
2 Setting up project and Next JS starter Code
3 Creating zod schema
4 Implementing OpenAI, Gemini and Groq models
5 Implement core ask logic
6 Implementing ask backend route and setting up express server
7 Creating next js api route
8 Creating ask UI component and integrating with ask api route
1 Why use LangChain JS over raw SDKs
2 Core building blocks: Prompt, Model, Output Parser
3 Runnables & LCEL
1 Project overview
2 Project flow and introduction to Tavily
3 Starter code for backend and frontend
4 Setting up env schema
5 Install LangChain JS, provider SDKs and implementing chat models
6 Web search schema
7 Web search with Tavily implementation
8 Openurl logic implementation
9 Summarize logic with langchain system and human message
10 Build LCEL: create types
11 Build LCEL: implement route strategy
12 Build LCEL: implement web pipeline - part 1
13 Build LCEL: implement web pipeline - part 2
14 Build LCEL: implement direct pipeline
15 Build LCEL: final validation logic
16 Build LCEL: implement search chain
17 Add search route and setup express server
18 Integrate search agent with next js - Part 1
19 Integrate search agent with next js - Part 2
20 Debugging , fixing issues and testing search agent
1 What is RAG and Two-phase RAG: ingestion vs query
2 Chunking and Embeddings
3 Vector store concept
1 What are we building ?
2 Project flow and how we will approach ?
3 Chunk logic implementation
4 Store logic implementation with MemoryVectorStore
5 Ingest implementation
6 Ask logic implementation - part 1
7 Ask logic implementation - part 2
8 Create light RAG express route
9 Integrate RAG with next js UI - part 1
10 Integrate RAG with next js UI - part 2
1 What is LangGraph and Why we need orchestration beyond LCEL
2 State, Nodes and Edges
3 Branching, loops and checkpoints
4 Human-in-the-loop: pause, approve, resume
1 What are we building?
2 Project flow and how we will approach
3 Starter code and installing packages
4 Setting up env file
5 Creating types and state for graph
6 Implementing validate node
7 Implementing plan node
8 Implementing approve node and interrupt logic
9 Implementing execute node
10 Implementing finalize node
11 Implementing langgraph graph logic
12 Creating express routes for our graph
13 Creating express server
14 Integrate with next js - part 1
15 Integrate with next js - part 2
16 Integrate with next js - part 3
17 Integrate with next js - part 4
18 Integrate with next js & testing - part 5
19 Integrate with next js & testing - part 6
1 What are we building ?
2 Project flow
3 Starter code
4 Env setup
5 Implementing OpenAI model instance
6 Implementing Mongo client and DB instance
7 Implementing knowledge base (KB) - Types
8 Implementing knowledge base (KB) - Loader
9 Implementing knowledge base (KB) - Splitter
10 Implementing knowledge base (KB) - Vector Store
11 Implementing knowledge base (KB) - Ingest chunks to vector store
12 Implementing knowledge base (KB) - Retriever
13 Implement Knowledge base routes
14 Create server.ts file and testing Knowledge base logic
15 Implement Agent - policy and tools
16 Implement Agent - createAgent logic
17 Create agent route without memory
18 Implement Agent - memory logic
19 Modify agent route with memory logic
20 Integrate with next js & testing - part 1
21 Integrate with next js & testing - part 2

Giới thiệu khóa học

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.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Data Science
Hiển thị tất cả khoá học Development
Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Javascript
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊