Automation

Agent Learning Loop

Track task outcomes, accumulate experience, and improve execution over time. Turns every task into a learning opportunity.

Buy Now — $4.99

One-time purchase · Instant download · Yours forever

Agent Learning Loop

Track task outcomes, accumulate experience, and improve execution over time. Turns every task into a learning opportunity.

Commands

Run via: python3 scripts/agent-learning-loop.py [options]

Core Commands

Options

How It Works

1. Record Phase

After each significant task, record what was done and how it went:


agent-learning-loop.py record \
  --task "Deploy Cloudflare Pages site" \
  --approach "wrangler pages deploy with --commit-dirty flag" \
  --outcome success \
  --duration 45 \
  --category ops

2. Pattern Recognition

The system clusters similar tasks and identifies:

3. Suggestion Phase

Before starting a familiar task, ask for the best approach:


agent-learning-loop.py suggest --task "Deploy website to Cloudflare"

Returns the highest-scoring approach with confidence level.

Data Storage

Pattern Matching

Tasks are matched using:

1. Keyword overlap — Shared significant words between task descriptions

2. Category match — Same category boosts match score

3. Outcome weighting — Recent successes weighted higher than old ones

4. Decay — Older entries contribute less (30-day half-life)

Cron Integration

Schedule a daily review to extract patterns:


agent-learning-loop.py review --days 1

References

Ready to get started?

One-time purchase. No subscription. Download instantly and use forever.

Buy Now — $4.99
Category: Automation Price: $4.99 USD Released: 2026-05-13 Skill ID: agent-learning-loop