docs: fix documentation issues #513
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses multiple documentation issues to improve accuracy and add missing security guidance.
Changes
Files Changed
README.mdlibs/deepagents/README.mdDetailed Changes
1 - Fix SubAgent.prompt → system_prompt naming
The README documentation used
promptas a SubAgent field name, but the actual code usessystem_prompt. Updated:prompttosystem_prompt2 - Document Windows O_NOFOLLOW limitation
Added documentation explaining that
O_NOFOLLOWsymlink protection is not available on Windows, with recommended mitigations:virtual_mode=True3 - Remove async_create_deep_agent mention
The README incorrectly suggested importing
async_create_deep_agent, which doesn't exist. Updated to correctly explain async usage viaainvoke()/astream().4 - Add execute tool security documentation
Added comprehensive "Security Considerations" section including: