AWS Builder Center
Building AI Agents with Amazon Nova and Strands SDK: A Hands-on Journey from Local LLMs to MCP

Building AI Agents with Amazon Nova and Strands SDK: A Hands-on Journey from Local LLMs to MCP

This article summarizes my hands-on experience building AI agents using Amazon Nova, Amazon Bedrock, Strands SDK, and MCP. It covers creating intelligent agents with tools, persistent memory, and external knowledge integration, demonstrating how modern AI applications can solve real-world tasks through a structured, practical learning approach.

Artificial Intelligence is rapidly evolving from simple chatbots into intelligent agents capable of reasoning, using tools, remembering information, and accessing external knowledge. During the AWS Nova Month Workshop, I explored how to build AI agents step by step using Amazon Nova, Amazon Bedrock, Strands SDK, and the Model Context Protocol (MCP).
This article summarizes the complete learning journey through five progressively challenging exercises that demonstrate how modern AI agents are designed.

Why AI Agents?

Unlike traditional chatbots that simply generate responses, AI agents can:
  • Use external tools
  • Store and retrieve memory
  • Access cloud services
  • Perform reasoning before answering
  • Interact with external knowledge sources
The workshop gradually introduces these capabilities, making it an excellent learning path for developers interested in agentic AI.



Workshop Architecture

The learning flow follows a structured progression:
AWS Account Setup
↓
Python Environment
↓
First Agent
↓
Tool Integration
↓
Persistent Memory
↓
Full AI Agent
↓
MCP-powered AWS Learning Assistant
Each challenge builds upon the previous one, introducing a new capability while keeping the implementation simple enough for beginners.



Challenge 1 – Building the First AI Agent

The first challenge focuses on creating a minimal AI agent using:
  • Strands SDK
  • Ollama
  • Llama 3.2 running locally
Instead of calling a cloud model immediately, the workshop begins with a local LLM, helping participants understand the core interaction between an application and a language model.
Key learning outcomes:
  • Initializing a Strands Agent
  • Connecting to a local model
  • Sending prompts and receiving responses
  • Understanding the basic agent lifecycle



Challenge 2 – Giving the Agent Superpowers with Tools

An AI agent becomes significantly more useful when it can perform actions instead of only generating text.
In this challenge, custom tools are added, including:
  • Calculator
  • Weather lookup
  • Age calculator
The agent automatically determines when to invoke these tools based on the user's request.
This demonstrates one of the fundamental concepts of agentic AI: function calling.



Challenge 3 – Adding Persistent Memory

Most chatbots forget everything after a conversation ends.
This challenge introduces persistent memory using a simple JSON file.
The agent learns to remember:
  • User name
  • Personal preferences
When asked later, the stored information can be retrieved even after restarting the application.
Although implemented with JSON, the same concept can later be extended to databases or vector stores for production systems.



Challenge 4 – Building a Complete AI Agent

The fourth challenge combines everything learned so far:
  • Tool usage
  • Interactive conversations
  • Intelligent routing
  • Continuous user interaction
Instead of isolated examples, participants build a practical AI assistant capable of handling different types of requests within a single application.
This challenge demonstrates how individual AI capabilities work together in a production-style workflow.



Challenge 5 – Connecting AI with AWS Documentation using MCP

The final challenge introduces one of the most exciting concepts in modern AI development: the Model Context Protocol (MCP).
Rather than relying solely on the model's internal knowledge, the agent connects to the AWS Documentation MCP Server.
This enables the assistant to answer questions using current AWS documentation, making responses more accurate and practical.
Example questions include:
  • Explain Amazon EC2 in simple terms.
  • Create an AWS Cloud Practitioner learning roadmap.
This illustrates how MCP enables AI agents to interact with trusted external knowledge sources without embedding all information directly into the model.



Technologies Used

The workshop introduces several important technologies:
  • Amazon Nova
  • Amazon Bedrock
  • Strands SDK
  • Ollama
  • Python
  • AWS CLI
  • Model Context Protocol (MCP)
  • AWS Documentation MCP Server
Together, these tools provide a modern stack for developing intelligent AI agents.



Key Takeaways

This workshop demonstrates that building AI agents does not require complex architectures from the beginning.
By progressively adding capabilities such as tools, memory, and external knowledge, developers can understand how production-grade AI assistants are constructed.
The final MCP-powered assistant highlights an important trend in AI engineering: connecting language models with reliable external systems rather than depending entirely on pretrained knowledge.
For developers looking to begin their journey into agentic AI, this workshop provides a practical, hands-on introduction to the technologies shaping the next generation of intelligent applications.

Conclusion

Building AI agents is no longer limited to research labs. With Amazon Nova, Amazon Bedrock, Strands SDK, and MCP, developers can create capable assistants that reason, use tools, remember context, and retrieve external knowledge.
This workshop offered a clear progression from a simple local AI agent to a cloud-enabled AWS learning assistant, making it an excellent starting point for anyone interested in modern AI application development.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article