Extending conversational memory in Kiro CLI using Amazon Bedrock AgentCore Memory
AWS•How-to••by Biswanath Mukherjee and Sathish Kumar Prabakaran•AWS Artificial Intelligence Blog
In this post, we demonstrate how you can extend the conversational memory of Kiro CLI by implementing a custom Model Context Protocol (MCP) server that integrates with Amazon Bedrock AgentCore Memory. You can use Kiro CLI to interact with AI agents of Kiro directly from your terminal. Amazon Bedrock AgentCore Memory is a fully managed service that allows AI agents to retain information from past interactions, creating more intelligent and context-aware conversations. By implementing a custom…
Kiro CLI can keep conversation history across sessions through a custom MCP server backed by Bedrock AgentCore Memory, with tools to store, search and delete conversations.
Who it is for
Developers using Kiro CLI on large projects who want the agent to recall past sessions and preferences without repeated context.
Key points
Retrieval first tries semantic search through retrieve_memory_records, then falls back to scanning raw conversation events.
Setup requires an AWS account, Kiro CLI, and an AWS Builder ID or Kiro subscription for login.
Actor identity can be the user ID (default) or a project ID for team isolation.
AI:AgentCore payments (preview) lets agents pay for APIs, MCP servers and web content; Agent Toolkit for AWS and a GA AWS MCP Server also launched, plus WorkSpaces agents (preview).
AI:DHI Group built three generative AI prototypes in a three-day AWS-run hackathon, and the winning agent connects ClearanceJobs and AgileATS via MCP servers on Bedrock AgentCore.
AI:AWS releases 38 open-source agent skills across 11 HCLS domains that encode decision frameworks for AI agents, reported to win 70-86% of pairwise evaluations against agents without skills.