Close Menu
    Main Menu
    • Home
    • News
    • Tech
    • Robotics
    • ML & Research
    • AI
    • Digital Transformation
    • AI Ethics & Regulation
    • Thought Leadership in AI

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Russian hackers accused of assault on Poland electrical energy grid

    January 26, 2026

    Palantir Defends Work With ICE to Workers Following Killing of Alex Pretti

    January 26, 2026

    The Workers Who Quietly Maintain Groups Collectively

    January 26, 2026
    Facebook X (Twitter) Instagram
    UK Tech InsiderUK Tech Insider
    Facebook X (Twitter) Instagram
    UK Tech InsiderUK Tech Insider
    Home»Machine Learning & Research»Create a journey planning agentic workflow with Amazon Nova
    Machine Learning & Research

    Create a journey planning agentic workflow with Amazon Nova

    Oliver ChambersBy Oliver ChambersAugust 19, 2025No Comments11 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Create a journey planning agentic workflow with Amazon Nova
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    Touring is pleasant, however journey planning may be advanced to navigate and a trouble. Vacationers should ebook lodging, plan actions, and organize native transportation. All these selections can really feel overwhelming. Though journey professionals have lengthy helped handle these complexities, latest breakthroughs in generative AI have made one thing fully new attainable—clever assistants that may perceive pure dialog, entry real-time knowledge, and straight interface with reserving methods and journey instruments. Agentic workflows, which use massive language fashions (LLMs) with entry to exterior instruments, are significantly promising for simplifying dynamic, multi-step processes like journey planning.

    On this submit, we discover the way to construct a journey planning resolution utilizing AI brokers. The agent makes use of Amazon Nova, which presents an optimum stability of efficiency and value in comparison with different business LLMs. By combining correct however cost-efficient Amazon Nova fashions with LangGraph orchestration capabilities, we create a sensible journey assistant that may deal with advanced planning duties whereas maintaining operational prices manageable for manufacturing deployments.

    Resolution overview

    Our resolution is constructed on a serverless AWS Lambda structure utilizing Docker containers and implements a complete three-layer strategy: frontend interplay, core processing, and integration providers. Within the core processing layer, we use LangGraph, a stateful orchestration framework, to create a classy but versatile agent-based system that manages the advanced interactions required for journey planning.

    The core of our system is a graph structure the place parts (nodes) deal with distinct points of journey planning, with the router node orchestrating the stream of knowledge between them. We use Amazon Nova, a brand new technology of state-of-the-art basis fashions (FMs) accessible solely on Amazon Bedrock that delivers frontier intelligence with industry-leading price-performance. The router node makes use of an LLM to investigate every consumer question and, with entry to the outline of our 14 motion nodes, decides which of them should be executed. The motion nodes, every with their very own LLM chain, powered by both Amazon Nova Professional or Amazon Nova Lite fashions, handle varied features, together with net analysis, customized suggestions, climate lookups, product searches, and procuring cart administration.

    We use Amazon Nova Lite for the router and less complicated motion nodes. It may well deal with question evaluation and fundamental content material technology with its lightning-fast processing whereas sustaining sturdy accuracy at a low price. 5 advanced nodes use Amazon Nova Professional for duties requiring superior instruction following and multi-step operations, comparable to detailed journey planning and proposals. Each fashions help a 300,000-token context window and might course of textual content, picture, and video inputs. The fashions help textual content processing throughout greater than 200 languages, serving to our journey assistant serve a world viewers.The combination layer unifies a number of knowledge sources and providers via an interface:

    These integrations function examples, and the structure is designed to be extensible, so organizations can rapidly incorporate their very own APIs and knowledge sources based mostly on particular necessities.

    The agent retains monitor of the dialog state utilizing AgentState (TypedDict), a particular Python dictionary that helps stop knowledge errors by imposing particular knowledge sorts. It shops the data we have to learn about every consumer’s session: their dialog historical past, profile data, processing standing, and last outputs. This makes certain the totally different motion nodes can entry and replace data reliably.

    The next diagram illustrates the answer structure.

    The journey assistant processes consumer interactions from finish to finish:

    1. Customers work together with a React.js net utility via a chat interface.
    2. Their requests are authenticated utilizing Amazon Cognito and routed via Amazon API Gateway.
    3. Authenticated requests are despatched to our backend Lambda features, which host the core agent workflow.
    4. API credentials are securely saved utilizing AWS Secrets and techniques Supervisor, following finest practices to ensure these delicate keys are by no means uncovered in code or configuration recordsdata, with applicable entry controls and rotation insurance policies carried out.
    5. The Journey Assistant Agent itself consists of a number of interconnected parts. On the middle, the agent router analyzes incoming queries and orchestrates the workflow.
    6. The agent maintains state via three DynamoDB tables that retailer dialog historical past, procuring wishlists, and consumer profiles, ensuring context is preserved throughout interactions.
    7. For travel-specific data, the system makes use of a mixture of Amazon Bedrock Data Bases, Amazon OpenSearch Serverless, and a doc retailer in Amazon Easy Storage Service (Amazon S3). These parts work collectively to offer correct, related journey data when wanted.
    8. The agent’s motion nodes deal with specialised duties by combining LLM chains with exterior APIs. When customers want product suggestions, the system connects to the Amazon Product Promoting API. For basic journey data, it makes use of the Google Customized Search API, and for weather-related queries, it consults the OpenWeather API. API credentials are securely managed via Secrets and techniques Supervisor.
    9. The system formulates complete responses based mostly on collected data, and the ultimate responses are returned to the consumer via the chat interface.

    This structure helps each easy queries that may be dealt with by a single node and complicated multi-step interactions that require coordination throughout a number of parts. The system can scale horizontally, and new capabilities may be added by introducing extra motion nodes and API integrations.

    You possibly can deploy this resolution utilizing the AWS Cloud Improvement Package (AWS CDK), which generates an AWS CloudFormation template that handles the mandatory assets, together with Lambda features, DynamoDB tables, and API configurations. The deployment creates the required AWS assets and outputs the API endpoint URL in your frontend utility.

    Conditions

    For this walkthrough, you will need to have the next conditions:

    Clone the repository

    Begin by cloning the GitHub repository containing the answer recordsdata:

    git clone https://github.com/aws-samples/sample-travel-assistant-agent.git

    Get hold of API keys

    The answer requires API keys from three providers to allow its core functionalities:

    • OpenWeather API – Create a Free Entry account at OpenWeather to acquire your API key. The free tier (60 calls per minute) is enough for testing and growth.
    • Google Customized Search API – Arrange the search performance via Google Cloud Console. Create or choose a challenge and allow the Customized Search API. Then, generate an API key from the credentials part. Create a search engine at Programmable Search and notice your Search Engine ID. The free tier contains 100 queries per day.
    • (Non-compulsory) Amazon Product Promoting API (PAAPI) – If you wish to allow product suggestions, entry the PAAPI Documentation Portal to generate your API keys. You’ll obtain each a public key and a secret key. You have to have an Amazon Associates account to entry these credentials. In the event you’re new to the Amazon Associates Program, full the applying course of first. Skip this step in the event you don’t wish to use PAAPI options.

    Add API keys to Secrets and techniques Supervisor

    Earlier than deploying the answer, you will need to securely retailer your API keys in Secrets and techniques Supervisor. The next desk lists the secrets and techniques to create and their JSON construction. For directions to create a secret, consult with Create an AWS Secrets and techniques Supervisor secret.

    Secret Identify JSON Construction
    openweather_maps_keys {" openweather_key": "YOUR_API_KEY"}
    google_search_keys {"cse_id": "YOUR_SEARCH_ENGINE_ID", "google_api_key": "YOUR_API_KEY"}
    paapi_keys {"paapi_public": "YOUR_PUBLIC_KEY", "paapi_secret": "YOUR_SECRET_KEY"}

    Configure setting variables

    Create a .env file within the challenge root together with your configuration:

    STACK_NAME=TravelAssistantAgent
    
    # Non-compulsory: Create Bedrock Data Base with paperwork
    KB_DOCS_PATH = Path/to/your/paperwork/folder
    # Non-compulsory: Allow/disable Product Search options with PAAPI
    USE_PAAPI=false

    Deploy the stack

    If that is your first time utilizing the AWS CDK in your AWS account and AWS Area, bootstrap your setting:

    Deploy the answer utilizing the offered script, which creates the required AWS assets, together with Lambda features, DynamoDB tables, and API configurations:

    Entry your utility

    When the deployment is full, open the AWS CloudFormation console and open your stack. On the Outputs tab, notice the next values:

    • WebAppDomain – Your utility’s URL
    • UserPoolId – Required for consumer administration
    • UserPoolClientId – Used for authentication

    Create an Amazon Cognito consumer

    Full the next steps to create an Amazon Cognito consumer:

    1. On the Amazon Cognito console, select Person swimming pools within the navigation pane.
    2. Select your consumer pool.
    3. Select Customers within the navigation pane, then select Create consumer.

    1. For E-mail handle, enter an electronic mail handle, and choose Mark electronic mail handle as verified.
    2. For Password, enter a brief password.
    3. Select Create consumer.

    You need to use these credentials to entry your utility on the WebAppDomain URL.

    Take a look at the answer

    To check the agent’s capabilities, we created a enterprise traveler persona and simulated a typical journey planning dialog stream. We targeted on routing, perform calling accuracy, response high quality, and latency metrics. The agent’s routing system directs the consumer inquiries to the suitable specialised node (for instance, trying to find lodging, checking climate situations, or suggesting journey merchandise). All through the dialog, the agent maintains the context of beforehand mentioned particulars, so it may construct upon earlier responses whereas offering related new data. For instance, after discussing journey vacation spot, the agent can naturally incorporate this into subsequent climate and packing record suggestions.

    The next screenshots show the end-user expertise, whereas the underlying API interactions are dealt with seamlessly on the backend. The entire implementation particulars, together with Lambda perform code and API integration patterns, can be found in our GitHub repository.

    The answer demonstrates personalization capabilities utilizing pattern consumer profiles saved in DynamoDB, containing upcoming journeys and journey preferences. In manufacturing deployments, these profiles may be built-in with current buyer databases and reservation methods to offer a personalised help.

    The product suggestions proven are stay hyperlinks to precise objects accessible on Amazon.com, so the consumer can discover or buy these merchandise straight. The consumer can select a hyperlink to take a look at the product, or select Add to Amazon Cart to see the objects of their procuring cart.

    Clear up

    After you’re executed experimenting with the journey assistant, you possibly can find the CloudFormation stack on the AWS CloudFormation console and delete it. This may delete the assets you created.

    Conclusion

    Our journey planning assistant agent demonstrates a sensible utility constructed by Amazon Nova and LangGraph for fixing real-world enterprise challenges. The system streamlines advanced journey planning whereas naturally integrating product suggestions via specialised processing nodes and real-time knowledge integration. Amazon Nova Lite fashions confirmed cheap efficiency at process orchestration, and Amazon Nova Professional carried out effectively for extra advanced perform calling operations. Trying forward, this framework may very well be carried out with extra dynamic orchestration methods comparable to ReAct. To construct your individual implementation, discover our code samples within the GitHub repository.

    For these trying to deepen their understanding of LLM-powered brokers, AWS gives in depth assets on constructing clever methods. The Amazon Bedrock Brokers documentation presents insights into automating multistep duties with FMs, and the AWS Bedrock Agent Samples GitHub repo gives steering for implementing a number of agent functions utilizing Amazon Bedrock.


    In regards to the authors

    Isaac Privitera is a Principal Knowledge Scientist with the AWS Generative AI Innovation Heart, the place he develops bespoke generative AI-based options to deal with prospects’ enterprise issues. His major focus lies in constructing accountable AI methods, utilizing strategies comparable to RAG, multi-agent methods, and mannequin fine-tuning. When not immersed on this planet of AI, Isaac may be discovered on the golf course, having fun with a soccer sport, or mountain climbing trails along with his loyal canine companion, Barry.

    Ryan Razkenari is a Deep Studying Architect on the AWS Generative AI Innovation Heart, the place he makes use of his experience to create cutting-edge AI options. With a robust background in AI and analytics, he’s enthusiastic about constructing revolutionary applied sciences that handle real-world challenges for AWS prospects.

    Sungmin Hong is a Senior Utilized Scientist on the AWS Generative AI Innovation Heart, the place he helps expedite a wide range of use circumstances for AWS prospects. Earlier than becoming a member of Amazon, Sungmin was a postdoctoral analysis fellow at Harvard Medical College. He holds a PhD in Pc Science from New York College. Exterior of labor, Sungmin enjoys mountain climbing, studying, and cooking.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Oliver Chambers
    • Website

    Related Posts

    How CLICKFORCE accelerates data-driven promoting with Amazon Bedrock Brokers

    January 26, 2026

    5 Breakthroughs in Graph Neural Networks to Watch in 2026

    January 26, 2026

    AI within the Workplace – O’Reilly

    January 26, 2026
    Top Posts

    Evaluating the Finest AI Video Mills for Social Media

    April 18, 2025

    Utilizing AI To Repair The Innovation Drawback: The Three Step Resolution

    April 18, 2025

    Midjourney V7: Quicker, smarter, extra reasonable

    April 18, 2025

    Meta resumes AI coaching utilizing EU person knowledge

    April 18, 2025
    Don't Miss

    Russian hackers accused of assault on Poland electrical energy grid

    By Declan MurphyJanuary 26, 2026

    On Dec. 29 and 30, the Polish electrical energy grid was subjected to a cyberattack…

    Palantir Defends Work With ICE to Workers Following Killing of Alex Pretti

    January 26, 2026

    The Workers Who Quietly Maintain Groups Collectively

    January 26, 2026

    Nike Knowledge Breach Claims Floor as WorldLeaks Leaks 1.4TB of Recordsdata On-line – Hackread – Cybersecurity Information, Knowledge Breaches, AI, and Extra

    January 26, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    UK Tech Insider
    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms Of Service
    • Our Authors
    © 2026 UK Tech Insider. All rights reserved by UK Tech Insider.

    Type above and press Enter to search. Press Esc to cancel.