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, for testing runtime lifecycle and Invoke wiring 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
12 operations exposed by this service as of MiniStack 1.4.6. Extracted directly from the handler dispatch in the source module.
CreateAgentRuntime
CreateAgentRuntimeEndpoint
DeleteAgentRuntime
DeleteAgentRuntimeEndpoint
GetAgentRuntime
GetAgentRuntimeEndpoint
InvokeAgentRuntime
ListAgentRuntimeEndpoints
ListAgentRuntimes
ListAgentRuntimeVersions
UpdateAgentRuntime
UpdateAgentRuntimeEndpoint
CloudFormation
No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.
Known limitations
- InvokeAgentRuntime returns a deterministic echo of the request payload — no container or model is executed.
- Only the agent-runtime and runtime-endpoint surface is emulated; Memory, 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.