codeguru-profiler-agent
The Python agent to be used for Amazon CodeGuru Profiler
What it is and what it does
The CodeGuru Profiler Python Agent is an AWS-provided instrumentation library that collects runtime profiling data from Python applications and streams it to Amazon CodeGuru Profiler for centralized analysis. It depends on boto3 to communicate with AWS services and runs as a background agent within your application process.
The agent is designed to be integrated into production applications to provide continuous performance insights, identifying bottlenecks and optimization opportunities. It supports Python 3.6 through 3.13 and has been in production use since its initial release in late 2020, though recent maintenance activity has slowed.
Use it for:
- Monitor CPU and memory usage patterns in production Python services running on AWS.
- Identify performance bottlenecks and hot code paths in long-running applications.
- Collect continuous profiling data for applications deployed on EC2, ECS, or Lambda.
- Correlate application performance metrics with AWS infrastructure and business metrics.
- Troubleshoot performance regressions by comparing profiling data across application versions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Python applications with Amazon CodeGuru Profiler to collect runtime performance data and send it to AWS for analysis and optimization recommendations.
Yes, if you run Python applications on AWS and need built-in profiling integration with CodeGuru. The package is production-stable, has no known vulnerabilities, and installs with minimal friction. The aging maintenance status is a minor concern but not a blocker—the agent is mature and the underlying AWS service remains actively supported. Requires active AWS credentials and CodeGuru Profiler subscription.
Install
codeguru-profiler-agent on PyPI
pip
pip install codeguru-profiler-agentuv
uv add codeguru-profiler-agentpoetry
poetry add codeguru-profiler-agentInstalling codeguru-profiler-agent
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last commit was 246 days ago—but the package remains in production-stable classification and continues to support current Python versions.
License in practice
Licensed under Apache-2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install codeguru-profiler-agent
import codeguru_profiler_agent
# Agent initialization and profiling configuration handled by the package
Requires AWS credentials and boto3 configuration to communicate with CodeGuru Profiler service.
Verify before relying
- Whether the agent requires specific AWS IAM permissions or credential configuration beyond boto3 setup.
- Performance overhead of the profiler agent on typical application workloads.
- Compatibility with async/await patterns and concurrent execution frameworks.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — boto3 |
| Maintenance | aging — 246 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 835,327/month — #4,935 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: codeguru_profiler_agent-1.2.6-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
aws-cdk.aws-codeguruprofilerProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
google-cloud-profilerCollects and uploads CPU, memory, and wall-time…
permissive · top 15,000 on PyPI
pyroscope-ioPyroscope-io is a continuous profiling agent…
permissive · top 5,000 on PyPI
line-profilerline_profiler measures execution time on a…
permissive · top 5,000 on PyPI
py-spypy-spy is a sampling profiler that attaches to…
permissive · top 1,000 on PyPI
bedrock-agentcore-starter-toolkitProvides a Python CLI and SDK for scaffolding,…
permissive · top 5,000 on PyPI
scaleneScalene profiles Python code to measure CPU,…
permissive · top 15,000 on PyPI
snakevizSnakeViz is a web-based viewer for Python…
permissive · top 5,000 on PyPI
sealights-python-agentIntegrates Python applications with Tricentis…
unclear · top 15,000 on PyPI
sample-helper-aws-appconfigFetches and caches configuration from AWS…
permissive · top 15,000 on PyPI