Skip to content

feat(sdk): reload skills when sources change - #4616

Closed
Johannes du Plessis (johannes117) wants to merge 1 commit into
johannes117/sdk/prefixed-skill-sourcesfrom
johannes117/sdk/skill-source-version
Closed

feat(sdk): reload skills when sources change#4616
Johannes du Plessis (johannes117) wants to merge 1 commit into
johannes117/sdk/prefixed-skill-sourcesfrom
johannes117/sdk/skill-source-version

Conversation

@johannes117

Copy link
Copy Markdown
Contributor

Stacked on #4613.

Adds an optional source_version to SkillsMiddleware. The version is stored alongside private skill metadata so checkpointed agents reload skills when their configured source snapshot changes, while callers that omit it retain the existing load-once behavior.

Covers synchronous and asynchronous middleware paths. Validated with SDK lint/type checks and 126 focused skills tests.

Release note

SkillsMiddleware now supports an optional source_version that refreshes checkpointed skill metadata when configured skill sources change.

Track an optional source version in private middleware state so checkpointed agents refresh skill metadata when their configured sources change.
@github-actions github-actions Bot added deepagents Related to the `deepagents` SDK / agent harness feature New feature/enhancement or request for one internal User is a member of the `langchain-ai` GitHub organization size: S 50-199 LOC labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents Related to the `deepagents` SDK / agent harness feature New feature/enhancement or request for one internal User is a member of the `langchain-ai` GitHub organization size: S 50-199 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant