View a markdown version of this page

Prerequisites - AWS Context

Prerequisites

Make sure that you have the following:

  • The agent-context-sample Agent Context in the Active state. To create it, see Tutorial: Create a sample Agent Context and ask your first question.

  • An MCP client. This tutorial uses Claude Code.

  • uv, which provides the uvx command that starts the proxy. To install it, see Installing uv on the Astral website.

  • AWS credentials, in a named profile or your default credential chain. The IAM identity needs the following permissions on the Agent Context.

    { "Version": "2012-10-17", "Statement": [ { "Sid": "QueryAgentContext", "Effect": "Allow", "Action": [ "context:SearchAgentContext", "context:TraverseAgentContext", "context:AgenticRetrieve", "context:AgenticRetrieveStream" ], "Resource": "arn:aws:context:[.replaceable]us-east-1:[.replaceable]111122223333:agent-context/[.replaceable]`agent-context-id`" } ] }

    Replace 111122223333 with your account ID, us-east-1 with your Region, and agent-context-id with your Agent Context ID, which starts with ac-.