Automatically detects errors, researches solutions, executes improvements, and measures impact while remembering effective procedures for continuous self-imp...
Self-improving agent system that learns from its own errors. Automatically detects issues, researches solutions, and implements improvements.
Based on production-ready patterns: Reflection, PEV (Plan-Execute-Verify), and Meta-Controller architectures.
Errors → Auto-Trigger → Topic Selector → Research → Backlog → Agent PM
↓ ↓
Impact Measurement ← Procedural Memory
python3 skills/self-improving-agent/scripts/self_improvement_cycle.py
python3 skills/self-improving-agent/scripts/topic_selector.py
python3 skills/self-improving-agent/scripts/impact_measurement.py \
--record \
--task "Fix cron timeout" \
--before '{"error_count": 5}' \
--after '{"error_count": 0}'
python3 skills/self-improving-agent/scripts/procedural_memory.py --search "backup"
Add to your cron jobs:
{
"name": "Self-Improvement",
"schedule": "0 10 * * *",
"command": "python3 skills/self-improving-agent/scripts/self_improvement_cycle.py"
}
scripts/auto_trigger.py - Auto-triggers on new errorsscripts/impact_measurement.py - Measures improvement impactscripts/procedural_memory.py - Stores working proceduresscripts/self_improvement_cycle.py - Main orchestratorscripts/topic_selector.py - Selects topics by priorityZIP package — ready to use