Skip to content

aws-samples/aim323_build_agents_with_bedrock_oss

AIM323 Build Agentic Workflows with Amazon Bedrock and Open Source Frameworks

This repository contains code for Amazon Reinvent 2024 workshop on "Build Agentic Workflows with Amazon Bedrock and Open Source Frameworks". In this workshop, participants will get hands-on experience with building end-to-end agentic workloads using Amazon Bedrock, LangGraph, CrewAI and Ragas.

Labs Include

Lab 1: AI Travel Assistant Use Case Introduction

  • Explore the travel assistant use case, covering the dataset on destinations, bookings, and preferences used throughout the labs. We’ll also set up Amazon Bedrock models to enable intelligent response generation and data retrieval, laying the groundwork for the assistant’s capabilities in upcoming labs.

Lab 2: Building a Travel Planner with a Simple LangGraph

  • Learn the fundamentals of LangGraph, including nodes, edges, graphs, and memory concepts. Through a hands-on exercise, you’ll use these elements to build a simple travel recommendation system.

Lab 3: Travel agent with tools

  • Build a travel chatbot agent designed to assist users in finding the ideal vacation destination. This agent will have access to various tools to search based on the user’s profile and the travel history of similar users. Additionally, it will use a retrieval tool to provide in-depth information on different cities across the United States

Lab 4: Travel booking multi-agent

  • Implement a supervisor agentic pattern for handling travel bookings. Here, a central supervisor agent coordinates multiple specialized agents, each with its own dedicated scratchpad. The supervisor agent acts as a coordinator, assigning tasks to the Flight Agent and Hotel Agent based on their respective functions—such as searching, retrieving, changing, and canceling bookings.
  • Lab 6: Dream destination finder with CrewAI and Amazon Bedrock

Lab 5: Dream Destination with CrewAI

  • Explore how to use the CrewAI framework with Amazon Bedrock to build an intelligent agent that can find dream travel destinations based on user preferences. The agent will utilize a large language model (LLM) and web search capabilities to research and recommend destinations that match the user's description.

Lab 6: Evaluate Agents using ragas

  • Evaluate the effectiveness and accuracy of our multi-agent travel booking system using the ragas library. This lab will guide you through the process of evaluating agents' performance on various tasks, such as retrieving relevant information, generating accurate responses, and effectively handling user requests.

Security

See CONTRIBUTING for more information.

License

MIT-0 License

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •