-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Checklist
- This feature will maintain backward compatibility with the current sdk. If not, please raise a refactor issue first.
Background
This feature request proposes the addition of traceid support to the environment interface. The motivation is to enable delivery of trace IDs throughout the environment lifecycle, which is particularly valuable for advanced RL and agent workflows where tracking and correlating logs between environment, agent, and rollout processes is critical for debugging and reproducibility.
Currently, tracing env logs across rollouts and agents lacks consistent trace IDs for each environment step and action, making correlation difficult. By introducing traceid delivery, developers can streamline cross-referencing between environment actions, agent decisions, and distributed RL rollout monitoring. This feature is relevant for scalable reinforcement learning and multi-agent environments where lifecycle traceability is required.
Potential Solution
xxxx
Additional Information
This will benefit debugging, experiment reproducibility, and monitoring . If the feature introduces breaking changes, consider raising a separate refactor issue for SDK compatibility. The feature can be optionally enabled to maintain backward compatibility.