Bedrock AgentCore
Amazon Bedrock AgentCore — agent-runtime control plane (create/get/list/update/delete runtimes and endpoints, list versions) plus a deterministic InvokeAgentRuntime data plane, and Memory resources with their data plane (events, sessions, long-term records, RetrieveMemoryRecords), for testing runtime lifecycle, Invoke wiring and memory flows without live AWS.
Quick start
import boto3, json
ctl = boto3.client("bedrock-agentcore-control", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
rt = ctl.create_agent_runtime(agentRuntimeName="myagent",
agentRuntimeArtifact={"containerConfiguration": {"containerUri": "acct.dkr.ecr.us-east-1.amazonaws.com/agent:latest"}},
roleArn="arn:aws:iam::000000000000:role/agentcore",
networkConfiguration={"networkMode": "PUBLIC"})
data = boto3.client("bedrock-agentcore", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
resp = data.invoke_agent_runtime(agentRuntimeArn=rt["agentRuntimeArn"],
payload=json.dumps({"prompt": "hi"}).encode())
print(resp["response"].read().decode())
Supported operations
35 operations exposed by this service as of MiniStack 1.5.24. Extracted directly from the handler dispatch in the source module.
BatchCreateMemoryRecords
BatchDeleteMemoryRecords
BatchUpdateMemoryRecords
CreateAgentRuntime
CreateAgentRuntimeEndpoint
CreateEvent
CreateMemory
DeleteAgentRuntime
DeleteAgentRuntimeEndpoint
DeleteEvent
DeleteMemory
DeleteMemoryRecord
DeleteResourcePolicy
GetAgentRuntime
GetAgentRuntimeEndpoint
GetEvent
GetMemory
GetMemoryRecord
GetResourcePolicy
InvokeAgentRuntime
ListActors
ListAgentRuntimeEndpoints
ListAgentRuntimes
ListAgentRuntimeVersions
ListEvents
ListMemories
ListMemoryExtractionJobs
ListMemoryRecords
ListSessions
PutResourcePolicy
RetrieveMemoryRecords
StartMemoryExtractionJob
UpdateAgentRuntime
UpdateAgentRuntimeEndpoint
UpdateMemory
CloudFormation
No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.
Known limitations
- InvokeAgentRuntime runs the runtime's containerUri image in Docker (full image) and forwards to its /invocations on port 8080 (HTTP protocol only); without Docker, or for a code artifact, it returns a deterministic echo. No model inference runs in MiniStack.
- Memory strategies are recorded but no extraction runs: long-term records exist only where BatchCreateMemoryRecords puts them, ListMemoryExtractionJobs is empty, and RetrieveMemoryRecords scores records by query word overlap (no embeddings).
- Gateway, Browser, Code Interpreter, and Identity/credential-provider APIs are not implemented.
Source
ministack/services/bedrock_agentcore.py
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.