# Let agents learn from their traces, but keep a human on every skill

> A 63-minute DeepLearning.AI course teaches how to turn agent traces into reusable skills, but the lesson worth keeping is how to review them.

Original: https://fdetimes.net/en/books-courses/agent-skills-from-traces-human-review/

The most memorable line in the behavior lesson of *Building Adaptive AI Agents* is not about the model. It is about people: the review step is the gate that stops a poisoned trace from becoming agent behavior. The course teaches agents to improve themselves, and what it really teaches is how to keep that self-improvement under control.

For a forward deployed engineer, this is a problem for next week rather than next year. An agent you put into a client's systems will run hundreds of times, leave traces behind, and sooner or later someone will ask why it does not learn from those runs.

The course answers that question in under two hours, with a warning worth carrying into every deployment.

## A short course, three layers of adaptation

The course is taught on DeepLearning.AI by Nacho Martínez, Data Scientist Advocate, and Casius Lee, AI Developer Advocate, both at Oracle. The course page lists an update date of August 27, 2026, a running time of 1 hour 3 minutes and an Intermediate level. It is aimed at people building agents who want those agents to improve from their own experience.

The core is the behavior layer: turning traces into reusable skills, with a human reviewing each one. The course also covers adaptation at the knowledge layer, through a code knowledge graph, and at the model layer. Those two give the wider picture; the behavior layer is the part you can take away and use immediately.

## From trace to skill.md: one full loop

According to the opening lesson, every agent run leaves a trace made up of conversation, tool calls, decisions, errors and fixes. Learners build a skill induction pipeline that turns the recurring experiences in those traces into skills.

An Induction Engine uses an LLM to read the raw traces, see what the agent tried, where it failed and what finally worked, and then drafts a short procedure as a skill.md file.

The notebook example is mundane: running a project's test suite. The draft goes to a reviewer, who can reject it with a reason so the engine proposes a better version. Skills are versioned: once approved, the improved version becomes active in the skillbox and replaces the previous one.

Take a client deployment where the agent repeatedly fails to run the tests, then "solves" the problem by skipping the flaky ones. If the Induction Engine distills that habit into a skill and you approve it in a hurry, every later test run will quietly skip the very tests that most need to run.

The course is explicit about the mechanism behind this risk. An approved skill is retrieved for every matching task afterwards, so a bad skill that slips through makes the agent repeat the error every time, and the damage compounds. An error in one run is an incident. An error inside a skill becomes policy.

## What to look for when reviewing a skill.md

A minimal checklist has four questions. Which tasks does this skill apply to, and which does it not? Which traces was it distilled from, and are there enough runs to call it a recurring lesson?

Third: does any step skip a check, delete data or touch the client's systems? Fourth: has the skill been tested on a task outside its source traces?

For the test-skipping skill above, the third question alone is enough to reject it. Write the reason concretely, for example "do not skip tests; log the failing tests and notify the owner", so the engine has a direction for a better draft instead of guessing.

## What the evidence says about self-generated skills

Research outside the course supports that caution. Huang et al. (arXiv 2605.23899) found that model-generated skills help on average, yet in a fair number of cases they drag results down, a phenomenon the authors call negative transfer. On some tasks the agent does worse precisely because it has a skill.

Version 1 of SkillsBench was harsher: self-generated skills brought no average benefit, coming in 1.3 percentage points below having no skill at all. The test conditions matter, though.

There, the agent was asked to write its own procedural knowledge before solving the task, not to distill it from traces of past runs, so the result does not directly refute the course's approach.

The current version of SkillsBench shows the positive side: curated skills raise the average pass rate from 33.9% to 50.5%.

That experiment does not measure skills written by a model and then reviewed by a human, as in the course, but the two results point the same way: carefully selected skills help an agent, while skills left to the model to write may not.

**Key point:** A skill an agent generates for itself is only trustworthy when someone is accountable for reviewing it.

## Who should take it, and in what order

You should be comfortable with Python to get the most from the labs. Quizzes and some other features are part of DeepLearning.AI Pro. If you have already built an agent that calls tools, you have enough background to go straight to the behavior lesson and come back to the knowledge and model layers later.

Mind the vendor angle: the hands-on work uses Oracle Agent Memory to store traces and LangGraph Oracle DB to run the skill induction loop. Your clients may run a different stack, so learn the loop rather than memorizing the API.

After the course, read Trace2Skill (Ni et al., arXiv 2603.25158), which consolidates parallel execution trajectories into a single unified skill directory, to see the problem at a larger scale.

## Three ideas to take away

First, traces are an asset. Conversations, tool calls, errors and fixes are the raw material that lets an agent get better, so store them in enough detail from the first day of a deployment.

Second, skills must be versioned. In the course, a new version replaces the old one only after it is approved.

Third, and most important, the reviewer is a real role, with a checklist and the authority to reject with a reason. In interviews for FDE roles that involve agents, describe the review gate you built and a skill you rejected; it shows you understand the risk as well as the demo.

When a client asks why the agent does not learn on its own, the best answer comes with a question of your own, prepared in advance: who will review what the agent just learned?

**Try this week:**

- Take the traces of an agent you are running, pick a task that recurs, and write a short skill.md by hand: when it applies, the steps, and the errors encountered.
- Apply the four-question checklist from this article to a draft skill, then try rejecting it with a specific reason.
- Add a line to your CV describing the mechanism you use to control an agent's self-learning behavior, and how you measured before and after.

## Sources

- [Building Adaptive AI Agents - DeepLearning.AI](https://www.deeplearning.ai/courses/building-adaptive-ai-agents)

- [Building Adaptive AI Agents - DeepLearning.AI (Introduction)](https://learn.deeplearning.ai/courses/building-adaptive-ai-agents/lesson/bvlakh/introduction)

- [Building Adaptive AI Agents - Behavior Adaptation: Trajectory-to-Skill Learning](https://learn.deeplearning.ai/courses/building-adaptive-ai-agents/lesson/9i82mn/behavior-adaptation%3A-trajectory-to-skill-learning)

- [From Raw Experience to Skill Consumption: A Systematic Study of Model-Generated Agent Skills](https://arxiv.org/abs/2605.23899)

- [SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks](https://arxiv.org/html/2602.12670v1)

- [SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks](https://arxiv.org/abs/2602.12670)

- [Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skills](https://arxiv.org/abs/2603.25158)
