Inspect and restore Skills
Each Skill keeps the history of its versions and the evidence that supports each version. Use these records to find why the agent follows a procedure, to find the change that made a Skill worse, and to restore an earlier procedure.
Compare two versions
Skill versions are immutable. A compiled Skill gets a new version when Zep learns a change from new Traces. A comparison lists the public fields that are different between two versions.
To read all versions, use client.agent.skill.version.list. To read one version, use client.agent.skill.version.get.
Restore an earlier version
A restore adds a copy of an earlier version as a new candidate. The restore does not move the current version back. The new candidate must pass admission before search returns the restored procedure.
The request needs the current version number of the Skill as expected_version. If another write added a version first, the API returns a conflict.
Export a Skill version
Call agent.skill.export.create(agent_uuid, skill_uuid, version) to export a Skill version. The call returns a Task. After the Task completes, call agent.skill.export.get(agent_uuid, skill_uuid, version, task_uuid) to download the ZIP archive.
Read the evidence of a Skill
The evidence of a compiled Skill links the Skill to the Traces that support the Skill. The evidence records do not contain the event content. Use the IDs to read the Trace, the event, or the summary.
The list contains the evidence of all versions of the Skill. To see the evidence that one version cites, call client.agent.skill.version.get with markdown_format="full".
The polarity value is supporting, contradicting, or neutral. The verification value is the verification strength of the Trace outcome.
When you correct or remove captured data, Zep repairs the affected Skills in the background.
Next steps
- Retire a Skill to remove the Skill from search.
- Share Agent Skills to copy a Skill to a different Agent.