Views
No views yet
services: List of objects with status, replicas, latency_ms, cpu_usage_percent, and last_logs.system_metrics: High-level cluster health (error rate, overall load).current_time: Timestamp of the observation.last_action_result: Feedback from the previous step.action_type: restart, scale, update_config, rollback, or noop.service_name: Target service ID.params: Action-specific parameters (e.g., replicas for scale, or key:value for config).| Task ID | Name | Difficulty | Description |
|---|---|---|---|
task1_auth_outage | Emergency Auth Recovery | Easy | The 'auth' service is in CrashLoopBackOff. Restart it to restore access. |
task2_payment_scaling | Scaling for High Demand | Medium | 'payment' is slow. Scale up replicas and monitor latency to stabilize. |
task3_backend_config_corruption | Configuration Recovery | Hard | 'backend' has a corrupted REDIS_URL. Identify the log error, fix config, and restore the service graph. |
pip install -r requirements.txtpython app.py1# Set your API keys first
2export HF_TOKEN="your_huggingface_token"
3export MODEL_NAME="gpt-4o"
4python inference.py1docker build -t sre-agent-env .
2docker run -p 7860:7860 sre-agent-env| Task | Cumulative Reward | Result |
|---|---|---|
| Task 1 | 1.0 | Fixed in 1-2 steps |
| Task 2 | 0.8 | Scaled and stabilized |
| Task 3 | 0.6 | Identified log error and corrected config |
openenv validate passes.tasks.py, providing normalized scores (0.0–1.0).
#� �S�o�l�o�-�W�a�r�r�i�o�r�-�m�e�t�a�-�
�
�