Online course · AI

Production Agentic AI with LangGraph & Vector DBs

Take LangGraph agents to production: state, memory, approvals, evals, deploy

Created by TrainSkool Trainer

Production Agentic AI with LangGraph & Vector DBs course cover

Coming soon Launch price ₹3,499

This course is not open for enrolment yet.

About this course

For experienced developers who can already build a basic LLM agent and now need one that survives production. Across eight chapters you build the Desk Agent for TaranPay, a fictional Bengaluru payments startup: typed graph state and routing in LangGraph, tool layers with validation, idempotent side effects, retries and MCP, checkpointed threads with human approval and crash recovery, short- and long-term memory, retrieval with pgvector, Qdrant and Chroma, subgraphs, parallel work and supervisor handoffs, streaming, evaluation sets with regression gates, guardrails with DPDP-aware redaction, tracing, cost budgets and deployment with FastAPI and Postgres. Everything runs on a deterministic fake model, so no paid API key is needed. The course has text lessons, in-app slides, quick checks, auto-checked coding exercises, graded chapter projects, a capstone, a final exam and a certificate worth 4 TrainSkool learning credits. Trainer videos are added before launch in April 2027. Prerequisites: TrainSkool's AI Agents & Agentic AI and RAG & Vector Databases courses (or equivalent), Python 3.11+, pytest, Git and basic Docker and SQL. TrainSkool is not affiliated with or endorsed by LangChain, Inc., Qdrant, Chroma, the pgvector project, the OpenTelemetry project or the Model Context Protocol project. What you will be able to do: - You will be able to design typed LangGraph state with reducers and conditional routing, and test it deterministically with fake models. - You will be able to build tool layers with validated arguments, structured errors, idempotent side effects, retries, timeouts and MCP servers. - You will be able to persist agent threads with in-memory, SQLite and Postgres checkpointers and recover runs after a crash. - You will be able to add human approval steps with interrupt and resume, including multi-level sign-off with an audit record. - You will be able to manage short-term context with trimming and summaries and long-term memory with the LangGraph Store. - You will be able to give agents retrieval tools over pgvector, Qdrant or Chroma with tenant filters, citations and a swappable backend. - You will be able to compose subgraphs, parallel Send fan-out and supervisor handoffs, and stream progress to users. - You will be able to build agent evaluation sets that score outcomes, trajectories and tool arguments, and enforce a regression gate. - You will be able to defend agents against indirect prompt injection and redact personal data in line with the DPDP Act 2023. - You will be able to trace agent runs with LangSmith or OpenTelemetry and set cost, latency and loop budgets with alerts. - You will be able to deploy a stateful, interruptible agent with FastAPI and Postgres and plan releases with canaries and rollback.

What you'll learn

  • Graph state, reducers and routing
  • Production tool layers and MCP
  • Persistence and durable execution
  • Human-in-the-loop approval
  • Agent memory: context and Store
  • Vector retrieval for agents
  • Multi-agent control flow and streaming
  • Agent evaluation and regression gates
  • Guardrails and privacy
  • Observability and budgets
  • Deployment and release

Course content

Chapter 1 · Module 1: From Prototype Loop to Production Graph

  • Code lab: Why Production Agents Need Graphs: Failure Modes of the While-Loop AgentEvery agent demo looks the same: a while-loop calls the model, runs whatever tool the model asks for, appends the result and loops until the model answers in plain text.16 topics · 45 min
  • Code lab: State Design: TypedDict, Reducers and add_messagesTwo weeks after Karthik moved the Desk Agent onto a graph, Ananya's team asked a simple question during an audit: which steps did the agent take on TKT-1042 before it told the merchant the refund…18 topics · 50 min
  • Code lab: Nodes, Routing and Deterministic Tests with Fake ModelsKarthik's first pull request for Desk Graph v0 had no tests. " was his reply in review.23 topics · 55 min

Chapter 2 · Module 2: Tools That Survive Production

  • Code lab: Tool Calling in LangGraph: ToolNode, tools_condition and the Agent LoopDesk Graph v0 from module 1 can classify a ticket and route it, but its agent node cannot look anything up.16 topics · 50 min
  • Code lab: Tool Contracts: Validation, Structured Errors and Least PrivilegeA tool is a contract between a model that makes mistakes and a system that moves money.17 topics · 50 min
  • Code lab: Side Effects: Idempotency, Retries, Timeouts and Error HandlersThe most expensive bug a support desk can ship is a duplicate refund, and TaranPay's own fictional policy pol-08 says so in as many words.15 topics · 55 min
  • Code lab: MCP: Serving and Consuming Tools Across Process BoundariesBy now three TaranPay teams want the same ledger lookups. The Desk Agent needs settlement status.23 topics · 50 min

Chapter 3 · Module 3: Persistence, Durable Execution and Human Approval

  • Code lab: Checkpointers and Threads: InMemory, SQLite and PostgresTaranPay Technologies is a fictional Bengaluru payments startup, and everything in this chapter (merchants, tickets, amounts, people) is fictional too.16 topics · 50 min
  • Code lab: Human-in-the-Loop: interrupt() and Command(resume)TaranPay's fictional refund policy says the Desk Agent may refund up to ₹5,000 on its own.16 topics · 55 min
  • Code lab: Durable Execution: Replay, Editing State and Crash RecoveryTwo incidents from the Desk Agent's pilot week (fictional, like all of TaranPay) show why checkpoints are more than storage.22 topics · 50 min

Chapter 4 · Module 4: Memory and Retrieval with Vector Databases

  • Code lab: Short-Term Memory: Trimming, Summaries and Context BudgetsTaranPay is a fictional company and CB-3301 a fictional chargeback, but the shape of the problem is real.15 topics · 50 min
  • Code lab: Long-Term Memory with the LangGraph StoreAnnapoorna Kirana Stores (M-7731, a fictional kirana in Jayanagar, Bengaluru) wrote on TKT-1042 that it prefers replies in Kannada.16 topics · 50 min
  • Code lab: pgvector for Agents: Retrieval Tools, Filters and TenancyBrew Brothers Café (M-5408, fictional, like all TaranPay data) asks why its ₹9,860 settlement is on hold.16 topics · 55 min
  • Code lab: Qdrant and Chroma: Swapping Vector Backends Behind One InterfaceTaranPay (fictional) starts with pgvector because Postgres is already there.22 topics · 50 min

Chapter 5 · Module 5: Multi-Agent Control Flow and Streaming

  • Code lab: Subgraphs: Encapsulation, State Mapping and Persistence ScopeBy the end of chapter 4 the Desk Agent is one graph that classifies a ticket, calls tools, pauses for approval, remembers merchant preferences and retrieves policy.15 topics · 50 min
  • Code lab: Parallel Work with Send: Map-Reduce and Concurrency LimitsLakshmi Textiles (M-9015, fictional), a Surat wholesaler on TaranPay's gateway, writes in with a list of six transactions it wants checked before it signs off on a ₹62,000 refund request.15 topics · 50 min
  • Code lab: Supervisor and Handoffs with CommandTicket TKT-1044 comes from Kodai Organics (M-2210, fictional), a D2C brand in Madurai.17 topics · 55 min
  • Code lab: Streaming to Users: Modes, Progress Events and TokensAnnapoorna Kirana Stores (M-7731, fictional) asks on TKT-1046 when its settlement will arrive.23 topics · 45 min

Chapter 6 · Module 6: Evaluation, Guardrails and Safety

  • Code lab: Agent Evaluation Sets: Outcomes, Trajectories and Tool ArgumentsThe AI Agents and Agentic AI course introduced eval sets as a list of inputs with expected answers.15 topics · 55 min
  • Code lab: Scoring and Regression Gates in CI1 gave the Desk Agent an eval set and a harness that prints a table. A table nobody reads protects nobody.16 topics · 55 min
  • Code lab: Guardrails: Injection via Tools and Retrieval, Output Checks, PII RedactionTicket TKT-1099 arrives from an account linked to Annapoorna Kirana Stores (M-7731, fictional).21 topics · 55 min

Chapter 7 · Module 7: Observability and Deployment

  • Code lab: Tracing Agents: LangSmith and OpenTelemetry GenAI Conventions" The Desk Agent's logs show a 200 response and nothing else. Was the ticket classified as a refund?16 topics · 55 min
  • Code lab: Cost, Latency and Loop BudgetsAnanya Rao's success metric for the Desk Agent was simple: answer merchants faster than the human queue, at a cost per ticket lower than a support agent's time.14 topics · 50 min
  • Code lab: Self-Hosting with FastAPI and PostgresUntil now the Desk Agent has run inside test scripts and notebooks.17 topics · 60 min
  • Code lab: Managed Options and Release Strategy: Agent Server, langgraph.json, Canary3). 0 ships to all 38,000 merchants (fictional), Karthik has to answer two questions for the engineering review.23 topics · 45 min

Chapter 8 · Module 8: Capstone - TaranPay Desk Agent v1.0

  • Reading: Capstone Brief and MilestonesOver seven chapters you built every part of the TaranPay Desk Agent separately: typed state and routing, a tool layer with idempotent refunds, durable approval, memory and retrieval, a supervisor…14 topics · 40 min
  • Code lab: Build, Harden and EvaluateMost capstones that fail do not fail on a missing feature.17 topics · 60 min
  • Assignment: Deliverables, Demo and Grading RubricA capstone is judged by people who did not watch you build it. m.9 topics · 40 min

Assessments and certificate

  • Module 1 quiz: From Prototype Loop to Production Graph8 questions · 15 min · pass mark 70%
  • Module 2 quiz: Tools That Survive Production8 questions · 15 min · pass mark 70%
  • Module 3 quiz: Persistence, Durable Execution and Human Approval8 questions · 15 min · pass mark 70%
  • Module 4 quiz: Memory and Retrieval with Vector Databases8 questions · 15 min · pass mark 70%
  • Module 5 quiz: Multi-Agent Control Flow and Streaming8 questions · 15 min · pass mark 70%
  • Module 6 quiz: Evaluation, Guardrails and Safety8 questions · 15 min · pass mark 70%
  • Module 7 quiz: Observability and Deployment8 questions · 15 min · pass mark 70%
  • Module 8 quiz: Capstone - TaranPay Desk Agent v1.07 questions · 15 min · pass mark 70%
  • Production Agentic AI with LangGraph & Vector DBs — final assessment20 questions · 40 min · pass mark 70%

Related courses

Frequently asked questions

Can I get a refund for Production Agentic AI with LangGraph & Vector DBs?

Yes. You can request a full refund within 7 days of purchase, provided you have completed no more than 25% of the lessons, not started the final exam and not been issued a certificate. Pre-orders of a course that has not launched yet can be refunded in full any time before launch. Email refunds@trainskool.com with your order reference; approved refunds go back to your original payment method.

How long do I have access to the course?

Lifetime access. A one-time payment of ₹3,499 keeps the course in your TrainSkool learning dashboard, on the web and in the TrainSkool apps, with no subscription to cancel.

Do I get a certificate?

Yes. TrainSkool issues a certificate when you meet the course requirements, including passing its 9 graded assessments. Every certificate has a public verification link that employers can check.

Are there any prerequisites?

No other course is required. The course level is advanced, so check the curriculum to confirm it matches your experience.

How is the course delivered?

Online and self-paced: 8 modules and 28 lessons, about 23h 50m of study, with graded assessments. Learn in your browser or the TrainSkool Android and Windows apps.