skillfed

codeguru-profiler-agent

The Python agent to be used for Amazon CodeGuru Profiler

codeguru-profiler-agent v1.2.6 835.3K downloads/30d#4,935 on PyPI16
Permissive license AGING released

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-agent

uv

uv add codeguru-profiler-agent

poetry

poetry add codeguru-profiler-agent

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Tags

AWS CodeGuru profiler agentPython application profilingAWS performance monitoringruntime profiling AWSapplication performance analysiscode profiling agentAWS observability Python
aws-integrationprofilingobservability

More Utilities packages