AI Cloud Architect

Extending conversational memory in Kiro CLI using Amazon Bedrock AgentCore Memory

AWSHow-to by Biswanath Mukherjee and Sathish Kumar PrabakaranAWS 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…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.