agentleFS
albertoclementealbertoclemente/agentic-design-patterns-skills/skills/agentic-learning-adaptation/SKILL.md

agentic-learning-adaptation

Skill4 starsChanged 5 months agoMITView on GitHub

The agent changes its behavior, knowledge, or strategy based on new experience and data — adaptation is the visible result of learning. Mechanisms span reinforcement, supervised, unsupervised, and few-/zero-shot learning, up to self-modifying systems. Use for agents in dynamic, uncertain, or evolving environments that need personalization, continuous improvement, or to handle novel situations autonomously.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No trustworthy feedback signal exists

    line 20
  2. Distinctive:

    No rollback when a change regresses quality

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Learning and Adaptation

Agentic Design Pattern 9 of 21 — distilled from Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems (Ch. 9).

What it is. Close a loop: capture outcomes and feedback, then update the agent's behavior — via few-shot examples, prompt/strategy changes, policies, or (for advanced systems) self-modification — so it improves over time.

Reach for this when

  • The agent operates in a dynamic, uncertain, or evolving environment
  • Pre-programmed logic degrades on situations not anticipated at design time
  • Personalization or continuous performance improvement is the goal
  • Reliable feedback signals are available to learn from

Don't reach for this when

  • One-off tasks with no repeat value
  • No trustworthy feedback signal exists
  • The learning loop costs more than it returns
  • Outcomes can't be measured

Shape of the solution

Capture outcomes and feedback, then update the appropriate lever — for API-consumer apps that usually means evolving few-shot examples, prompts, or routing/selection policies rather than weights. Evaluation is the substrate that confirms whether a change actually helped, and guards against drift.

Common failure modes

  • Reward hacking and gaming the signal
  • Drift over time
  • Learning from noisy or biased feedback
  • No rollback when a change regresses quality

Composes with

  • agentic-memory-management — store the experience to learn from
  • agentic-evaluation-monitoring — verify learning helps
  • agentic-reflection — in-loop self-correction
  • agentic-exploration-discovery — gather new experience

Selection signals live in this skill's description (used for auto-triggering). To choose among all 21 patterns, see agentic-pattern-selector. Conceptual source: Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems, Ch. 9 — original distillation from the text, not reproduced prose, code, or figures.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.