Python-based Auto-Healing Agent and RL-based Fix Optimizer.
This repo contains two Python agents:
- HealingPlanner (Agent 4) – Simulates real-time healing from deployment errors.
- RLPlanner (Agent 5) – Learns the best fix strategy using Reinforcement Learning logic.
File Name | Description |
---|---|
healing_log.csv |
Logs of errors, fix actions, and results |
healing_planner.py |
Randomly applies fix actions to errors |
rl_planner.py |
Learns best fix for each error type |
- healing_planner.py simulates errors and applies a fix (
retry_deploy
,restore_version
,adjust_threshold
) - The results are stored in
healing_log.csv
- rl_planner.py analyzes the log and recommends the best fix per error type
# Step 1: Generate error-fix logs
python healing_planner.py
# Step 2: Learn best fixes from logs
python rl_planner.py