AI Cloud Architect

Build a serverless conversational AI agent using Claude with LangGraph and managed MLflow on Amazon SageMaker AI

AWSHow-to by Sri Potluri and Luis Felipe Yepez BarriosAWS Artificial Intelligence Blog

This post explores how to build an intelligent conversational agent using Amazon Bedrock, LangGraph, and managed MLflow on Amazon SageMaker AI.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A reference architecture and sample code for a serverless order-management chatbot that uses Claude on Bedrock, LangGraph for a three-stage conversation graph, and managed MLflow tracing on SageMaker AI.

Who it is for

Teams building customer service agents on AWS that need multistep order lookups and cancellations with traceable conversations.

Key points

  • Claude 3.5 Sonnet on Amazon Bedrock must be enabled in the account before deployment.
  • Deployment uses AWS CDK with a make deploy command, and the sample code is in a public GitHub repository.
  • Conversation state is stored in DynamoDB with a four-hour TTL; tools call an Amazon RDS for PostgreSQL database.