Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 3.53 KB

File metadata and controls

90 lines (58 loc) · 3.53 KB

Burger Ordering Agent Logo

Optional companion recording: click the image below for a guided walkthrough.

Watch the Quest 5 companion recording

Overview

In this quest, you will set up and run a complete end-to-end Burger Ordering Agent system using LangChain.js. Once you have completed the setup, you will start a CodeTour that will guide you through each step of the Agentic solution design and implementation with detailed explanations.

Serverless RAG - CodeTour

Note

This quest highlights three foundations of an agent system: MCP tool integration for interaction with external systems, structured agent workflows with error handling for consistent behavior, and API-based architecture for controlled access and validation.

Steps to Complete the Quest

Codebase Setup

  1. Fork and Clone the Repository: Start by forking the AI Agent with MCP tools using LangChain.js repository to your GitHub account and then clone it.

    git clone https://github.com/<your-username>/mcp-agent-langchainjs.git

    Navigate to the project directory:

    cd mcp-agent-langchainjs
  2. Install Dependencies: Install the required project dependencies using:

    npm install
  3. Start the Application:

    Launch the application with:

    npm start

Note

Starting the different services may take some time, you need to wait until you see the following message in the terminal: 🚀 All services ready 🚀

This will start:

Start the CodeTour

This quest is designed to give you a guided tour of the codebase and its implementation of the complete Agentic solution. Follow these steps to start the CodeTour:

  1. Install the CodeTour Extension: If you haven't already, install the CodeTour extension in Visual Studio Code.

  2. Open the CodeTour: Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type "CodeTour: Start Tour".

    Start CodeTour

There are 6 tours to walk you through the entire agent implementation flow. We recommend going through them in order as they build upon each other.

  • Tour 1: Introduction: Understanding AI Agents (7 steps)
  • Tour 2: Designing AI Agents (8 steps)
  • Tour 3: Building MCP Tools (10 steps)
  • Tour 4: Building the Agent API (7 steps)
  • Tour 5: Backend API Design (7 steps)
  • Tour 6: Scaling with Azure Infrastructure (4 steps)

Warning

Trouble viewing the CodeTour? Try setting comments.maxHeightExceeded to false

Continue learning

Once you have completed the CodeTour and explored the agent implementation, return to the Quest directory to choose what to explore next.

Stay connected

Have a question, project, or insight to share? Join the JavaScript AI community on Discord.

AI Note

This quest was partially created with the help of AI. The author reviewed and revised the content to ensure accuracy and quality.