# Building a context-aware AI assistant on AgentCore and OpenClaw

DevFeed: [Building a context-aware AI assistant on AgentCore and OpenClaw](<https://devfeed.tech/articles/building-a-context-aware-ai-assistant-on-agentcore-and-openclaw-65898.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/building-a-context-aware-ai-assistant-on-agentcore-and-openclaw/>)

Author: Thiago Verney

Published: 2026-10-06T19:19:15Z

Content type: tutorial

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [OpenClaw](<https://devfeed.tech/topics/openclaw.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Amazon Bedrock Knowledge Bases](<https://devfeed.tech/topics/amazon-bedrock-knowledge-bases.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [clean energy data centers](<https://devfeed.tech/topics/clean-energy-data-centers.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [api](<https://devfeed.tech/tags/api.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cli](<https://devfeed.tech/tags/aws-cli.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [openclaw](<https://devfeed.tech/tags/openclaw.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

The article walks through building a context-aware personal assistant with OpenClaw on Amazon Bedrock AgentCore. It explains a serverless architecture, durable memory with structured metadata, memory retrieval and prompt assembly, model routing for text and images, and cost controls such as prompt caching. The gardening assistant is an example of a reusable pattern for other domains.

## Source excerpt

Off-the-shelf AI assistants forget you between conversations. This post shows how to build a personal assistant that accumulates context using OpenClaw on Amazon Bedrock AgentCore runtime, with AgentCore memory turning disposable chats into durable, structured knowledge you can retrieve with metadata filters.