Agent fails to use tools like writing files or running terminal commands
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
0.10.16
Bug Description
The main agent is not able to run terminal commands or write files. Complains it does not have access to these tools. I've sometimes managed to persuade the use of a subagent, which works. Also have managed to persuade them some tools exist, so this seems like a bug in the agent instructions or tooling.
Steps to Reproduce
- Start a conversation with the agent
- Ask the agent to create a file or run a simple command (git for example)
- Agent stalls out without comment or complains they don't have the right tool
Expected Behavior
Agent mormally is able to run commands in terminal and create files.
Conversation ID
27edae4d-807d-4d5e-a6db-0f899b48740f 27edae4d-807d-4d5e-a6db-0f899b48740f 27edae4d-807d-4d5e-a6db-0f899b48740f 27edae4d-807d-4d5e-a6db-0f899b48740f 27edae4d-807d-4d5e-a6db-0f899b48740f
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #5476: Weird issue about tools not available in chat session (95% similar)
- #5376: Bug Report: execute_bash Tool Blocking All Commands (85% similar)
- #4743: Trusted Commands is not working. (85% similar)
- #4011: Kiro chat agent cannot read output from commands (85% similar)
- #3883: Kiro can't run curl commands (85% similar)
- #4009: Command execution appears to succeed in UI but fails silently without recording in execution history (82% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report agents unable to use tools like file operations and bash commands, with tools returning 'not found' or 'not available' errors. Same core problem with tool access in chat sessions.
I am also facing ame issues
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
same issue here
Here's another example where the main agent says they don't have access to a bash tool
Here's another example when using the bugfix agent. I notice the issue seems more prominent when using the spec-driven workflows.
Hi @bjornhansell, Thank you for the report and the additional screenshots — they're very helpful in confirming the pattern we're seeing, particularly the insight that the issue seems more prominent with spec-driven workflows.
We're actively investigating this as a issue in version 0.10.16. To keep the investigation consolidated, we're closing this as a duplicate of #5940, where we're tracking all related reports.
@shweta12321, @tferrari92 — please follow #5940 for updates as well.
Your conversation IDs and the details shared here have all been noted and are being factored into the investigation. If you have additional context to share, please add it to #5940.
Thank you all for your patience.