AWS Builder Center
Build Your Own AI Study Buddy on AWS with Bedrock, MCP and Strands Agents

Build Your Own AI Study Buddy on AWS with Bedrock, MCP and Strands Agents

A simple, student-friendly guide to building an AI study buddy on AWS — one that reads your own notes, answers from them, and quizzes you — using Amazon Bedrock, Strands Agents, MCP tools, and Amazon S3.

As a student, I have a simple problem. My notes are everywhere — PDFs, slides, handwritten summaries — and when exams come close, I do not need another chatbot that gives a general answer. I need something that answers from MY notes.
That is why I started learning about AI agents on AWS. Not a chatbot that only chats, but an agent that can plan, pick a tool, read my notes, and then answer.
This article is a simple guide to building that kind of AI study buddy. You do not need to be an expert. If you know the basics of EC2, S3, IAM, and Lambda, you can follow this.
  1. First, what is an AI agent?
A normal chatbot only replies with text.
An AI agent is different. It can understand your question, decide what it needs to do, use a tool to get information, and then give an answer based on that information.
For a study buddy, that tool could be "search my notes" or "make a quiz from this chapter." That small change makes the answer useful, because it is grounded in your material, not just general knowledge.
  1. The simple architecture
Here is the flow I am using:
You ask a question -> AI Agent built with Strands Agents -> Amazon Bedrock -> MCP tools -> Your notes stored in Amazon S3 -> Answer and quiz back to you

Diagram showing the AI study buddy flow: you ask a question, an AI agent built with Strands Agents p

Amazon Bedrock gives you access to foundation models through an API, without training or hosting a model yourself. Strands Agents SDK is the open-source Python SDK for building agents in a few lines. It connects the model to tools. MCP, or Model Context Protocol, is a standard way to connect an agent to tools and data. Think of it as a common plug for tools, so your agent can use a notes-search tool, a file tool, or a quiz tool without custom code for every connection. Amazon S3 stores your notes safely in one place. IAM controls who can read those notes. Keep permissions small — only what the agent needs.
  1. Step 1: Prepare your notes
Do not start with code. Start with clean notes. Pick one subject first, for example DBMS or Cloud Computing. Put short, clean text notes or PDFs for one unit in an S3 bucket. Keep private notes private. Do not upload personal data, passwords, or anyone else's paid material. Give the bucket a clear name, and block public access.
Small and clean beats big and messy. An agent works much better on 20 good pages than on 200 random files.
  1. Step 2: Build the agent with Strands Agents and Bedrock
In simple terms, your agent needs three things: a model from Bedrock, a system prompt that tells it "You are a study buddy. Answer only from the student's notes. If the answer is not in the notes, say so," and tools to search those notes and to create quizzes.
A very simple example structure looks like this:
agent = Agent(
model = "your Bedrock model",
system_prompt = "Answer from the student's notes only. Be simple and clear.",
tools = [search_notes, make_quiz]
)
You do not need to memorise this code. The idea matters more: model + clear instructions + useful tools = agent.
  1. Step 3: Add MCP tools
This is where it gets interesting. Instead of writing a new connection for every tool, you can connect MCP tools to your agent. For a study buddy, useful tools are search notes, summarise, and quiz me. Start with one tool — search notes. Test it properly. Only then add the quiz tool. When you add too many tools at once and something breaks, you will not know which tool caused it.
  1. Step 4: Test it like a student, not like a demo
Try these three prompts: "Explain this topic in simple words, from my notes only." "Make a 5-question quiz from Unit 1, and do not show the answers yet." "What did I get wrong in my last answer, and where is it in my notes?"
If the agent answers from outside your notes, fix the prompt first. Most agent problems are prompt problems, not model problems. Be clear, be specific, and tell it what NOT to do.
  1. Cost and safety — do not skip this
Bedrock is not fully free. Check the pricing for the model you use, start small, and test with short notes first. Set a billing alarm in AWS Budgets, even if it is a very small amount. Use IAM with least privilege. Your agent does not need admin access. Delete test resources you are not using. S3 buckets and test setups left running are how small bills happen.
Learning on AWS is much easier when you are not worried about the bill.
  1. Mistakes I would avoid
Do not build a chatbot and call it an agent. If it cannot use a tool, it is not an agent yet. Do not upload all your subjects on day one. Start with one unit. Do not trust every answer blindly. Check important definitions against your book or class notes. Do not skip IAM and cost alarms because "it is just a small project." Small projects teach good habits.
What to build next
Once your basic study buddy works, you can add a daily revision quiz, a short and simple revision mode, and a summary of what you studied this week. You do not need all of this to start. You need one subject, one tool, and one working answer from your own notes.
That is the real skill here — not just using AI, but building something useful with it on AWS.
If you try this, start small, keep your costs in check, and build one tool at a time. Your future self, the night before the exam, will thank you.
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