Server-side experiment flags silently change the Default agent, its tool set and tool loading (no notice, no opt-out, applied mid-session)
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows 11
Kiro Version
1.4.215 (IDE, user install). Log evidence spans 1.4.178 (16.11) and 1.4.215 (from 17.11).
Bug Description
Related issues and how this differs
- #11836 (fs_write missing after the intent classifier switches the session to quick-spec): that one is a per-prompt mode switch by the intent classifier. This issue is a server-side experiment flag that changes the default agent for every session of the account, and it was applied without any prompt or restart.
- #11150 (custom agents invoked as sub-agents receive no operational tools): sub-agent invocation. This issue is about the top-level Default agent.
- #11729 and #12112 (CLI default agent naming): CLI. This issue is IDE.
Summary. Server-side experiment flags change which agent runs my sessions and which tools it has, with no notice in the UI, no changelog entry, no setting to opt out, and (for one of the changes) no restart. The visible result is that a working setup stops working in the middle of the day and the only way to find out why is to read kiro.log.
What I observed (all from %APPDATA%\Kiro\logs\...\kiro.kiroAgent\Kiro Logs.log)
[KiroAgent] Active experiments changed shows the flag set my account received:
| Time (local) | Flags | Same Kiro process? |
|---|---|---|
| 2026-11-02 to 2026-11-12 | create_response_api=create_response |
|
| 2026-11-16 10:08 | adds consolidate_disclosures=true |
Yes, same log session that started on 2026-11-12. No restart, no update |
| 2026-11-16 16:24 | adds vibe_to_default_v2_routing_enabled=true |
After a restart |
| 2026-11-17 09:06 | adds memory_quality_external_enabled=true |
Yes, mid-session |
The set is also cleared and re-applied about once an hour (activeExperiments: "" followed one second later by the full set), so the state is re-fetched all the time.
Effects I could verify:
consolidate_disclosures=true: the tooltool_loaddisappeared. Tools are now loaded withload_resourceand executed withtool_call, and several built-in tools (control_pwsh_process,get_process_output,list_processes) became deferred. Existing rules and prompts that refer totool_loadstopped working.vibe_to_default_v2_routing_enabled=true: the dispatch log shows"armSource":"experiment","agentMode":"default-v2","backendModeIdentifier":"default-v2", while the chat shows the agent as Default and the stored session saysvibe. In the same session some lines show"agentMode":"vibe"and others"agentMode":"default-v2"with the samebackendModeIdentifier.- The default-v2 agent definition packaged in the extension has a smaller tool list. In my sessions
grep_search,file_search,list_directory,delete_fileandfs_appendwere no longer available, and the agent worked around it with shell commands without telling me.
Impact. Rules that told the agent to use grep_search could no longer be followed. Nothing failed with an error. The agent switched to shell commands, which on a managed Windows machine (AppLocker, ConstrainedLanguage, Defender for Endpoint) are slower, trigger approval prompts, and are less reliable. I spent a lot of time working out that the cause was an experiment flag and not my own configuration, a hook, or a version update.
Steps to Reproduce
This is server-side, so it cannot be triggered on demand. To verify on an affected account:
- Open
%APPDATA%\Kiro\logs\<latest>\window1\exthost\kiro.kiroAgent\Kiro Logs.log. - Search for
Active experiments changedand check whether the set containsvibe_to_default_v2_routing_enabled=trueorconsolidate_disclosures=true. - Search for
q.converse.dispatchand checkarmSource,agentModeandbackendModeIdentifier. - In a new chat with the Default agent, ask the agent to list the tools it has. Compare with the tool list of the Default agent before the flag was applied.
Not verified: whether other accounts are affected, whether the Experiments view in the IDE lists these server-side flags, and whether the smaller tool list of default-v2 is intended.
Expected Behavior
- Tell the user. When an experiment changes the agent, the tool set or the way tools are loaded, show a notice in the chat or the status bar (for example "Your Default agent now runs on default-v2. Removed tools: ..."). The log line already exists, it only needs to reach the UI.
- Let the user opt out. A user setting or an account-level toggle to stay on the stable agent and the stable tool loading.
- No silent loss of tools. An experiment arm should not remove tools that the stable Default agent has. If a tool is removed on purpose, the agent should be told so it can say so, instead of substituting shell commands.
- No change mid-session without restart for anything that changes tool names. Renaming
tool_loadtoload_resourcein a running window breaks every prompt and steering rule that uses the old name. - Show the real agent. The UI,
session.jsonand the dispatch log should agree on the agent mode (vibevsdefault-v2). - Changelog. List flag-controlled changes in the release notes or a status page, with the flag name, so users can match a behavior change to a cause.
Conversation ID
No response
Additional Context
Workaround that works for me: a custom agent with tools: ["*"] (MCP and Powers enabled). The custom agent is not affected by the routing flag and has all tools. It has to be selected in every new session, because there is no setting for a default agent.
Thanks for the thorough write-up on this! The detailed logs and timeline really help illustrate how server-side experiment flags are silently altering agent behavior and tooling without any user-facing notice or opt-out. A maintainer will review this shortly to evaluate next steps. We really appreciate you taking the time to document this so carefully — it's exactly the kind of detailed feedback that helps make Kiro better! 🙏
Thanks for raising this, and for the detailed log timeline. Changes to which agent runs your sessions, and which tools it has, should not happen silently or in the middle of a session. At minimum they should be visible, and they should not break a working setup without notice. Marking this as a bug to investigate further.