generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
Many users working on code automation and refactoring scenarios rely on semantic code understanding to manage complex edits safely. Without a semantic code editor tool, strands agents cannot:
- parse code structure semantically
- perform safe refactoring operations that preserve syntax
- validate edits with integrated linting before applying changes
- generate precise diffs that target specific code constructs
Proposed Solution
Introduce code_editor
tool in strands.tools package, powered by tree-sitter and integrated linters
Use Case
This will really help improve code refactoring workflow accuracy and reliability by preventing syntax breakage.
Alternatives Solutions
Using existing editor tool with manual validation, less safe and requires post-edit error checking
Additional Context
I'm happy to contribute to this implementation
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request