Recorder or OpenTelemetry

Bedrock AgentCore

AgentCore Runtime hosts agents built with any framework. Add the recorder inside the agent code, or import the OpenTelemetry traces AgentCore Observability produces.

  1. Add the recorder inside the agent code, as for any Python or TypeScript service,
  2. or export AgentCore's OpenTelemetry traces and follow the OpenTelemetry panel.

Download from CloudWatch (you run this)

aws logs filter-log-events --log-group-name <runtime log group> \
  --filter-pattern '{ $.workflow_id = "<workflow>" }' \
  --query 'events[].message' --output text | tr '\t' '\n' > .harness/runs/agentcore.jsonl

Where the log lands

In the runtime's CloudWatch log group.

How it reaches the harness

You download it with the AWS CLI and your own credentials.

Read the full guide on GitHub

Add the recorder

20 platform guides in total.