Skip to main content
HomePython

Course

Text-to-Query Agents with MongoDB and LangGraph

IntermediateSkill Level
4.8+
31 reviews
Updated 03/2026
Discover how to talk to your data using text-to-query AI agents with MongoDB and LangGraph.
Start Course for Free
PythonArtificial Intelligence2 hr5 videos13 Exercises1,050 XPStatement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Have you ever wished that your could chat with your database? This is now a possibility with LLMs and AI agents. In this course, you'll learn how to interact and chat with a MongoDB database instance, using LangGraph for agent orchestration. You'll learn about the challenges and value of text-to-query workflows, build your own to answer data-related questions about a movies dataset, and even implement memory checkpointing to pick up your conversations where they left off!

Prerequisites

Introduction to Functions in Python
1

Text-to-Query Agents: Applications and Architecture

Learn how to build text-to-query agents so you can have conversations with your data!
Start Chapter
2

Automating Text-to-Query Workflows with Agents

Make your text-to-query workflow agentic! Building and orchestrating AI agents with LangGraph will allow you to create smart and dynamic text-to-query workflows.
Start Chapter
3

Adding Memory to the Agent

Integrate a short-term memory into your text-to-query agent so it doesn't have to re-run queries to combine insights.
Start Chapter
Text-to-Query Agents with MongoDB and LangGraph
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 31 reviews
84%
16%
0%
0%
0%
  • Kim Chuan
    2 weeks ago

  • Joaquim
    2 weeks ago

  • Joaquín
    2 weeks ago

    The hands on exercises need definitions from previous exercises. I must to copy the cells from previous exercises and paste them into the current exercise, otherwise the hands on module fails.

  • Hassan
    3 weeks ago

  • Michael
    6 weeks ago

  • Andrew
    2 months ago

Kim Chuan

Joaquim

"The hands on exercises need definitions from previous exercises. I must to copy the cells from previous exercises and paste them into the current exercise, otherwise the hands on module fails."

Joaquín

FAQs

What will I be able to do after completing this course on text-to-query agents?

You will be able to build an AI agent that converts natural language questions into MongoDB queries, retrieves data, and maintains conversation context through memory checkpointing.

What technologies are used in this course?

You will use Python, LangGraph for agent orchestration, and MongoDB as the database. The course covers how these tools work together for text-to-query workflows.

What dataset is used for the hands-on exercises?

You will work with a movies dataset stored in MongoDB, building agents that answer data-related questions about the collection through natural language.

What is memory checkpointing and why is it useful?

Memory checkpointing lets your agent remember previous queries and results so it can combine insights across a conversation without re-running earlier queries.

Do I need prior experience with MongoDB or LangGraph?

No prior MongoDB or LangGraph experience is required. You need Intermediate Python and familiarity with writing functions in Python to get started.

Join over 19 million learners and start Text-to-Query Agents with MongoDB and LangGraph today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.