Skip to content

Conversation

@iliakur
Copy link
Contributor

@iliakur iliakur commented Nov 28, 2025

What does this PR do?

Here I made a quick and dirty poc for a new flavor of the agent. Calling it “lite” for now, but not married to the name.

The point is that we split the base agent into 2 parts that can be assembled later:

  • the core agent without the Python runtime and the integrations
  • the Python runtime with the integrations

I'm aware that this will become obsolete with the bzl migration, I'm just trying out the concept.

Motivation

Want to see how easy it is to split the Python and integrations artifacts.
I'd also like to get some concrete feedback from the build folks.

@github-actions github-actions bot added team/agent-build medium review PR review might take time labels Nov 28, 2025
# Used for memory profiling with the `status py` agent subcommand
dependency 'pympler'
# For lite flavor, pympler goes with Python runtime artifacts
unless ENV['AGENT_FLAVOR'] == 'lite'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I'd add an accessor for this (see ostools.rb / project_helpers.rb)

@chouquette
Copy link
Contributor

What would be the approach for the final artifact? Would this be a separated deb/rpm packages, and some additional layers for the containers?

@iliakur
Copy link
Contributor Author

iliakur commented Nov 28, 2025

What would be the approach for the final artifact? Would this be a separated deb/rpm packages, and some additional layers for the containers?

We'd want to package them for the Agent Installer. I'm investigating how to do that.

@chouquette
Copy link
Contributor

What would be the approach for the final artifact? Would this be a separated deb/rpm packages, and some additional layers for the containers?

We'd want to package them for the Agent Installer. I'm investigating how to do that.

So the lite agent would only be available through the installer and the deb/rpm & usual packages would be the full agent?

In any case, for the installer you'll want to package as OCI

@iliakur
Copy link
Contributor Author

iliakur commented Nov 28, 2025

What would be the approach for the final artifact? Would this be a separated deb/rpm packages, and some additional layers for the containers?

We'd want to package them for the Agent Installer. I'm investigating how to do that.

So the lite agent would only be available through the installer and the deb/rpm & usual packages would be the full agent?

In any case, for the installer you'll want to package as OCI

The lite agent itself should be available as a deb pkg! the python stuff as OCI then

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Nov 28, 2025

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 72f2254

Successful checks

Info

Quality gate Delta On disk size (MiB) Delta On wire size (MiB)
agent_deb_amd64 DataNotFound $${694.48}$$ < $${695.26}$$ DataNotFound $${170.44}$$ < $${171.42}$$
agent_deb_amd64_fips DataNotFound $${688.83}$$ < $${689.56}$$ DataNotFound $${167.78}$$ < $${168.75}$$
agent_heroku_amd64 DataNotFound $${336.7}$$ < $${337.56}$$ DataNotFound $${89.83}$$ < $${90.78}$$
agent_msi DataNotFound $${1008.65}$$ < $${1015.38}$$ DataNotFound $${146.81}$$ < $${149.42}$$
agent_rpm_amd64 DataNotFound $${694.46}$$ < $${695.24}$$ DataNotFound $${171.73}$$ < $${172.66}$$
agent_rpm_amd64_fips DataNotFound $${688.82}$$ < $${689.55}$$ DataNotFound $${170.33}$$ < $${171.31}$$
agent_rpm_arm64 DataNotFound $${683.49}$$ < $${684.17}$$ DataNotFound $${157.52}$$ < $${158.47}$$
agent_rpm_arm64_fips DataNotFound $${678.92}$$ < $${679.54}$$ DataNotFound $${155.57}$$ < $${156.53}$$
agent_suse_amd64 DataNotFound $${694.46}$$ < $${695.24}$$ DataNotFound $${171.73}$$ < $${172.66}$$
agent_suse_amd64_fips DataNotFound $${688.82}$$ < $${689.55}$$ DataNotFound $${170.33}$$ < $${171.31}$$
agent_suse_arm64 DataNotFound $${683.49}$$ < $${684.17}$$ DataNotFound $${157.52}$$ < $${158.47}$$
agent_suse_arm64_fips DataNotFound $${678.92}$$ < $${679.54}$$ DataNotFound $${155.57}$$ < $${156.53}$$
docker_agent_amd64 DataNotFound $${746.97}$$ < $${747.75}$$ DataNotFound $${251.74}$$ < $${252.67}$$
docker_agent_arm64 DataNotFound $${760.75}$$ < $${761.44}$$ DataNotFound $${242.27}$$ < $${243.19}$$
docker_agent_jmx_amd64 DataNotFound $${937.85}$$ < $${938.63}$$ DataNotFound $${320.37}$$ < $${321.29}$$
docker_agent_jmx_arm64 DataNotFound $${940.35}$$ < $${940.91}$$ DataNotFound $${306.88}$$ < $${307.81}$$
docker_cluster_agent_amd64 DataNotFound $${206.54}$$ < $${207.49}$$ DataNotFound $${69.25}$$ < $${70.2}$$
docker_cluster_agent_arm64 DataNotFound $${222.42}$$ < $${223.38}$$ DataNotFound $${65.47}$$ < $${66.42}$$
docker_cws_instrumentation_amd64 DataNotFound $${7.07}$$ < $${7.12}$$ DataNotFound $${2.95}$$ < $${3.29}$$
docker_cws_instrumentation_arm64 DataNotFound $${6.69}$$ < $${6.92}$$ DataNotFound $${2.7}$$ < $${3.07}$$
docker_dogstatsd_amd64 DataNotFound $${38.47}$$ < $${39.3}$$ DataNotFound $${14.85}$$ < $${15.76}$$
docker_dogstatsd_arm64 DataNotFound $${37.12}$$ < $${37.94}$$ DataNotFound $${14.29}$$ < $${14.83}$$
dogstatsd_deb_amd64 DataNotFound $${29.69}$$ < $${30.53}$$ DataNotFound $${7.82}$$ < $${8.75}$$
dogstatsd_deb_arm64 DataNotFound $${28.21}$$ < $${29.11}$$ DataNotFound $${6.76}$$ < $${7.71}$$
dogstatsd_rpm_amd64 DataNotFound $${29.69}$$ < $${30.53}$$ DataNotFound $${7.83}$$ < $${8.76}$$
dogstatsd_suse_amd64 DataNotFound $${29.69}$$ < $${30.53}$$ DataNotFound $${7.83}$$ < $${8.76}$$
iot_agent_deb_amd64 DataNotFound $${42.24}$$ < $${43.19}$$ DataNotFound $${11.03}$$ < $${11.98}$$
iot_agent_deb_arm64 DataNotFound $${39.98}$$ < $${40.92}$$ DataNotFound $${9.5}$$ < $${10.45}$$
iot_agent_deb_armhf DataNotFound $${39.91}$$ < $${40.86}$$ DataNotFound $${9.61}$$ < $${10.56}$$
iot_agent_rpm_amd64 DataNotFound $${42.24}$$ < $${43.19}$$ DataNotFound $${11.04}$$ < $${12.0}$$
iot_agent_suse_amd64 DataNotFound $${42.24}$$ < $${43.19}$$ DataNotFound $${11.04}$$ < $${12.0}$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

medium review PR review might take time team/agent-build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants