Skill 4.2.8
Monitor agent resource consumption patterns
Key Concepts
Track tokens per session, model calls and tool calls per task, iterations, session duration and memory operations with AgentCore Observability and CloudWatch metrics. AgentCore Runtime is billed for active CPU and memory consumption, so idle waiting for model responses costs little CPU.
Alarm on outliers such as runaway loops, and cap iterations, context size and session length.