Guide

Use Conxt memory in agents on Amazon Bedrock

Agents you build on Amazon Bedrock start every task from zero, like any AI tool. Connect them to Conxt and they can read the decisions, rules and project facts your team already settled in ChatGPT, Claude, Gemini or Grok, and save what they find for the next tool to use.

How it connects

Conxt is an MCP server at https://mcp.conxt.dev/mcp/. A Bedrock agent reaches it the way any MCP client does: over HTTPS, with a Conxt API key sent as a Bearer token. Your model calls still go to Bedrock in your AWS account; only the memory lookups go to Conxt.

Before you start

With Strands Agents

Strands Agents is AWS’s open-source SDK for building agents on Bedrock, and it speaks MCP. Install it:

pip install strands-agents

Set your key as an environment variable, never in code:

export CONXT_API_KEY="<your Conxt API key>"

Then give the agent Conxt’s tools:

import os from strands import Agent from strands.models import BedrockModel from strands.tools.mcp import MCPClient conxt = MCPClient( url="https://mcp.conxt.dev/mcp/", headers={"Authorization": f"Bearer {os.environ['CONXT_API_KEY']}"}, ) with conxt: agent = Agent( model=BedrockModel(region_name="us-west-2"), tools=conxt.list_tools_sync(), system_prompt=( "Before answering, check Conxt " "for what has already been decided." ), ) agent("What have we decided about billing?")

Without a model_id, Strands uses its default Bedrock model; pass one to use any model enabled in your account. The agent now has every Conxt tool: it can look up context, search decisions, read your team’s approved memory, and save new memories.

Read-only agents

For an agent that should only read, such as one answering customers, allow just the reading tools:

conxt = MCPClient( url="https://mcp.conxt.dev/mcp/", headers={"Authorization": f"Bearer {os.environ['CONXT_API_KEY']}"}, tool_filters={"allowed": [ "get_context", "search_memory", "search_decisions", "get_team_memories", ]}, )

With AgentCore Gateway

If your agents reach their tools through Amazon Bedrock AgentCore Gateway, AWS documents adding a remote MCP server as a gateway target, with an API key credential provider in AgentCore Identity for outbound authentication. Use https://mcp.conxt.dev/mcp/ as the server and your Conxt key as the credential, sent as a Bearer token. Follow AWS’s AgentCore Gateway guide for the current steps.

What the agent can do

Your data

Disconnect

Open your Conxt dashboard, find the agent’s key under Connected tools, and click Revoke. From then on, every Conxt tool call it makes is refused; nothing else changes.

Troubleshooting

Help

Email hello@conxt.dev and a person will reply.