Skip to content

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
dbschmigelski pushed a commit to dbavro19/sdk-python that referenced this pull request Aug 28, 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