Real-Time Procedural Learning From Experience for AI Agents