<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec" -->

---
title: Build and Run Your Own AI Agent in the Cloud | daily.dev
description: A step-by-step guide to building and deploying an AI agent on AWS using Strands (an open-source agent framework from AWS) and Amazon Bedrock AgentCore. The...
canonical: https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Build and Run Your Own AI Agent in the Cloud | daily.dev
og:description: A step-by-step guide to building and deploying an AI agent on AWS using Strands (an open-source agent framework from AWS) and Amazon Bedrock AgentCore. The...
og:url: https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec
og:image: https://api.daily.dev/og/posts/aoOStzREC.png
og:image:alt: Build and Run Your Own AI Agent in the Cloud
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build and Run Your Own AI Agent in the Cloud

**[Towards Data Science](https://daily.dev/sources/tds)** · 26 min read · 1 upvotes · 0 comments

## Summary

A step-by-step guide to building and deploying an AI agent on AWS using Strands (an open-source agent framework from AWS) and Amazon Bedrock AgentCore. The tutorial walks through creating an educational subject-matter expert triage agent that routes questions across mathematics, physics, chemistry, and geography using Claude Sonnet 4.6. It covers project scaffolding with the AgentCore CLI, local development, CodeZip deployment to AWS, session management, and adding long-term memory via AgentCore Memory with USER_PREFERENCE strategy to persist user preferences (like response style) across separate conversations using actor IDs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://towardsdatascience.com/build-and-run-your-own-ai-agent-in-the-cloud>

## Similar posts on daily.dev

- [How to Deploy an AI Agent with Amazon Bedrock AgentCore](https://daily.dev/posts/how-to-deploy-an-ai-agent-with-amazon-bedrock-agentcore-ooj3xmxsd) · freeCodeCamp · 2 upvotes · 0 comments
- [Build AI-powered dashboard automation agents with NLP on Amazon Bedrock AgentCore](https://daily.dev/posts/build-ai-powered-dashboard-automation-agents-with-nlp-on-amazon-bedrock-agentcore-jgk7lybxg) · AWS · 1 upvotes · 0 comments
- [From 'Works on My Machine' to Production-Ready: Building AI Agents with Amazon Bedrock AgentCore](https://daily.dev/posts/from-works-on-my-machine-to-production-ready-building-ai-agents-with-amazon-bedrock-agentcore-bt6s0repy) · Pulumi · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#aws](https://daily.dev/tags/aws), [#ai-agents](https://daily.dev/tags/ai-agents), [#amazon-bedrock](https://daily.dev/tags/amazon-bedrock)

[View this post on daily.dev](https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Build and Run Your Own AI Agent in the Cloud","url":"https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec"},"datePublished":"2026-07-01T12:50:29.513Z","dateModified":"2026-07-01T12:53:42.122Z","description":"A step-by-step guide to building and deploying an AI agent on AWS using Strands (an open-source agent framework from AWS) and Amazon Bedrock AgentCore. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/97f75ded205a3c5ff983bf707d362e37?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/97f75ded205a3c5ff983bf707d362e37?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Towards Data Science","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Towards Data Science","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds","url":"https://daily.dev/sources/tds"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/build-and-run-your-own-ai-agent-in-the-cloud-aoostzrec","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,aws,ai-agents,amazon-bedrock","timeRequired":"PT26M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Towards Data Science","item":"https://daily.dev/sources/tds"},{"@type":"ListItem","position":3,"name":"Build and Run Your Own AI Agent in the Cloud"}]}
```

