Agent not available - switching agent in chat breaks conversations
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
1.0.0
Bug Description
Noticed that the switch had been changed to "Spec" while I was testing a skill. Chat then started failing saying the agent was no longer availabe after I switched to "Default" which I would have assumed would be able to use any other agent.
Switching back to "Spec" fixed that in the conversation, but like the model selection appears to be global across chats and windows which is a problem since I usually have several windows and chats running
Steps to Reproduce
- start a conversation to build a spec for a skill
- chat switches agent to "spec"
- Start a new chat, agent is also set to "spec"
- build the skill.
- Ask the agent to test a prompt
- Notice that all chats are set to "spec' - in this case I wanted to just vibe cod in a different chat on some unrelated folder
- Switch to "Default" in the vibe coding chat
- Notice the original chat is also "Default"
- Try to have it run another prompt, and see it repeatedly failing to launch an agent (no name shown)
- in this case it said it could just use bash, but I was really unclear about what agent was failing so I asked. Switching back to "Spec" and the run succeeded.
Expected Behavior
- Switching on one chat shouldn't impact another, especially across windows that are different workspaces
- Switch shouldn't cause chat to break the ability for it to use other agents, especially if it is set to "Default"
Conversation ID
No response
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
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 issues with agent/chat state being shared across multiple chats when they should be independent, and problems with chat responsiveness when switching between different conversations
not exactly a duplicate, but some similarities to that issue. This one is about:
- The chat not being able to launch the agent when the setting is flipped from "Spec" to "Default"
- The similarity is that the change in one chat impacts a different chat
- Also worth pointing out that this is global across windows, so if I want to work on a spec in one, and use some other agent in another, I can't or one of them will break.
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.
Thanks for reporting this and sorry for the trouble. You're running Kiro version 1.0.0, and we've shipped several patch releases since then with targeted fixes:
- 1.0.52 (Jul 2): Compaction fixes, session migration, permissions/MCP reliability
- 1.0.89 (Jul 3): Session restore, performance, hooks/steering fixes
- 1.0.116 (Jul 9): Hooks on agent writes, lazy MCP OAuth, connectivity fixes
- 1.0.138 (Jul 13): Compaction loop fix, PowerShell trust, MCP network recovery
Could you please retest on the latest version (1.0.138) from https://kiro.dev/downloads and let us know if this is still an issue? If we don't hear back within 7 days, we'll assume it's resolved and close this out.
This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.
If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.