Skip to content

Conversation

@Deepam02
Copy link
Contributor

@Deepam02 Deepam02 commented Dec 1, 2025

Fixes #282

Implements automatic configuration reloading when agent YAML files change on disk.

What's included:

  • File watching with fsnotify and 500ms debounce for multiple rapid writes
  • Validates new config before applying (falls back on error)
  • Reloads instruction, description, and commands properties
  • TUI notifications for reload events (started/success/failure)

What's NOT included:

  • reloading Model or toolset changes

@Deepam02 Deepam02 requested a review from a team as a code owner December 1, 2025 17:25
@Deepam02
Copy link
Contributor Author

Deepam02 commented Dec 1, 2025

Are there any other agent fields which should be included in this PR?

Model and toolset reloading looks more complex, since it needs proper lifecycle handling and cleanup. Should that be done as a separate PR? I can take that up if it makes sense.

@jeanlaurent
Copy link
Member

That's cool ! This allow agents self updating themselves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Hot-reload YAML configuration changes

2 participants