Skip to content

docs: add hot reloading documentation for load_tools_from_directory #517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cagataycali
Copy link
Member

Summary

This PR adds documentation for the hot reloading functionality that enables automatic tool loading and reloading from the ./tools/ directory.

Changes

  • Added Hot Reloading from Directory section to README.md
  • Documents the Agent(load_tools_from_directory=True) parameter
  • Includes practical code example for developers
  • Improves discoverability of this useful development feature

Context

The hot reloading functionality was already implemented via the load_tools_from_directory=True parameter in the Agent constructor, but wasn't featured in the README. This capability significantly improves developer experience by enabling:

  • ✨ Automatic tool discovery from ./tools/ directory
  • 🔄 Hot reloading when tools are modified
  • 🚀 Faster development iteration without agent restarts

Testing

  • Documentation builds correctly
  • Code examples are valid Python syntax
  • Pre-commit hooks pass

Type of Change

  • Documentation update
  • Bug fix
  • New feature
  • Breaking change

…ectory

- Add new section showcasing Agent(load_tools_from_directory=True) functionality
- Document automatic tool loading and reloading from ./tools/ directory
- Include practical code example for developers
- Improve discoverability of this development feature
@cagataycali cagataycali merged commit 040ba21 into strands-agents:main Jul 22, 2025
11 of 12 checks passed
@cagataycali cagataycali deleted the feature/add-hot-reloading-docs branch July 22, 2025 19:52
dbschmigelski pushed a commit to Ketansuhaas/sdk-python that referenced this pull request Jul 24, 2025
…ectory (strands-agents#517)

- Add new section showcasing Agent(load_tools_from_directory=True) functionality
- Document automatic tool loading and reloading from ./tools/ directory
- Include practical code example for developers
- Improve discoverability of this development feature
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.

2 participants